mirror of
https://github.com/servo/servo
synced 2026-04-30 03:17:15 +02:00
Update webidl.py from upstream
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
--- WebIDL.py
|
||||
+++ WebIDL.py
|
||||
@@ -1744,7 +1744,8 @@
|
||||
@@ -1786,7 +1786,8 @@ class IDLInterface(IDLInterfaceOrNamespace):
|
||||
identifier == "ProbablyShortLivingWrapper" or
|
||||
identifier == "LegacyUnenumerableNamedProperties" or
|
||||
identifier == "RunConstructorInCallerCompartment" or
|
||||
identifier == "WantsEventListenerHooks" or
|
||||
- identifier == "NonOrdinaryGetPrototypeOf"):
|
||||
+ identifier == "NonOrdinaryGetPrototypeOf" or
|
||||
- identifier == "WantsEventListenerHooks"):
|
||||
+ identifier == "WantsEventListenerHooks" or
|
||||
+ identifier == "Abstract"):
|
||||
# Known extended attributes that do not take values
|
||||
if not attr.noArguments():
|
||||
raise WebIDLError("[%s] must take no arguments" % identifier,
|
||||
raise WebIDLError("[%s] must take no arguments" % identifier,
|
||||
Reference in New Issue
Block a user