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)

defect
Not set
normal

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: nobody → bzbarsky
Status: NEW → ASSIGNED
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
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.

Attachment

General

Created:
Updated:
Size: