Closed Bug 745669 Opened 13 years ago Closed 7 years ago

Event Listeners on Bookmarks Toolbar items stop being called after using Customize Dialog

Categories

(Firefox :: Bookmarks & History, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: tawn, Unassigned)

Details

Attachments

(1 file)

Steps to Reproduce: 1. Install the attached testcase xpi, restarting fx as required by extension installation 2. Make sure that the Bookmarks Toolbar is displayed 3. Open the error console and position it for easy viewing 4. Add a folder to the Bookmarks Toolbar and add a few bookmarks to the folder 5. Click the folder to open it and move the mouse over the menu that pops up 6. Notice the messages displayed in the error console (mouseenter, mouseleave) 7. Open the 'Customize Toolbar' window (Right-click 'Home' button > Customize) 8. Click 'Done' 9. Repeat step 5 Results: Error below appears in console at step 8 and Messages indicating event listener is active no longer display in step 9 Error: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver] Source File: chrome://browser/content/search/search.xml Line: 90 Expected: Event listener continues to be active and no error displays. Additional information: Happens even in clean profile Also happens in Firefox 12b4 (only other version tested) Possibly related to Bug 625778 ?
I think your extension should listen aftercustomization event and then your extension should re-attatch addEventListener mouseenter etc.
As we no longer support legacy extensions, marking as invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: