Closed
Bug 1428443
Opened 6 years ago
Closed 6 years ago
Allow panels to override picker functionality when they are active.
Categories
(DevTools :: Framework, enhancement, P2)
Tracking
(firefox60 fixed)
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: yzen, Assigned: yzen)
References
Details
Attachments
(1 file)
9.52 KB,
patch
|
pbro
:
review+
|
Details | Diff | Splinter Review |
Use case: Inspector panel highlights/picks accessible objects and not DOM nodes. They do not have a box model and might have different bounds from DOM nodes. Picker in this case would need to work with objects other than DOM nodes.
Updated•6 years ago
|
Severity: normal → enhancement
Priority: -- → P2
Assignee | ||
Comment 1•6 years ago
|
||
Attachment #8947824 -
Flags: review?(pbrosset)
Comment 2•6 years ago
|
||
Comment on attachment 8947824 [details] [diff] [review] 1428443 patch Review of attachment 8947824 [details] [diff] [review]: ----------------------------------------------------------------- ::: devtools/client/framework/toolbox.js @@ +1423,5 @@ > + > + if (currentPanel && currentPanel.updatePickerButton) { > + currentPanel.updatePickerButton(); > + } else { > + button.description = L10N.getStr("pickButton.tooltip"); Please insert a comment before this line that says something like "if the current panel doesn't define a custom updatePickerButton, revert the button to its default state".
Attachment #8947824 -
Flags: review?(pbrosset) → review+
Pushed by yura.zenevich@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/e0ac728caeaa allow panels to override picker functionality when they are active. r=pbro
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e0ac728caeaa
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•