aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/abstract.patch
blob: cf4c89b84d0b4d7a7f19a87d9da201265c09b452 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- WebIDL.py
+++ WebIDL.py
@@ -1744,7 +1744,8 @@
                   identifier == "LegacyUnenumerableNamedProperties" or
                   identifier == "RunConstructorInCallerCompartment" or
                   identifier == "WantsEventListenerHooks" or
-                  identifier == "NonOrdinaryGetPrototypeOf"):
+                  identifier == "NonOrdinaryGetPrototypeOf" or
+                  identifier == "Abstract"):
                 # Known extended attributes that do not take values
                 if not attr.noArguments():
                     raise WebIDLError("[%s] must take no arguments" % identifier,