Missing icon for request header
Categories
(DevTools :: Netmonitor, enhancement, P3)
Tracking
(firefox76 fixed)
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: u656278, Assigned: marianapicolo, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36
Steps to reproduce:
Send a regular HTTP request with the "Save-Data" header carrying value "on".
Actual results:
In the Dev Tools on the Network pane the question mark icon with the link pointing to related article on MDN does not appear before the line of the parameter.
Expected results:
An icon should appear for this parameter as well as it does for other parameters as well.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
Thanks for the report!
I was able to reproduce the problem on my machine (using Edit and Resend feature we have)
- Open DevTools and select the Network panel
- Load http://janodvarko.cz/firebug/tests/601/Issue601.htm
- Press the POST button on the page to generate request
- Select the request and click the
Edit And Resend
button on the page - Add
Save-Data
request header in the list - Press Send to send the request
- Select the new request (should happen automatically)
- Check out the icon for
Save-Data
HTTP header - it's missing -> BUG
Comment 3•5 years ago
|
||
Some information for anyone interested in fixing this bug:
- The icon is rendered here:
https://searchfox.org/mozilla-central/rev/d69ec052bed8700af7a283e37b60b4af22734930/devtools/client/netmonitor/src/components/HeadersPanel.js#437-441
It's only rendered when we have URL to MDN set in headerDocURL
-
The list of supported HTTP headers is here:
https://searchfox.org/mozilla-central/rev/d69ec052bed8700af7a283e37b60b4af22734930/devtools/client/netmonitor/src/utils/mdn-utils.js#15 -
MDN Page for
Save-Data
is here
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Save-Data
So, all we need to do is to put the hader name Save-Data
into the list
Honza
Assignee | ||
Comment 4•5 years ago
|
||
Hello Honza,
I'd like to work on this one!
Thanks!
Comment 5•5 years ago
|
||
Assigned to you, thanks for helping with this one.
Honza
Assignee | ||
Comment 6•5 years ago
|
||
Comment 8•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•