Closed Bug 902030 Opened 11 years ago Closed 11 years ago

DOMRequestIPCHelper should store/retrieve Promises

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: nsm, Assigned: nsm)

References

Details

Attachments

(1 file, 1 obsolete file)

With an eventual switch to Promises for all APIs, DOMRequestIPCHelper should provide a similar API for Promises that it provides from DOMRequests, the ability to store/retrieve/delete a Promise.
This adds the necessary API, but is blocked until Promise is available on platforms.
Attached patch API + testsSplinter Review
Forgot to update patch with right test file.
Thanks Nikhil for supporting this. It's very helpful!
Attachment #786537 - Flags: review?(fabrice) → review+
Landed with slight change to test to know push the modified pref, since bug 897913 exposes Promises to chrome code by default.

https://hg.mozilla.org/integration/mozilla-inbound/rev/667ff57c79bc
https://hg.mozilla.org/mozilla-central/rev/667ff57c79bc
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
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: