Enter compartment while initializing in CreateDedicatedWorkerGlobalScope

RESOLVED FIXED in mozilla11

Status

()

Core
DOM
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: bhackett, Unassigned)

Tracking

unspecified
mozilla11
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
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)
(Reporter)

Comment 1

6 years ago
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: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
You need to log in before you can comment on or make changes to this bug.