servo/components/script/dom/bindings/codegen/parser/inline.patch
Kagami Sascha Rosylight 56f31c85ef Sync WebIDL.py with gecko
2019-07-12 12:14:06 +09:00

12 lines
613 B
Diff

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