Bug 194832

Summary: Chrome freezes when doing a Translate with Intersection Observer enabled
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: DOMAssignee: Ali Juma <ajuma>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ajuma, jonlee, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.chromium.org/p/chromium/issues/detail?id=925329

Simon Fraser (smfr)
Reported 2019-02-19 14:59:41 PST
The Chrome browser freezes when doing a 'Translate' when Intersection Observer is available. To reproduce: 1. Install Chrome on iOS 12.2 beta 2. Load m.yahoo.co.jp 3. When Chrome prompts you to translate the page, tap Translate 4. Chrome hangs for a long time. I've confirmed that disabling Intersection Observer fixes this. What Chrome seems to be doing is using is injecting a user script that makes use of Intersection Observer for the Translate feature, and then not handling the flood of callbacks that happen (Chrome is spending a lot of time under UIView snapshotting).
Attachments
Simon Fraser (smfr)
Comment 1 2019-02-19 15:00:02 PST
Ali Juma
Comment 2 2019-02-19 17:03:39 PST
This is fixed in Chrome 73 (currently in Beta).
Simon Fraser (smfr)
Comment 3 2019-02-19 17:11:59 PST
Thanks for checking!
Note You need to log in before you can comment on or make changes to this bug.