Closed Bug 1948581 Opened 16 days ago Closed 13 days ago

Console Network log Response Raw toggle doesn't work anymore

Categories

(DevTools :: Console, defect, P2)

defect

Tracking

(firefox-esr128 unaffected, firefox135 unaffected, firefox136 fixed, firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox135 --- unaffected
firefox136 --- fixed
firefox137 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Clicking on it, we get an error: JavaScript error: resource://devtools/client/netmonitor/src/components/request-details/ResponsePanel.js, line 367: TypeError: this.props.setDefaultRawResponse is not a function

Probably regressed in Bug 1555647

This is only to make the toggle works as before,
it doesn't handle persisting the toggle state
like in the Netmonitor.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1555647

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9045d63e5c70 [devtools] Fix Network messages raw response toggle. r=devtools-reviewers,bomsy.
Regressions: 1948622
Regressions: 1948624
Regressions: 1948625

Backed out for causing dt failures @browser_webconsole_network_messages_html_preview.js.

Flags: needinfo?(nchevobbe)

I'm looking into this

Flags: needinfo?(nchevobbe)
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e443ab3b192f [devtools] Fix Network messages raw response toggle. r=devtools-reviewers,bomsy.
Severity: -- → S3
Priority: P1 → P2
Status: ASSIGNED → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Regressions: 1949298
No longer regressions: 1949298
Regressions: 1949298

This is only to make the toggle works as before,
it doesn't handle persisting the toggle state
like in the Netmonitor.
We also pass targetSearchResult to TabboxPanel to avoid
unnecessary re-renders that were messing up the test.

Original Revision: https://phabricator.services.mozilla.com/D238416

Attachment #9467342 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: can't see the raw response of a network request in the console
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: -
  • Risk associated with taking this patch: low
  • Explanation of risk level: couple lines, devtools-only patch, covered by automated test
  • String changes made/needed: -
  • Is Android affected?: no

:nchevobbe I see this picked up a regression Bug 1949298.
I see it has a fix, but could you add it in a stack with this? I could take then both into beta later.

Flags: needinfo?(nchevobbe)

I will land this on beta so it will make the final beta build. We can follow-up on the Tier 2 regression fix uplift later.

Attachment #9467342 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9467342 - Flags: approval-mozilla-beta+ → approval-mozilla-beta-

https://phabricator.services.mozilla.com/D238915#8254751 the patch failed to land in beta due to conflicts caused by Bug 1849920

(In reply to Donal Meehan [:dmeehan] from comment #12)

:nchevobbe I see this picked up a regression Bug 1949298.
I see it has a fix, but could you add it in a stack with this? I could take then both into beta later.

sorry for missing this yesterday. The failure is only an a11y check failure, which is tier 2, and doesn't reveal any new issue. I was told those a11y_checks jobs are not run on beta, so maybe it's fine?
I'll uplift it anyway

(In reply to Donal Meehan [:dmeehan] from comment #14)

https://phabricator.services.mozilla.com/D238915#8254751 the patch failed to land in beta due to conflicts caused by Bug 1849920

I rebase the patch against latest beta and pushed the patch to phab

Flags: needinfo?(nchevobbe)
Attachment #9467342 - Flags: approval-mozilla-beta- → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: