Bug 946564 part 2. Make window._content chromeonly and define it in WebIDL. r=peterv

This commit is contained in:
Boris Zbarsky
2013-12-09 10:34:04 -05:00
parent 15ba3e1773
commit 00353248ce
10 changed files with 13 additions and 79 deletions

View File

@@ -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: