Closed
Bug 1289179
Opened 8 years ago
Closed 8 years ago
IDBRequest::SetResultCallback should expose its script owner to active JS if it has one
Categories
(Core :: Storage: IndexedDB, defect)
Core
Storage: IndexedDB
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
This code pattern:
AutoJSAPI autoJS;
Maybe<JSAutoCompartment> ac;
autoJS.Init();
ac.emplace(autoJS.cx(), GetScriptOwner());
needs to expose to active JS the thing that we pass to the emplace() call.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8774430 -
Flags: review?(amarchesini)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Updated•8 years ago
|
Attachment #8774430 -
Flags: review?(amarchesini) → review+
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7d4e238cd15e
IDBRequest::SetResultCallback should expose its script owner to active JS before entering its compartment. r=baku
Comment 3•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•