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)

defect

Tracking

(Not tracked)

RESOLVED FIXED

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.
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
Blocks: 690899
Priority: -- → P1
Target Milestone: 6.2.8 → ---
Assignee: nobody → kumar.mcmillan
Target Milestone: --- → 6.3.0
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
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.