Closed Bug 873751 Opened 11 years ago Closed 11 years ago

Closing the requests details pane should deselect the currently selected item

Categories

(DevTools :: Netmonitor, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 24

People

(Reporter: vporof, Assigned: vporof)

Details

Attachments

(1 file)

Two benefits:
1. Deselecting and scrolling to bottom wound ensure bug 863102 (automatically scrolling on new requests) still works.
2. Selecting the item again would reopen the details pane (currently, nothing happens on reselection).
Attached patch v1Splinter Review
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #751348 - Flags: review?(rcampbell)
Priority: -- → P3
Comment on attachment 751348 [details] [diff] [review]
v1

Review of attachment 751348 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/devtools/netmonitor/netmonitor-view.js
@@ +1061,5 @@
>  
>    /**
>     * The mouse down listener for this container.
>     */
> +  _onMouseDown: function({ target }) {

you are destructuring stuff like nobody's business.

@@ +1072,5 @@
>  
>    /**
>     * The selection listener for this container.
>     */
> +  _onSelect: function({ detail: item }) {

no object is safe!
Attachment #751348 - Flags: review?(rcampbell) → review+
https://hg.mozilla.org/mozilla-central/rev/4f0d0d4018ee
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 24
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: