New issue
Advanced search Search tips

Issue 624842 link

Starred by 4 users

Issue metadata

Status: Duplicate
Merged: issue 237433
Owner: ----
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Blocked on:
issue 668408



Sign in to add a comment

Chrome freezes when activated an input with long text if spell check is enabled.

Reported by zhut...@gmail.com, Jun 30 2016

Issue description

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

Steps to reproduce the problem:
1. create a simple input with no maxLength, like <input name="textVeryLong" value="lengthy text> 65Kbs"
2. Click the input to activate it
3. Chrome freezes, IE/FF are both OK.

What is the expected behavior?
no browser freeze

What went wrong?
It looks like Chrome is trying to check the spell for the input while it never finishes.

Did this work before? N/A 

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

Disabling Chrome's spell check settings or adding the HTML spellcheck attribute (="false") can walk around the issue.
 

Comment 1 by zhut...@gmail.com, Jun 30 2016

Same issue on Ubuntu.

Comment 2 by zhut...@gmail.com, Jun 30 2016

Text patterns might also matter.
ChromeFreezes.html
77.3 KB View Download
 Issue 659397  has been merged into this issue.
Components: -UI Blink>Editing>Spellcheck Blink>Paint
Labels: -OS-Windows Performance OS-All
Status: Available (was: Unconfirmed)
Took a trace with the text length greatly shrunken so that the page became responsive before Chrome prompts tab not responding.

The culprits are SpellChecker::markAndReplaceFor and FrameView::synchronizedPaint.


624842.png
90.6 KB View Download
Blockedon: 668408
Mergedinto: 237433
Status: Duplicate (was: Available)
Merged to old and much stared issue.

Sign in to add a comment