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