[Netmonitor] Add Copy context menu to json response

RESOLVED FIXED in Firefox 68

Status

enhancement
P3
normal
RESOLVED FIXED
Last year
5 days ago

People

(Reporter: nachtigall, Assigned: Laphets)

Tracking

(Blocks 1 bug)

60 Branch
Firefox 68
Dependency tree / graph

Firefox Tracking Flags

(firefox60 wontfix, firefox68 fixed)

Details

Attachments

(2 attachments)

Reporter

Description

Last year
The console has a nice Copy context menu for JS objects / arrays. It would be nice if this context menu was also available in the Netmonitor response tab (and probably also in the JSON viewer that pops up when opening the request in a new tab). See screenshot.

I find myself often wanting to copy the json, or - important! - only part of it. For instance when the response would set state in React and I want to try out by copying it into my IDE.
I like the idea.

For now, you can right click on the request-entry and pick:
Copy -> Copy Response

Honza
Priority: -- → P3

Updated

Last year
Product: Firefox → DevTools
Assignee

Comment 2

3 months ago

Would like to pick up this bug! :)

Assignee: nobody → wenqing4
Status: NEW → ASSIGNED

Will take time to review this, please NI me so that this will be in my queue :)

Flags: needinfo?(wenqing4)
Assignee

Updated

3 months ago
Flags: needinfo?(wenqing4) → needinfo?(E0032242)

I just put some comments into Phabricator.
Honza

Comment 6

3 months ago
Pushed by jodvarko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4b68c7d0429f
Add Copy context menu to PropertiesView. r=Honza

Comment 7

3 months ago
bugherder
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
Flags: needinfo?(E0032242)
You need to log in before you can comment on or make changes to this bug.