Closed
Bug 694414
Opened 14 years ago
Closed 14 years ago
mozApps install pass on error
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P1)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
RESOLVED
FIXED
6.3.1
People
(Reporter: andy+bugzilla, Assigned: kumar)
References
Details
If Fx was not able to install the app, for example because installs_allowed_from won't allow it, then it would be nice to inform the user of that.
A simple boolean returned from install would work, although a message would be good too.
Reporter | ||
Comment 1•14 years ago
|
||
By passing an onerror to the install, we can catch an error that occurs. We should probably do a modalFromURL. The docs on the onerror is here:
https://developer.mozilla.org/en/Apps/Apps_JavaScript_API/navigator.mozApps.install
Component: OpenWebApps → Public Pages
Product: Mozilla Labs → addons.mozilla.org
QA Contact: openWebApps → web-ui
Summary: mozApps install → mozApps install pass on error
Target Milestone: --- → 6.2.8
Updated•14 years ago
|
Updated•14 years ago
|
Assignee: nobody → kumar.mcmillan
Target Milestone: --- → 6.3.0
Assignee | ||
Comment 2•14 years ago
|
||
Fixed https://github.com/mozilla/zamboni/commit/08020c2
We now have apps.install() to use as a wrapper around navigator.apps.install()
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: 6.3.0 → 6.3.1
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•