diff options
author | sagudev <16504129+sagudev@users.noreply.github.com> | 2023-02-19 13:35:58 +0100 |
---|---|---|
committer | sagudev <16504129+sagudev@users.noreply.github.com> | 2023-02-19 13:35:58 +0100 |
commit | 6f563830d12586439380dedc8f58cf1af6f9b81a (patch) | |
tree | b6ab139da85b163edb4a332983cb9c7eae35e07f /components/script/dom/bindings/codegen/parser/inline.patch | |
parent | 8e300ca5bd6ca159992750ca3f5b281123c045f1 (diff) | |
download | servo-6f563830d12586439380dedc8f58cf1af6f9b81a.tar.gz servo-6f563830d12586439380dedc8f58cf1af6f9b81a.zip |
Fix WebIDL.py patches
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/inline.patch')
-rw-r--r-- | components/script/dom/bindings/codegen/parser/inline.patch | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/components/script/dom/bindings/codegen/parser/inline.patch b/components/script/dom/bindings/codegen/parser/inline.patch index 46971ce5067..ad4d0f8f959 100644 --- a/components/script/dom/bindings/codegen/parser/inline.patch +++ b/components/script/dom/bindings/codegen/parser/inline.patch @@ -1,12 +1,10 @@ --- WebIDL.py +++ WebIDL.py -@@ -1884,7 +1884,8 @@ class IDLInterface(IDLInterfaceOrNamespace): - identifier == "RunConstructorInCallerCompartment" or - identifier == "WantsEventListenerHooks" or - identifier == "Serializable" or -- identifier == "Abstract"): -+ identifier == "Abstract" or -+ identifier == "Inline"): +@@ -1988,6 +1988,7 @@ class IDLInterface(IDLInterfaceOrNamespace): + or identifier == "WantsEventListenerHooks" + or identifier == "Serializable" + or 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, |