Closed
Bug 935471
Opened 11 years ago
Closed 11 years ago
Add-on items are re-added on every restart
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 940099
People
(Reporter: lucasr, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [Australis:P?])
Attachments
(1 file)
4.37 KB,
image/png
|
Details |
I have Buffer and Lightbeam installed. Even though I removed them from the toolbar, these add-ons are re-added to the toolbar on every restart.
Updated•11 years ago
|
Comment 1•11 years ago
|
||
Buffer is just being dumb, looking at the source code: // Navigation bar icon // exports.main is called when extension is installed or re-enabled exports.main = function(options, callbacks) { // for the current window var browserWindow = mediator.getMostRecentWindow('navigator:browser'); addNavBarButton(browserWindow); // handle new windows var windowListener = { onOpenWindow: function(aWindow) { // Wait for the window to finish loading var domWindow = aWindow.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowInternal || Ci.nsIDOMWindow); addNavBarButton(domWindow); domWindow.addEventListener("load", function() { domWindow.removeEventListener("load", arguments.callee, false); addNavBarButton(domWindow); }, false); }, onCloseWindow: function(aWindow) { removeNavBarButton(aWindow); }, onWindowTitleChange: function(aWindow, aTitle) { } }; mediator.addListener(windowListener); }; We're tracking lightbeam and other SDK add-ons in bug 940099.
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•