From 4786c30bce3e9f3cd9805a1b9590d87e69652659 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Sat, 7 Jun 2014 17:27:02 +0200 Subject: [PATCH] Reinstate IDLCallbackType.module. --- src/components/script/dom/bindings/codegen/parser/WebIDL.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/script/dom/bindings/codegen/parser/WebIDL.py b/src/components/script/dom/bindings/codegen/parser/WebIDL.py index 7fcea9719ad..4d39f54159c 100644 --- a/src/components/script/dom/bindings/codegen/parser/WebIDL.py +++ b/src/components/script/dom/bindings/codegen/parser/WebIDL.py @@ -3048,6 +3048,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