forked from mirrors/gecko-dev
I updated the `WebIDL.py` from latest mozilla-central. And add a `./mach test-webidl` command. For #9397 Source-Repo: https://github.com/servo/servo Source-Revision: 0ada7f9c8eda9879b5536cea3266c94214f9ce9b
12 lines
582 B
Diff
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,
|