aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/external.patch
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-03-13 14:30:49 -0600
committerbors-servo <metajack+bors@gmail.com>2015-03-13 14:30:49 -0600
commit19cd87aefc24fa153fa013b5f96ae46de9a427fd (patch)
treecd851e0b8b82b7889bb1417604d9936f95fcc461 /components/script/dom/bindings/codegen/parser/external.patch
parent2382d71242b1f9fe6385b64436f3b18f8f0939bb (diff)
parent2345f5461bf847fa0d7840fde04da13df4a36d51 (diff)
downloadservo-19cd87aefc24fa153fa013b5f96ae46de9a427fd.tar.gz
servo-19cd87aefc24fa153fa013b5f96ae46de9a427fd.zip
auto merge of #5208 : Ms2ger/servo/USVString, r=jdm
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):