Closed
Bug 739330
Opened 13 years ago
Closed 12 years ago
navigator.mozApps - app uninstall
Categories
(Core Graveyard :: DOM: Apps, defect)
Core Graveyard
DOM: Apps
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla16
People
(Reporter: onecyrenus, Assigned: ianbicking)
References
Details
Attachments
(1 file, 1 obsolete file)
3.43 KB,
patch
|
fabrice
:
review+
myk
:
checkin+
|
Details | Diff | Splinter Review |
Currently if you call uninstall on an app that is no longer installed, the onerror handler is invoked as expected but the error message is the origin ?
this is something that would be hard to script around, my recommendation would be to return a string indicating that the app was not able to be uninstalled.
Reporter | ||
Comment 1•13 years ago
|
||
Currently the HTML / JS implementation returns NOT_INSTALLED... which is interesting because that was the reason we were calling uninstall..
maybe something like UNABLE_TO_FIND_APP would be more useful
Assignee | ||
Comment 2•13 years ago
|
||
NOT_INSTALLED is the error message Fabrice and I discussed on IRC.
Comment 3•13 years ago
|
||
Yes, NOT_INSTALLED makes more sense. You just can't uninstall something that's not installed ;)
Updated•13 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Reporter | ||
Updated•13 years ago
|
Whiteboard: [mozApps API 1.0]
Updated•13 years ago
|
Component: DOM → DOM: Mozilla Extensions
Updated•13 years ago
|
Whiteboard: [mozApps API 1.0]
Assignee | ||
Comment 4•12 years ago
|
||
This just ignores the message data sent from Webapps.jsm to Webapps.js (and turns all uninstall errors to NOT_INSTALLED), which seems to happen elsewhere in the codebase, but seems a little fishy. Maybe it should send the error name as the data.
Assignee: nobody → ianb
Attachment #609405 -
Attachment is obsolete: true
Attachment #632109 -
Flags: review?(fabrice)
Updated•12 years ago
|
Attachment #632109 -
Flags: review?(fabrice) → review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 5•12 years ago
|
||
Comment on attachment 632109 [details] [diff] [review]
Fix for bug, test, and fix for test
https://hg.mozilla.org/integration/mozilla-inbound/rev/5fb04d9a0ace
Attachment #632109 -
Flags: checkin+
Updated•12 years ago
|
Keywords: checkin-needed
Target Milestone: --- → mozilla16
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Component: DOM: Mozilla Extensions → DOM: Apps
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•