Closed
Bug 877006
Opened 11 years ago
Closed 10 years ago
A widget with an invalid view should not break all of CustomizableUI
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:M8][Australis:P2])
Attachments
(2 files)
2.30 KB,
patch
|
Unfocused
:
review+
|
Details | Diff | Splinter Review |
2.54 KB,
patch
|
Unfocused
:
review+
|
Details | Diff | Splinter Review |
When buildWidget detects a widget with a view, and the elemnt for the view can't be found it throws an exception - sadly, this breaks all of CustomizableUI. It, er, shouldn't do that.
Comment 1•11 years ago
|
||
Not taking this for Australis:M7.
Updated•11 years ago
|
Whiteboard: [Australis:M?] → [Australis:M?][Australis:P2]
Assignee | ||
Comment 2•11 years ago
|
||
Something like this? :-)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Attachment #773331 -
Flags: review?(bmcbride)
Assignee | ||
Comment 3•11 years ago
|
||
Annnd a test. For the todo, see bug 891926, which I just filed. I'll add a patch there and s/todo/ok/. :-)
Attachment #773336 -
Flags: review?(bmcbride)
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 773336 [details] [diff] [review] Test >+ requestLongerTimeout(5); Self-nit: this shouldn't be here (too eager copying from another test, oops!)
Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 773331 [details] [diff] [review] Patch Review of attachment 773331 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/components/customizableui/src/CustomizableUI.jsm @@ +802,1 @@ > ERROR("Could not find the view node with id: " + aWidget.viewId); Nit: Since you're here, include the widget id in this log message?
Attachment #773331 -
Flags: review?(bmcbride) → review+
Reporter | ||
Updated•11 years ago
|
Attachment #773336 -
Flags: review?(bmcbride) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Folded and pushed: https://hg.mozilla.org/projects/ux/rev/757b3bbe3c63
Whiteboard: [Australis:M?][Australis:P2] → [Australis:M8][Australis:P2][fixed-in-ux]
Assignee | ||
Comment 7•11 years ago
|
||
This was backed out yesterday: https://hg.mozilla.org/projects/ux/rev/a8a320338f33
Whiteboard: [Australis:M8][Australis:P2][fixed-in-ux] → [Australis:M8][Australis:P2]
Assignee | ||
Comment 8•11 years ago
|
||
Relanded with a fix in the tests as https://hg.mozilla.org/projects/ux/rev/56af4ca8e542 using defaultArea for the widget breaks because it sticks around in the default placements after a reset. I'll file a bug on that in the next few hours.
Assignee | ||
Updated•11 years ago
|
Whiteboard: [Australis:M8][Australis:P2] → [Australis:M8][Australis:P2][fixed-in-ux]
Assignee | ||
Comment 9•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/56af4ca8e542
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:M8][Australis:P2][fixed-in-ux] → [Australis:M8][Australis:P2]
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•