Closed
Bug 1396747
Opened 8 years ago
Closed 6 years ago
The request's method cannot be deleted in the panel, but it appears deleted in the request lists
Categories
(DevTools :: Netmonitor, defect, P3)
DevTools
Netmonitor
Tracking
(firefox56 wontfix, firefox57 wontfix, firefox58 wontfix)
RESOLVED
WORKSFORME
People
(Reporter: cgeorgiu, Unassigned)
References
Details
Attachments
(1 file)
522.35 KB,
image/gif
|
Details |
[Affected versions]:
- latest Nightly 57.0a1
- Beta 56.0b9
- RC 55.0.3
[Affected platforms]:
- Windows 10 x64
- Mac OS X 10.11.6
- Ubuntu 16.04 x64
[Steps to reproduce]:
1. Start Firefox.
2. Go any webpage e.g.: https://en.wikipedia.org/wiki/Main_Page
3. Open netmonitor.
4. Click on a request from the list in order to open the Details panel.
5. Click on Edit and Resend button from the Headers tab.
6. Try to delete the request's method by pressing backspace.
[Expected result]:
- The request's method can be deleted.
[Actual result]:
- The request's method is not deleted in the panel, but it appears deleted in the request lists.
[Regression range]:
- Last good revision: aa534d18c2d25e96243620532d62321ede91ccb9
First bad revision: bdc79139892e9417108f2653af5a3fd9c37d1b62
Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=aa534d18c2d25e96243620532d62321ede91ccb9&tochange=bdc79139892e9417108f2653af5a3fd9c37d1b62
[Additional notes]:
- see the attached screencast
Reporter | ||
Updated•8 years ago
|
Has Regression Range: --- → yes
Has STR: --- → yes
Comment 1•8 years ago
|
||
Thanks for the report I can reproduce the bug on my machine.
Ricky: the problem is that CustomRequestPanel is using hardcoded
values for the method and URL fields:
http://searchfox.org/mozilla-central/rev/67f38de2443e6b613d874fcf4d2cd1f2fc3d5e97/devtools/client/netmonitor/src/components/custom-request-panel.js#92-98
This causes the field to always display something while the request list is showing an empty value.
I think we could remove the hardcoded values and validate the form when the user presses the "send" button.
What do you think?
Honza
Flags: needinfo?(rchien)
Updated•8 years ago
|
Priority: -- → P3
Comment 2•8 years ago
|
||
Yes, totally agree.
Both of those default input values ("GET", "http://") [1] should be removed. And then set default values when validating the form at [2].
[1] http://searchfox.org/mozilla-central/rev/67f38de2443e6b613d874fcf4d2cd1f2fc3d5e97/devtools/client/netmonitor/src/components/custom-request-panel.js#92,98
[2] http://searchfox.org/mozilla-central/rev/67f38de2443e6b613d874fcf4d2cd1f2fc3d5e97/devtools/client/netmonitor/src/components/custom-request-panel.js#206,238
Flags: needinfo?(rchien)
Updated•8 years ago
|
Comment 3•8 years ago
|
||
Too late for a fix for 57.
Updated•8 years ago
|
Keywords: regression
Updated•7 years ago
|
Product: Firefox → DevTools
Comment 4•6 years ago
|
||
This is bug is no longer reproducible, closing.
Honza
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox55:
wontfix → ---
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•