summaryrefslogtreecommitdiffstats
path: root/dom/bindings/Configuration.py
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-12-19 03:05:45 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-12-19 03:05:45 +0100
commitd461262405813f0721f9dbb2ff57b9f82e5f9b65 (patch)
treea9c5fce75bb1a120925c27b1de4461403213794d /dom/bindings/Configuration.py
parentcdea310f1796c1ea5ffa5b49a06fcda914ea9ecb (diff)
downloadUXP-d461262405813f0721f9dbb2ff57b9f82e5f9b65.tar
UXP-d461262405813f0721f9dbb2ff57b9f82e5f9b65.tar.gz
UXP-d461262405813f0721f9dbb2ff57b9f82e5f9b65.tar.lz
UXP-d461262405813f0721f9dbb2ff57b9f82e5f9b65.tar.xz
UXP-d461262405813f0721f9dbb2ff57b9f82e5f9b65.zip
Issue #1322 - Part 3: Remove DOM promise interface gunk
Based on work by Boris Zbarsky
Diffstat (limited to 'dom/bindings/Configuration.py')
-rw-r--r--dom/bindings/Configuration.py7
1 files changed, 0 insertions, 7 deletions
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