Closed Bug 942255 Opened 12 years ago Closed 12 years ago

Promise::EnabledForScope should use UsesSystemPrincipal() rather than IsChromeWorker()

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: nsm, Assigned: nsm)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

IsChromeWorker() checks if the Worker was created with the ChromeWorker constructor and grants the latest JS version and enables ctypes. But we want Promises on workers even if a normal Worker was created, as long as chrome code created it.
Assignee: nobody → nsm.nikhil
Blocks: promises
Comment on attachment 8337061 [details] [diff] [review] UsesSystemPrincipal() in Promise::EnabledForScope() on Workers. r=me
Attachment #8337061 - Flags: review?(bzbarsky) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Whiteboard: [qa-]
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: