view-source:https://discourse.mozilla.org/ takes 10 minutes+ to load and makes the tab unresponsive (70% time spent in nsLineBox::IndexOf)
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: zn7esutb, Unassigned)
References
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0
Steps to reproduce:
I visited view-source:https://discourse.mozilla.org/.
Actual results:
The browser slowed to a crawl until the tab was closed and did not ever actually load the source code.
Expected results:
The source code should have been loaded, and the tab should not have affected the rest of the browser.
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Reporter | ||
Comment 3•1 year ago
|
||
Most Mozilla tabs ceased to load.
Reporter | ||
Comment 4•1 year ago
|
||
It works flawlessly on google-chrome-unstable-120.0.6090.0-1.src.rpm
on cpe:/o:opensuse:tumbleweed:20231106.
Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 6•1 year ago
•
|
||
Profile (8 minutes, incomplete) : https://share.firefox.dev/3ugvppz
Can confirm that the view-source continued to load for >10minutes
Can repro on a build from 2019. So not a recent regression
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 7•1 year ago
|
||
This sounds similar to reports such as bug 726637 and more specifically bug 727831.
Comment 8•1 year ago
|
||
The severity field is not set for this bug.
:TYLin, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Comment 9•3 months ago
•
|
||
Profile with bug 727831 fixed:
With wrapping : https://share.firefox.dev/3XetePn (truncated, took more than 1 minute after which i got bored)
Without wrapping: https://share.firefox.dev/4dERbFG (truncated, took more than 1 minute after which i got bored)
Comment 10•3 months ago
|
||
Hmm. So the profile is no longer dominated by nsLineBox::IndexOf
, so I guess that's progress. But it's still taking far too long, with a surprisingly large amount of time apparently in SVG-related stuff, and also continuation-frame management.
Comment 11•3 months ago
•
|
||
HEre is a complete profile: https://share.firefox.dev/ (at 2ms sampling interval so each sample is equal to 4ms of wall clock time)
Profile from a fresh instance: https://share.firefox.dev/3MCEbEF (12m+ and then i got bored)
Comment 12•3 months ago
|
||
Comment 13•16 days ago
|
||
Proifle with latest Nightly: https://share.firefox.dev/3UpMwzu (3m+ and then I got bored)
Description
•