servo/components/script/dom/bindings/codegen/parser/abstract.patch
2016-01-29 21:12:21 +08:00

12 lines
582 B
Diff

--- 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,