notificationbox within notificationbox results in crosstalk.




8 years ago
5 years ago


(Reporter: CodeMachine, Unassigned)


Firefox Tracking Flags

(Not tracked)



(1 attachment)



8 years ago
Created attachment 497990 [details]
Reduced testcase of a dialog showing this problem.

In my FF extension I have a dialog with a notificationbox within a notificationbox. I have done this because I have two different classes of message and they should both show on the odd occasion they're both present, otherwise it would be confusing to the user.

However this is causing crosstalk between the boxes. When I add a notification to the inner box, the count on the outer box is incrementing, and when I try to remove all from the outer box I get an error:

Error: Node was not found = NS_ERROR_DOM_NOT_FOUND_ERR
Source file: chrome://global/content/bindings/notification.xml
Line: 173

This is occurring in both FF3.6 and 4b7.

Testcase attached. It shows the incorrect count and the console error.
Bulk move to Toolkit::Notifications and Alerts

Filter on notifications-and-alerts-component.
Component: XUL Widgets → Notifications and Alerts
You need to log in before you can comment on or make changes to this bug.