servo/components/script/dom/bindings/codegen/parser/abstract.patch
Kagami Sascha Rosylight 1806b9ede2 Update WebIDL parser
2019-08-16 23:17:50 +09:00

12 lines
644 B
Diff

--- WebIDL.py
+++ WebIDL.py
@@ -1883,7 +1883,8 @@ class IDLInterface(IDLInterfaceOrNamespace):
identifier == "LegacyUnenumerableNamedProperties" or
identifier == "RunConstructorInCallerCompartment" or
identifier == "WantsEventListenerHooks" or
- identifier == "Serializable"):
+ identifier == "Serializable" or
+ identifier == "Abstract"):
# Known extended attributes that do not take values
if not attr.noArguments():
raise WebIDLError("[%s] must take no arguments" % identifier,