Drag-and-drop 5MB of text on the URL-Bar hangs teh parent-process, spending 8s in nsIURIFixup.getFixupURIInfo
Categories
(Firefox :: Address Bar, defect, P2)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
Details
(Keywords: perf, Whiteboard: [sng])
Attachments
(1 file)
|
4.73 MB,
application/x-javascript
|
Details |
Open a nee blank tab
Download the attached sample text to your local machine
Select all the text and drag-and-drop the text to the URL-bar
AR: Long jank that hangs the parent process
ER: Not so?
I thought that bug 2002920 would have fixed this?
Profile: https://share.firefox.dev/4sInZVL
| Reporter | ||
Updated•4 months ago
|
| Reporter | ||
Comment 1•4 months ago
|
||
And if you copy-paste the text in the URL-bar, the text seems to be processed twice , or atleast takes twice the time: https://share.firefox.dev/48kl5hw
Updated•4 months ago
|
Comment 2•4 months ago
|
||
(In reply to Mayank Bansal from comment #0)
I thought that bug 2002920 would have fixed this?
not all the hangs come from the same code, that bug fixed the dragover and parsing, it looks like there's other stuff that happens after the drop when a search starts.
Most of the time in the profile is spent in matchUnknownUrl when it tries to fixup the string, and it's the Regexes .test calls. I'm pretty sure we can avoid some or most of them if we can easily establish this is not a URI, or at least limit them to substrings.
Updated•4 months ago
|
Description
•