fune/servo/components/script/dom/bindings/codegen/parser/abstract.patch
Anthony Ramine 4739ce15d5 servo: Merge #13044 - Update the WebIDL parser (from nox:webidl); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 2ad6a7e612ea627cd90ecc3a120b3fc2bfdafa64
2016-08-26 05:26:19 -05:00

12 lines
609 B
Diff

--- WebIDL.py
+++ WebIDL.py
@@ -1416,7 +1416,8 @@
identifier == "LegacyEventInit" or
identifier == "ProbablyShortLivingObject" or
identifier == "LegacyUnenumerableNamedProperties" 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,