Closed
Bug 1279046
Opened 9 years ago
Closed 9 years ago
[Disco Pane] Expose onOperationCancelled event to content
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: muffinresearch, Assigned: aswan)
References
Details
Attachments
(1 file)
If a user installs an add-on via the new discovery pane and then clicks remove in about:addons#Extensions we get an onUninstalling event notification with needsRestart=true.
If the user clicks undo in the about:addons#Extensions UI we don't get an event telling us that the user has cancelled the uninstallation.
To fix this we'd need the onOperationCancelled event to be exposed to content alongside the other AddonListener events here: https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/addonManager.js#237
Once we have the onOperationCancelled event we can show the needsRestart UI and remove it when recieving a notice that the pending uninstall event has been cancelled.
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → aswan
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/60548/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/60548/
Attachment #8764979 -
Flags: review?(rhelmer)
Assignee | ||
Updated•9 years ago
|
Status: NEW → ASSIGNED
Iteration: --- → 50.2
Comment 2•9 years ago
|
||
Comment on attachment 8764979 [details]
Bug 1279046 Expose onOperationCancelled to a.m.o
https://reviewboard.mozilla.org/r/60548/#review57438
Attachment #8764979 -
Flags: review?(rhelmer) → review+
Pushed by aswan@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/336e3e8c5ed2
Expose onOperationCancelled to a.m.o r=rhelmer
Comment 4•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•