Closed Bug 1472875 Opened 6 years ago Closed 6 years ago

HTTP response text missing in devtools/network/headers panel

Categories

(DevTools :: Netmonitor, defect, P2)

61 Branch
defect

Tracking

(firefox-esr60 unaffected, firefox62 wontfix, firefox63 fixed, firefox64 fixed)

RESOLVED FIXED
Firefox 64
Tracking Status
firefox-esr60 --- unaffected
firefox62 --- wontfix
firefox63 --- fixed
firefox64 --- fixed

People

(Reporter: wallboy, Assigned: lucas.lunasouza, Mentored)

References

Details

(Keywords: good-first-bug, regression, Whiteboard: good-first-bug)

Attachments

(2 files)

Attached image 0ZSl4gP.png
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180621125625

Steps to reproduce:

I noticed in Firefox 61.0 that the HTTP response text is missing in the headers panel under Dev Tools/Network.

Attached is an example showing the response text missing and where it usually is.

I think it has to do with changes made in https://bugzilla.mozilla.org/show_bug.cgi?id=1435232


Actual results:

HTTP Response text not present in headers panel beside the status code.


Expected results:

HTTP Response Text present beside status code: https://mdn.mozillademos.org/files/13266/nm-pieces.png
Has STR: --- → yes
Component: Untriaged → Netmonitor
Product: Firefox → DevTools
@Lucas: are you interested in fixing this regression?

Honza
Flags: needinfo?(lucas.lunasouza)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Instructions for anyone interested:

1) This bug is caused by patch in bug 1435232
2) See this part of the patch:
https://bugzilla.mozilla.org/page.cgi?id=splinter.html&ignore=&bug=1435232&attachment=8964902

3) The input element has been removed.

input({ 
  className: "tabpanel-summary-value textbox-input devtools-monospace"  
    + " status-text", 
  readOnly: true, 
  value: `${status} ${statusText}`, 
  size: `${inputWidth}`,  
}),

We need an element displaying the status-text back again.

Honza
Mentor: odvarko
Keywords: good-first-bug
Whiteboard: good-first-bug
Blocks: 1435232
Keywords: regression
OS: Unspecified → All
Hardware: Unspecified → All
(In reply to Jan Honza Odvarko [:Honza] from comment #1)
> @Lucas: are you interested in fixing this regression?
> 
> Honza

Sure, I can fix this.
Flags: needinfo?(lucas.lunasouza)
(In reply to Lucas Luna Souza from comment #3)
> (In reply to Jan Honza Odvarko [:Honza] from comment #1)
> > @Lucas: are you interested in fixing this regression?
> > 
> > Honza
> 
> Sure, I can fix this.

Excellent, assigned to you, thanks!

Honza
Assignee: nobody → lucas.lunasouza
Status: NEW → ASSIGNED
Attached patch 1472875.patchSplinter Review
Attachment #8992188 - Flags: review?(odvarko)
Comment on attachment 8992188 [details] [diff] [review]
1472875.patch

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

Thanks for the patch looks good to me!

R+ assuming try is green
https://treeherder.mozilla.org/#/jobs?repo=try&revision=abd4d55e64d06557122f0749d60d4a92e16e7da0

Honza
Attachment #8992188 - Flags: review?(odvarko) → review+
@Lucas: FYI, in order to make sure a patch is landed into the repository `checkin-needed` keyword must be set.

Honza
Pushed by nerli@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/315f887ca184
HTTP response text missing in devtools/network/headers panel r=Honza
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/315f887ca184
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Honza, is there a user impact which justifies Beta backport consideration here?
Flags: needinfo?(odvarko)
Comment on attachment 8992188 [details] [diff] [review]
1472875.patch

Approval Request Comment
[Feature/Bug causing the regression]: bug 1435232
[User impact if declined]: Missing HTTP status text for HTTP request (in details panel)
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: yes
[Needs manual test from QE? If yes, steps to reproduce]:  no
[List of other uplifts needed for the feature/fix]: n/a
[Is the change risky?]: low risk
[Why is the change risky/not risky?]: Just for developers, small patch
[String changes made/needed]: n/a

Honza
Flags: needinfo?(odvarko)
Attachment #8992188 - Flags: approval-mozilla-beta?
Comment on attachment 8992188 [details] [diff] [review]
1472875.patch

Small patch with tests fixing a regression affecting web developers, uplift approved for 63 beta 10, thanks.
Attachment #8992188 - 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

Creator:
Created:
Updated:
Size: