forked from mirrors/gecko-dev
Cc @michaelwu. Source-Repo: https://github.com/servo/servo Source-Revision: d5ee58caf269779e86b2efc50ddf37d3e4eba9b9
12 lines
616 B
Diff
12 lines
616 B
Diff
--- WebIDL.py
|
|
+++ WebIDL.py
|
|
@@ -1357,7 +1357,8 @@ class IDLInterface(IDLObjectWithScope, IDLExposureMixins):
|
|
identifier == "ChromeOnly" or
|
|
identifier == "Unforgeable" or
|
|
identifier == "UnsafeInPrerendering" or
|
|
- identifier == "LegacyEventInit"):
|
|
+ identifier == "LegacyEventInit" or
|
|
+ identifier == "Abstract"):
|
|
# Known extended attributes that do not take values
|
|
if not attr.noArguments():
|
|
raise WebIDLError("[%s] must take no arguments" % identifier,
|