forked from mirrors/gecko-dev
Globals in that PR are now represented by the fake IDL interface `GlobalScope`. Source-Repo: https://github.com/servo/servo Source-Revision: a6e4b5bb86ad707a0863acff87344ca4239cfd2c --HG-- rename : servo/components/script/dom/webidls/ServoXMLParser.webidl => servo/components/script/dom/webidls/GlobalScope.webidl
12 lines
No EOL
627 B
Diff
12 lines
No EOL
627 B
Diff
--- WebIDL.py
|
|
+++ WebIDL.py
|
|
@@ -1695,7 +1695,8 @@ class IDLInterface(IDLInterfaceOrNamespace):
|
|
identifier == "ProbablyShortLivingObject" or
|
|
identifier == "LegacyUnenumerableNamedProperties" or
|
|
identifier == "NonOrdinaryGetPrototypeOf" or
|
|
- identifier == "Abstract"):
|
|
+ identifier == "Abstract" or
|
|
+ identifier == "Inline"):
|
|
# Known extended attributes that do not take values
|
|
if not attr.noArguments():
|
|
raise WebIDLError("[%s] must take no arguments" % identifier,
|