Closed
Bug 1021234
Opened 10 years ago
Closed 10 years ago
installing packaged app from domain not listed in installs_allowed_from silently fails
Categories
(Firefox Graveyard :: Web Apps, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: bwalker, Unassigned)
References
Details
Attachments
(1 file)
672 bytes,
text/html
|
Details |
STR: 1. Find a Marketplace packaged app whose installs_allowed_from is not "*" (example: https://marketplace.firefox.com/app/line) 2. Create a web page that invokes mozApps.installPackage on that app 3. Host that page on a domain not listed in installs_allowed_from 4. Try to install Expected results: The onerror() callback is invoked with some message about origin denied Actual results: Install appears to succeed but no app appears in application folder. Neither success nor error callback is ever invoked.
Comment 1•10 years ago
|
||
The update manifest doesn't specify installs_allowed_from, so the |onsuccess| callback of |installPackage| is successfully called. Then, when the package is downloaded, the |ondownloaderror| callback of the app object is called with INSTALL_FROM_DENIED.
Comment 2•10 years ago
|
||
(This is the expected behavior of the API)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•8 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•