Closed
Bug 876944
Opened 13 years ago
Closed 12 years ago
CustomizeMode.jsm needs to handle onWidgetCreated/onWidgetDestroyed events
Categories
(Firefox :: Toolbars and Customization, defect)
Firefox
Toolbars and Customization
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: Unfocused, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
(Whiteboard: [Australis:P4][Australis:M9])
Attachments
(1 file)
|
9.09 KB,
patch
|
Unfocused
:
review+
|
Details | Diff | Splinter Review |
CustomizeMode.jsm needs to handle the cases when an API widgets is created or destroyed, via the onWidgetCreated and onWidgetDestroyed events.
Note also bug 876926, which probably necessitates the need for a onWidgetDestroying event.
Comment 1•13 years ago
|
||
Not taking this for Australis:M7.
Comment 2•13 years ago
|
||
What's the impact of not handling this? Don't know how to assign a priority otherwise.
Flags: needinfo?(bmcbride)
| Reporter | ||
Comment 3•13 years ago
|
||
Neither case should be common. Not handling widgets being created should just be an annoyance (so, something we want to fix, but not a priority IMO).
However, not handling widgets being destroyed could break the browser window - so I think that at least should be fixed before release. That could happen in any of the following instances:
* add-on updated
* add-on disabled/uninstalled (via another window - unlikely, but possible)
* add-on blocklisted
* changing add-on references while customizing (both are "customizing my browser", so I can imagine people doing this)
So, I think we can be pretty minimal with the fix here and still address the main issue. And just leave everything else to a followup when we have time.
Flags: needinfo?(bmcbride)
Updated•13 years ago
|
Whiteboard: [Australis:M?] → [Australis:P4]
| Assignee | ||
Comment 4•12 years ago
|
||
This should do. I needed a notification after the node had been added to the windows, should it have a placement already, so I added one. Feel free to nitpick naming. :-)
Attachment #820940 -
Flags: review?(bmcbride)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
| Reporter | ||
Updated•12 years ago
|
Attachment #820940 -
Flags: review?(bmcbride) → review+
| Assignee | ||
Comment 5•12 years ago
|
||
Whiteboard: [Australis:P4] → [Australis:P4][Australis:M9][fixed-in-ux]
| Assignee | ||
Comment 6•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P4][Australis:M9][fixed-in-ux] → [Australis:P4][Australis:M9]
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•