From d461262405813f0721f9dbb2ff57b9f82e5f9b65 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 19 Dec 2019 03:05:45 +0100 Subject: Issue #1322 - Part 3: Remove DOM promise interface gunk Based on work by Boris Zbarsky --- dom/bindings/Configuration.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'dom/bindings/Configuration.py') diff --git a/dom/bindings/Configuration.py b/dom/bindings/Configuration.py index f80c19c33..a56f2f2fd 100644 --- a/dom/bindings/Configuration.py +++ b/dom/bindings/Configuration.py @@ -468,13 +468,6 @@ class Descriptor(DescriptorProvider): self.wrapperCache = (not self.interface.isCallback() and not self.interface.isIteratorInterface() and desc.get('wrapperCache', True)) - # Nasty temporary hack for supporting both DOM and SpiderMonkey promises - # without too much pain - if self.interface.identifier.name == "Promise": - assert self.wrapperCache - # But really, we're only wrappercached if we have an interface - # object (that is, when we're not using SpiderMonkey promises). - self.wrapperCache = self.interface.hasInterfaceObject() self.name = interface.identifier.name -- cgit v1.2.3