Firefox developer console shows double scrollbars for XHR
Categories
(DevTools :: Console, defect, P2)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: volkmar.woerner, Assigned: nchevobbe)
References
Details
Attachments
(5 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
Use a site with XHR and long-line replies (e.g. twitter).
open developer console and then jump to an XHR with a long line reply
Actual results:
Developer console shows double scrollbars and positions inner container wrong.
see screenshots
Expected results:
no double scrollbars
Reporter | ||
Comment 1•6 years ago
|
||
Default view of reply of XHR in console
Reporter | ||
Comment 2•6 years ago
|
||
View of XHR reply after scrolling down with marked scrollbar
Reporter | ||
Comment 3•6 years ago
|
||
developer console view of XHR reply after scrolling view form screenshot 2 to the right with marked scrollbar
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
Thanks for the report Volkmar. I'm able to reproduce indeed
Assignee | ||
Comment 5•6 years ago
|
||
Honza, would you know why we do see this in the console and not in the netmonitor panel?
Comment 6•6 years ago
|
||
How can I reproduce this?
Honza
Assignee | ||
Comment 7•6 years ago
|
||
Steps to reproduce
- Go to https://long-one-line-response.glitch.me/
- Open the console
- Make sure the
XHR
filter button is on - Click on the button in the content page
- There should be a network message in the console output, expand it
- Select the response tab
- Scroll all the way to the bottom of the network detail panel
- Scroll the Response payload container all the way to the bottom as well
You should now see 2 horizontal scrollbars
See the attached video
Assignee | ||
Comment 8•6 years ago
|
||
This makes it a bit better:
diff --git a/devtools/client/netmonitor/src/components/SourceEditor.js b/devtools/client/netmonitor/src/components/SourceEditor.js
--- a/devtools/client/netmonitor/src/components/SourceEditor.js
+++ b/devtools/client/netmonitor/src/components/SourceEditor.js
@@ -29,7 +29,7 @@ class SourceEditor extends Component {
this.editor = new Editor({
lineNumbers: true,
- lineWrapping: false,
+ lineWrapping: true,
mode: null, // Disable auto syntax detection, but then we set mode asynchronously
readOnly: true,
theme: "mozilla",
but there's still multiple toolbars, and maybe it was set here for a reason?
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 9•6 years ago
|
||
We take this as an opportunity to fix the alignment between the XHR
badge and the URL.
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
bugherder |
Description
•