Closed
Bug 958686
Opened 11 years ago
Closed 11 years ago
Open in new tab context menu available in NetMonitor, even when the table is empty
Categories
(DevTools :: Netmonitor, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 29
People
(Reporter: ntim, Assigned: sterlingrgraham)
Details
(Whiteboard: [good first bug][mentor=past][lang=js])
Attachments
(1 file)
|
1.18 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
When you right click the network monitor when there are no requests, it shows a context menu with "open in new tab". This is useless and confusing.
Comment 1•11 years ago
|
||
RequestsMenuView.prototype._onContextShowing() only filters out the "Resend" and "Copy URL" items. It should do the same with "Open in a new Tab".
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [good first bug][mentor=past][lang=js]
Comment 2•11 years ago
|
||
Thanks for mentoring this Past! :)
| Assignee | ||
Comment 3•11 years ago
|
||
Hi there, I'd like to be assigned this as a first bug. So far I have compiled a debug build, and am having a look inside the RequestsMenuView.prototype._onContextShowing() function.
As I understand it what I should do is find the ID for the "Open in a New Tab" menu item, then hide it if this.selected item is null in the same way the "Copy URL" menu item is done.
| Assignee | ||
Comment 4•11 years ago
|
||
Patch implementing what I described in my previous comment.
Attachment #8359581 -
Flags: review?(past)
Updated•11 years ago
|
Assignee: nobody → sterlingrgraham
Status: NEW → ASSIGNED
Comment 5•11 years ago
|
||
Comment on attachment 8359581 [details] [diff] [review]
bug-958686-fix.patch
Review of attachment 8359581 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good and works as expected. Thanks for the patch!
Attachment #8359581 -
Flags: review?(past) → review+
Comment 6•11 years ago
|
||
Changed the commit message to better describe what the change was and landed in fx-team:
https://hg.mozilla.org/integration/fx-team/rev/eff6ff4dd6d2
Whiteboard: [good first bug][mentor=past][lang=js] → [good first bug][mentor=past][lang=js][fixed-in-fx-team]
Comment 7•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][mentor=past][lang=js][fixed-in-fx-team] → [good first bug][mentor=past][lang=js]
Target Milestone: --- → Firefox 29
| Reporter | ||
Comment 8•11 years ago
|
||
Removing the good first bug tags as this bug is fixed.
Whiteboard: [good first bug][mentor=past][lang=js]
The good first bug tags can remain. Bugs are filtered out of the dashboard by status. The tags are used after bug closing to update Mentor Watch[1].
[1]: http://www.joshmatthews.net/mentorwatch/
Whiteboard: [good first bug][mentor=past][lang=js]
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•