diff options
author | Josh Matthews <josh@joshmatthews.net> | 2016-08-25 18:06:37 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-09-22 16:16:54 -0400 |
commit | ef501603bf8997e29f8d2d538b7755838236d6c8 (patch) | |
tree | 4b100271f7b4c1d80cf0fbc4576e970259f2f1b4 /components/script/dom/bindings/codegen/Configuration.py | |
parent | f89355b85d9cb8be5b576d6002bdf5227bd3c86a (diff) | |
download | servo-ef501603bf8997e29f8d2d538b7755838236d6c8.tar.gz servo-ef501603bf8997e29f8d2d538b7755838236d6c8.zip |
Ensure Promise "reflector" is not GCed before the Rust object.
Diffstat (limited to 'components/script/dom/bindings/codegen/Configuration.py')
-rw-r--r-- | components/script/dom/bindings/codegen/Configuration.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/bindings/codegen/Configuration.py b/components/script/dom/bindings/codegen/Configuration.py index 835bcbe4774..9a1120769c8 100644 --- a/components/script/dom/bindings/codegen/Configuration.py +++ b/components/script/dom/bindings/codegen/Configuration.py @@ -233,7 +233,8 @@ class Descriptor(DescriptorProvider): # them as having a concrete descendant. self.concrete = (not self.interface.isCallback() and not self.interface.isNamespace() and - not self.interface.getExtendedAttribute("Abstract")) + not self.interface.getExtendedAttribute("Abstract") and + not spiderMonkeyInterface) self.hasUnforgeableMembers = (self.concrete and any(MemberIsUnforgeable(m, self) for m in self.interface.members)) |