aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/abstract.patch
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2019-07-11 13:16:10 +0900
committerKagami Sascha Rosylight <saschanaz@outlook.com>2019-07-12 12:14:06 +0900
commit56f31c85ef9cc79140f375641302310c6680ded4 (patch)
treefc0616a5f5d1df4434e9974e5bc62db2389ffcef /components/script/dom/bindings/codegen/parser/abstract.patch
parent5fdc7c0d2c787ef562809072e3dd7c3258dc8a83 (diff)
downloadservo-56f31c85ef9cc79140f375641302310c6680ded4.tar.gz
servo-56f31c85ef9cc79140f375641302310c6680ded4.zip
Sync WebIDL.py with gecko
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/abstract.patch')
-rw-r--r--components/script/dom/bindings/codegen/parser/abstract.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/bindings/codegen/parser/abstract.patch b/components/script/dom/bindings/codegen/parser/abstract.patch
index 8e6c272b2c5..e2db398a051 100644
--- a/components/script/dom/bindings/codegen/parser/abstract.patch
+++ b/components/script/dom/bindings/codegen/parser/abstract.patch
@@ -1,12 +1,12 @@
--- WebIDL.py
+++ WebIDL.py
-@@ -1786,7 +1786,8 @@ class IDLInterface(IDLInterfaceOrNamespace):
- identifier == "ProbablyShortLivingWrapper" or
+@@ -1768,7 +1768,8 @@ class IDLInterface(IDLInterfaceOrNamespace):
identifier == "LegacyUnenumerableNamedProperties" or
identifier == "RunConstructorInCallerCompartment" or
-- identifier == "WantsEventListenerHooks"):
-+ identifier == "WantsEventListenerHooks" 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, \ No newline at end of file
+ raise WebIDLError("[%s] must take no arguments" % identifier,