Open Bug 1911022 Opened 2 months ago Updated 12 days ago

Drag-and-drop of (large amount of) text on address bar causes 7s hang on the parent process

Categories

(Firefox :: Address Bar, defect, P2)

defect

Tracking

()

Performance Impact medium
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- affected
firefox128 --- wontfix
firefox129 --- wontfix
firefox130 --- wontfix
firefox131 --- wontfix

People

(Reporter: mayankleoboy1, Unassigned, NeedInfo)

References

(Regression)

Details

(Keywords: perf, regression, Whiteboard: [sng][search-performance])

Attachments

(2 files)

STR:

  1. Open the attached testcase in the browser
  2. Select all the text (Ctrl+A) and then drag-and-drop the selected text to the address bar

AR: The whole browser freezes (for 7 seconds)
ER: Not so

Profile: https://share.firefox.dev/3LJu4xg

Bisection:
Bug 1841869 - entering "abc @xyz.[TLD]" in address bar opens a prompt regarding loading "xyz.[TLD]" instead of searching for "abc @xyz.[TLD]" on the default search engine.r=adw

Differential Revision: https://phabricator.services.mozilla.com/D198196

Attached file about:support
Summary: Drag-and-drop of text on address bar causes 7s hang on the parent process → Drag-and-drop of (large amount of) text on address bar causes 7s hang on the parent process
Attached file test1.html
Flags: needinfo?(adw)

Maybe the regex used in the regressor bug needs to be more specialized? Or an upper bound is needed on the total time spent in searching? Or not do the search in parent process at all.

Set release status flags based on info from the regressing bug 1841869

The regex should definitely be applied to a partial string, or more specialized.

Severity: -- → S3
Performance Impact: --- → ?
Keywords: perf
Priority: -- → P2
Whiteboard: [sng][search-performance]

Set release status flags based on info from the regressing bug 1841869

The Performance Impact Calculator has determined this bug's performance impact to be medium. If you'd like to request re-triage, you can reset the Performance Impact flag to "?" or needinfo the triage sheriff.

Platforms: [x] Windows [x] macOS [x] Linux
Impact on browser: Causes noticeable jank
Configuration: Rare
[x] Able to reproduce locally

Performance Impact: ? → medium
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: