Open Bug 1555647 Opened 5 years ago Updated 1 year ago

Display of raw or formatted response should be persistent

Categories

(DevTools :: Netmonitor, enhancement, P3)

67 Branch
enhancement

Tracking

(Not tracked)

People

(Reporter: afanen01, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0

Steps to reproduce:

open the network tab while accessing a page, and then inspect a particular request, and select the "response" tab.

Actual results:

You get a preview of the response content

Expected results:

get the plain text of the response.

You already have a preview of the page in the main browser itself, you're inspecting the response because you're highly likely a developer who is interested in looking one layer below. Typically, you want to look at the raw response because something is wrong and you're debugging/troubleshooting it.

Component: Untriaged → Netmonitor
Product: Firefox → DevTools

The priority flag is not set for this bug.
:Honza, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(odvarko)

Thanks for the report!

@123Knuckles: if you collapse the Preview section you can see raw Response payload section. So, if the collapsed/expanded state of these section would be persistent across reloads (and perhaps Firefox sessions) it would solve the problem, correct?

Honza

Flags: needinfo?(odvarko) → needinfo?(afanen01)

(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #2)

Thanks for the report!

@123Knuckles: if you collapse the Preview section you can see raw Response payload section. So, if the collapsed/expanded state of these section would be persistent across reloads (and perhaps Firefox sessions) it would solve the problem, correct?

Honza

Yes, That would certainly be sufficient. Thanks.

Flags: needinfo?(afanen01)
Status: UNCONFIRMED → NEW
Type: defect → enhancement
Ever confirmed: true
Priority: -- → P3
Summary: devtools network response content should default to raw data → Expanded/collapsed state of sections in the side panel should be persistent
Severity: normal → S3

As the display changed to a toggle button instead of collapsible panes in bug 1651649, I've changed the summary accordingly.
I've also tested this on Firefox 109 and verified that the raw or formatted display is still not persisted.

Here are some updated steps to reproduce what is expected:

  1. Open the Netmonitor on this page
  2. Reload the page
  3. Select the page request
  4. Switch to the Response tab
  5. Click the Raw toggle to activate it
  6. Switch to the Request tab and back to the Response tab
    ⇒ The Raw toggle should still be active.
  7. Reload the page
  8. Select the page request again
    ⇒ The Raw toggle should still be active.

Optional:

  1. Close and open the browser
  2. Repeat steps 1 to 4
    ⇒ The Raw toggle should still be active.

For what it's worth, there's also a related post asking for this on Stack Overflow.

Sebastian

Summary: Expanded/collapsed state of sections in the side panel should be persistent → Display of raw or formatted response should be persistent
You need to log in before you can comment on or make changes to this bug.