Bug 946564 part 2. Make window._content chromeonly and define it in WebIDL. r=peterv
This commit is contained in:
@@ -315,7 +315,7 @@ class IDLUnresolvedIdentifier(IDLObject):
|
||||
|
||||
assert len(name) > 0
|
||||
|
||||
if name[:2] == "__" and not allowDoubleUnderscore:
|
||||
if name[:2] == "__" and name != "__content" and not allowDoubleUnderscore:
|
||||
raise WebIDLError("Identifiers beginning with __ are reserved",
|
||||
[location])
|
||||
if name[0] == '_' and not allowDoubleUnderscore:
|
||||
|
||||
Reference in New Issue
Block a user