From 06947965b1635c4f5ff2aebcf5dfef35c6e95f23 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Fri, 16 Oct 2015 23:21:29 +0200 Subject: 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. --- .../dom/bindings/codegen/parser/module.patch | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 components/script/dom/bindings/codegen/parser/module.patch (limited to 'components/script/dom/bindings/codegen/parser/module.patch') diff --git a/components/script/dom/bindings/codegen/parser/module.patch b/components/script/dom/bindings/codegen/parser/module.patch deleted file mode 100644 index aaec7c61b7e..00000000000 --- a/components/script/dom/bindings/codegen/parser/module.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- WebIDL.py -+++ WebIDL.py -@@ -1506,6 +1506,9 @@ class IDLDictionary(IDLObjectWithScope): - self.identifier.name, - [member.location] + locations) - -+ def module(self): -+ return self.location.filename().split('/')[-1].split('.webidl')[0] + 'Binding' -+ - def addExtendedAttributes(self, attrs): - assert len(attrs) == 0 - -@@ -3574,6 +3577,9 @@ class IDLCallbackType(IDLType, IDLObjectWithScope): - self._treatNonCallableAsNull = False - self._treatNonObjectAsNull = False - -+ def module(self): -+ return self.location.filename().split('/')[-1].split('.webidl')[0] + 'Binding' -+ - def isCallback(self): - return True - -- cgit v1.2.3