Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 1758345

Browse files
Bug 1697873 - Remove __content special-case from WebIDL parser. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D108063
1 parent 9a22a56 commit 1758345

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎dom/bindings/parser/WebIDL.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def __init__(
386386
if name == "__noSuchMethod__":
387387
raise WebIDLError("__noSuchMethod__ is deprecated", [location])
388388

389-
if name[:2] == "__" and name != "__content" and not allowDoubleUnderscore:
389+
if name[:2] == "__" and not allowDoubleUnderscore:
390390
raise WebIDLError("Identifiers beginning with __ are reserved", [location])
391391
if name[0] == "_" and not allowDoubleUnderscore:
392392
name = name[1:]

0 commit comments

Comments
 (0)