Open
Bug 1097434
Opened 10 years ago
Updated 2 years ago
[BrowserAPI] Consider return DOM Promise from Browser API
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: kanru, Unassigned)
References
Details
See bug 1044736 comment 22
We might want to change the returned DOMRequest to Promise. I'm not sure how to handle backward compatibility of Apps on marketplace (teach Promise onsuccess and onerror?). If the only user of the BrowserAPI is gaia app then this should be straightforward.
Reporter | ||
Updated•10 years ago
|
Blocks: browser-api
Comment 1•10 years ago
|
||
The Browser API is used by multiple apps in the Firefox Marketplace.
One possibility is to move to promises at the same time as switching from <iframe mozbrowser> to <webview> so that <iframe mozbrowser> can be kept as-is for backwards compatibility for a short time.
Comment 2•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•