Update webidl.py from upstream

This commit is contained in:
Manish Goregaokar 2019-02-25 11:48:45 +05:30
parent 427003210b
commit 8f5db8a7e1
12 changed files with 201 additions and 76 deletions

View file

@ -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,