aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/abstract.patch
diff options
context:
space:
mode:
authorsagudev <16504129+sagudev@users.noreply.github.com>2023-02-19 13:35:58 +0100
committersagudev <16504129+sagudev@users.noreply.github.com>2023-02-19 13:35:58 +0100
commit6f563830d12586439380dedc8f58cf1af6f9b81a (patch)
treeb6ab139da85b163edb4a332983cb9c7eae35e07f /components/script/dom/bindings/codegen/parser/abstract.patch
parent8e300ca5bd6ca159992750ca3f5b281123c045f1 (diff)
downloadservo-6f563830d12586439380dedc8f58cf1af6f9b81a.tar.gz
servo-6f563830d12586439380dedc8f58cf1af6f9b81a.zip
Fix WebIDL.py patches
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/abstract.patch')
-rw-r--r--components/script/dom/bindings/codegen/parser/abstract.patch14
1 files changed, 6 insertions, 8 deletions
diff --git a/components/script/dom/bindings/codegen/parser/abstract.patch b/components/script/dom/bindings/codegen/parser/abstract.patch
index 180e345b61b..316ed8ce0a1 100644
--- a/components/script/dom/bindings/codegen/parser/abstract.patch
+++ b/components/script/dom/bindings/codegen/parser/abstract.patch
@@ -1,12 +1,10 @@
--- 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"):
+@@ -1987,6 +1987,7 @@ class IDLInterface(IDLInterfaceOrNamespace):
+ or identifier == "RunConstructorInCallerCompartment"
+ or identifier == "WantsEventListenerHooks"
+ or 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,