Closed
Bug 947867
Opened 11 years ago
Closed 11 years ago
Improve Australis' CustomizableUI events
Categories
(Firefox :: Toolbars and Customization, defect)
Firefox
Toolbars and Customization
Tracking
()
RESOLVED
FIXED
Firefox 29
People
(Reporter: Gijs, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
(Whiteboard: [Australis:P4][qa-])
Attachments
(1 file)
7.88 KB,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
(In reply to :Gijs Kruitbosch from bug 942393 comment #8) > Created attachment 8343953 [details] [diff] [review] > fix issues with events in Australis' CustomizableUI discovered when > documenting, > > So, I noticed a few things while documenting. One, onWidgetReset and > onAreaReset will fire for each buildArea, so they should be passing around > DOM nodes, not generic widget/area IDs, which won't tell consumers what's > going on. Second, onWidgetBefore/AfterDOMChange events fired through > CustomizableUI's onWidgetRemoved should pass the node's actual container, > and use that when removing the node. For the overflowable toolbar, that will > *not* be the area's customizationTarget, so I think the current code is > buggy, and I fixed it. Jared, do these make sense? (In reply to Jared Wein [:jaws] from bug 942393 comment #9) > Comment on attachment 8343953 [details] [diff] [review] > fix issues with events in Australis' CustomizableUI discovered when > documenting, > > Review of attachment 8343953 [details] [diff] [review]: > ----------------------------------------------------------------- > > These should probably be pulled out to a separate bug which will be easier > to track in the future. > > ::: browser/components/customizableui/src/CustomizableWidgets.jsm > @@ +813,5 @@ > > } > > }); > > } > > #endif > > +#endif > > Thanks for adding a newline here. Carrying over r+
Attachment #8344576 -
Flags: review+
Assignee | ||
Comment 1•11 years ago
|
||
remote: https://hg.mozilla.org/integration/fx-team/rev/f388346b5fae
Whiteboard: [Australis:P4] → [Australis:P4][fixed-in-fx-team]
Comment 2•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f388346b5fae
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P4][fixed-in-fx-team] → [Australis:P4]
Target Milestone: --- → Firefox 29
Updated•10 years ago
|
Whiteboard: [Australis:P4] → [Australis:P4][qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•