aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/external.patch
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/external.patch')
-rw-r--r--components/script/dom/bindings/codegen/parser/external.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/script/dom/bindings/codegen/parser/external.patch b/components/script/dom/bindings/codegen/parser/external.patch
index 9464511a9d0..964a6d8774a 100644
--- a/components/script/dom/bindings/codegen/parser/external.patch
+++ b/components/script/dom/bindings/codegen/parser/external.patch
@@ -1,16 +1,18 @@
--- WebIDL.py
+++ WebIDL.py
-@@ -450,44 +450,8 @@ class IDLIdentifierPlaceholder(IDLObjectWithIdentifier):
+@@ -505,46 +505,8 @@ class IDLExposureMixins():
- class IDLExternalInterface(IDLObjectWithIdentifier):
+ class IDLExternalInterface(IDLObjectWithIdentifier, IDLExposureMixins):
def __init__(self, location, parentScope, identifier):
- assert isinstance(identifier, IDLUnresolvedIdentifier)
- assert isinstance(parentScope, IDLScope)
- self.parent = None
- IDLObjectWithIdentifier.__init__(self, location, parentScope, identifier)
+- IDLExposureMixins.__init__(self, location)
- IDLObjectWithIdentifier.resolve(self, parentScope)
-
- def finish(self, scope):
+- IDLExposureMixins.finish(self, scope)
- pass
-
- def validate(self):