Closed Bug 991753 Opened 10 years ago Closed 10 years ago

Need to enter the "scope" compartment in Promise::GetOrCreateWrapper

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

The cx coming in sometimes comes from ThreadsafeAutoJSContext so may not be in the compartment of our promise.  We need this for bug 991742 anyway, though it's already causing compartment mismatch asserts when this code is actually exercised.
Blocks: 957086
Attachment #8401377 - Flags: review?(bobbyholley) → review+
https://hg.mozilla.org/mozilla-central/rev/6572fc6d91ca
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: