Bug 194832
| Summary: | Chrome freezes when doing a Translate with Intersection Observer enabled | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | DOM | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
rdar://problem/47875681
Ali Juma
This is fixed in Chrome 73 (currently in Beta).
Simon Fraser (smfr)
Thanks for checking!