Showing XML response payload freezes Firefox
Categories
(DevTools :: Netmonitor, defect, P2)
Tracking
(firefox-esr60 unaffected, firefox62 unaffected, firefox63 unaffected, firefox64 wontfix, firefox65 wontfix, firefox66 wontfix, firefox67 fixed)
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox62 | --- | unaffected |
firefox63 | --- | unaffected |
firefox64 | --- | wontfix |
firefox65 | --- | wontfix |
firefox66 | --- | wontfix |
firefox67 | --- | fixed |
People
(Reporter: nachtigall, Assigned: amychan331)
References
Details
(Keywords: regression)
Attachments
(6 files, 4 obsolete files)
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Assignee | ||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 15•6 years ago
|
||
Comment 17•6 years ago
|
||
@Florens: can you please look at comment #15, thanks!
Honza
Comment 18•6 years ago
|
||
Too late for Fx65 at this point with the RC coming up next week :(
Comment 19•6 years ago
|
||
@Amy: I tested your patch and found a way how to fix the scroll bar problem.
Can you please undo all your changes and keep just the following:
+
+.network-monitor .tree-container .treeTable .editor-row-container pre {
+ padding-left: 5px;
+ position: absolute;
+}
+
- Note the position: absolute;
Thanks!
Honza
Assignee | ||
Comment 20•6 years ago
|
||
Unfortunately, after undoing the changes and applying the positioning, the text in the container all overlaps each other into a single line - I have attach the image of what happened. I have also tried to move the absolute positioning to ".network-monitor .tree-container .treeTable .editor-row-container" and ".network-monitor .tree-container .treeTable tr:last-child.editor-row-container". The text either overlap like the attached image, or it overlaps the text in the first row container panel. I have also tried to change the height to 100% while absolute positioning with similar results.
Comment 21•6 years ago
|
||
(In reply to Amy Chan (:amychan331) from comment #20)
Unfortunately, after undoing the changes and applying the positioning, the text in the container all overlaps each other into a single line
I can't reproduce this.
Can you try my patch and see if it also causes the issue?
If yes, can you point me to a test case I could use to repro this on my machine?
Thanks!
Honza
Assignee | ||
Comment 22•6 years ago
|
||
I have tried the patch. I have also update to the newest Nightly, had the laptop update and mach build it overnight, then apply the patch again. Then I also add in the position: absolute. The same result as when I first started - double scrollbar where the horizontal scrollbar is viewable only when scroll to the bottom.
What do you mean by test case?
Comment 23•6 years ago
|
||
(In reply to Amy Chan (:amychan331) from comment #22)
What do you mean by test case?
Specific page I could use for testing (+ some instructions about what exactly to do to see the problem)
Thanks
Honza
Assignee | ||
Comment 24•6 years ago
|
||
I have been using the MOF doc for omg.org at https://www.omg.org/spec/CWM/20020501/02-05-01.xml for large XML file, and either use the https://www.umweltpaktapp.bayern.de/ link as Jens did in the initial comment or pick a file in https://github.com/zemirco/sf-city-lots-json for large JSON files.
Comment 25•6 years ago
|
||
Amy, I am attaching a new patch, can you please try it out?
Here are my STRs
- Load http://janodvarko.cz/tests/bugzilla/1514750/
- Open the Toolbox and select the Network panel
- Click the button on the page
- Select the request and the Response side panel
- The UI should render the (big) JSON response as plain text.
Honza
Comment 26•6 years ago
|
||
Try push shows some failures though:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c2ab351ec89656fc7266bdf30386bb1196754572&selectedJob=226185233
Honza
Comment 27•6 years ago
|
||
New patch attached.
Amy, can you please test this patch?
Thanks!
Honza
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 28•6 years ago
|
||
I applied the patch and tested with both XML and JSON file. The result for both XML and JSON is similar to before - vertical scrollbar visible, horizontal visible only if scroll down. I use http://api.nobelprize.org/v1/prize.json for JSON, https://www.omg.org/spec/CWM/20020501/02-05-01.xml for XML.
Comment 29•6 years ago
|
||
Hey amy, any chance we will get this fixed for 66, or should I mark it fix-optional?
Assignee | ||
Comment 30•6 years ago
|
||
At this rate, I feel that Honza would probably know better I do. The response payload panel now no longer freeze with large XML files, but I haven't been able to make progress in term of making the horizontal bar visible without scrolling down. I have tried various flexbox and css implementation - even trying out something different everyday for a week at one point in fact - but I am completely stuck! So I am open to someone else working on this or offer suggestions.
Updated•6 years ago
|
Comment 32•6 years ago
|
||
(In reply to Amy Chan (:amychan331) from comment #30)
The response payload panel now no longer freeze with large XML files, but I haven't been able to make progress in term of making the horizontal bar visible without scrolling down.
Understand. I think that it's more important at this point to fix the "freezing" problem and create a follow up for the scrollbar issue.
Can you please look at the attached patch (it's yours but updated), test it, comment it and if you don't see any issues, upload it on Phabricator, please?
Try push looks good to me:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=afaa4ac22dbaa13bb3c2a95d4553aa4a2c5014c2
Thanks for the help!
Honza
Updated•6 years ago
|
Is this ready to land?
Assignee | ||
Comment 34•6 years ago
|
||
Sorry for the late response. I tested the patch. It worked fine and I uploaded to Phabricator.
Comment 35•6 years ago
|
||
Comment 36•6 years ago
|
||
bugherder |
Assignee | ||
Comment 37•6 years ago
|
||
A follow up bug for the scrollbar issue is now open at https://bugzilla.mozilla.org/show_bug.cgi?id=1531526 if anyone wants to work on it!
Updated•6 years ago
|
Updated•6 years ago
|
Description
•