diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-10-16 23:21:29 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-12-15 23:06:35 +0100 |
commit | 06947965b1635c4f5ff2aebcf5dfef35c6e95f23 (patch) | |
tree | 0872856caab3d7528875d7a61f87d5bf6277482a /components/script/dom/bindings/codegen/parser/external.patch | |
parent | 432087c0ea6a5a419273b448eec62eb7549ba242 (diff) | |
download | servo-06947965b1635c4f5ff2aebcf5dfef35c6e95f23.tar.gz servo-06947965b1635c4f5ff2aebcf5dfef35c6e95f23.zip |
Remove all our local patches to the WebIDL parser
All the tweaks we need can just be made through Configuration.py, and
[Abstract] is being submitted upstream by Ms2ger.
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/external.patch')
-rw-r--r-- | components/script/dom/bindings/codegen/parser/external.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/components/script/dom/bindings/codegen/parser/external.patch b/components/script/dom/bindings/codegen/parser/external.patch deleted file mode 100644 index 964a6d8774a..00000000000 --- a/components/script/dom/bindings/codegen/parser/external.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- WebIDL.py -+++ WebIDL.py -@@ -505,46 +505,8 @@ class IDLExposureMixins(): - - 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): -- pass -- -- def isExternal(self): -- return True -- -- def isInterface(self): -- return True -- -- def isConsequential(self): -- return False -- -- def addExtendedAttributes(self, attrs): -- assert len(attrs) == 0 -- -- def resolve(self, parentScope): -- pass -- -- def getJSImplementation(self): -- return None -- -- def isJSImplemented(self): -- return False -- -- def getNavigatorProperty(self): -- return None -- -- def _getDependentObjects(self): -- return set() -+ raise WebIDLError("Servo does not support external interfaces.", -+ [self.location]) - - class IDLPartialInterface(IDLObject): - def __init__(self, location, name, members, nonPartialInterface): |