The default bug view has changed. See this FAQ.

Enter compartment while initializing in CreateDedicatedWorkerGlobalScope

RESOLVED FIXED in mozilla11

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: bhackett, Unassigned)

Tracking

unspecified
mozilla11
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 573582 [details] [diff] [review]
patch

CreateDedicatedWorkerGlobalScope makes some JS API calls without entering the appropriate compartment.  JS doesn't catch this because the cross compartment assertions are too weak (bug 701427).
Attachment #573582 - Flags: review?(bent.mozilla)
Comment on attachment 573582 [details] [diff] [review]
patch

Got r+ earlier over IRC.

https://hg.mozilla.org/integration/mozilla-inbound/rev/6da51a2cebb0
Attachment #573582 - Flags: review?(bent.mozilla)
https://hg.mozilla.org/mozilla-central/rev/6da51a2cebb0
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
You need to log in before you can comment on or make changes to this bug.