New issue
Advanced search Search tips

Issue 661177 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 237433
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Bug-Regression
M56



Sign in to add a comment

Using a large text value in a input text causes massive browser lag and freezing when focused

Reported by terrence...@gmail.com, Nov 1 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

Steps to reproduce the problem:
1. Load JS fiddle:
https://jsfiddle.net/xxkepffc/

2. Click on text box

3. Try to click on something else. Notice the browser has frozen. The more UI elements you have, the longer it freezes for.

Alternative method to replicate:

1. Create an <input type="text"> control

2. Assign a very large data:image/png URL to it via control.value property.

3. Click on the textbox

What is the expected behavior?
No freezing

What went wrong?
The browser freezes for a duration

Did this work before? Yes 48

Chrome version: 54.0.2840.71  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 23.0 r0

This doesn't happen in FF or IE/Edge, and did not used to happen in Chrome.
 

Comment 1 by bokan@chromium.org, Nov 1 2016

Components: -Blink Blink>Paint
Labels: -OS-Windows OS-All
Status: Untriaged (was: Unconfirmed)
Thanks for the report, managed to repro in 56.0.2902.0 on Linux. Looks like we're stuck in a multisecond paint. Trace attached.
trace_largetextbox.json.gz
1.9 MB Download
> Thanks for the report

No problem, hopefully it can be fixed easily!
Labels: Needs-Bisect
Status: Available (was: Untriaged)
I wonder if this is related to caret painting.

Requesting a bisect to see if we can narrow it to a particular change.
Cc: jmukthavaram@chromium.org
Labels: -Pri-2 -Needs-Bisect M56 hasbisect Pri-1
Owner: e...@chromium.org
Status: Assigned (was: Available)
Able to reproduce this issue on windows 10, Mac 10.11.4,Linux Ubuntu 14.04 with Chrome stable version-54.0.2840.87 and Canary-56.0.2907.0.

Manual Bisect:
--------------
Bad Build-->49.0.2574.0--Revision(361527)

Good Build-->49.0.2573.0--Revision(361233)

Bisect Tool Info:
-----------------
CL-

https://chromium.googlesource.com/chromium/src/+log/8844981696a05f72b6814771a74bec4e410ad71e..32305380195864dce4ac3ad965302a338e4c92d0

Possible suspect:

https://chromium.googlesource.com/chromium/src/+/fa7fc32c5940dfd3d734ed3231b1295da4c3303e

Review URL: https://codereview.chromium.org/1474673003

eae@ Kindly take a look and please help us to reassign this issue to a right owner if not with respect to this change.

Thanks.!

Comment 5 by e...@chromium.org, Nov 2 2016

Mergedinto: 237433
Status: Duplicate (was: Assigned)

Sign in to add a comment