Set TouchStartExpectedSoon only after we seen a blocking event
This issue is causing by: 1. MainThreadScheduler set TouchStartExpectedSoon based on the gesture event sequence when page has touchstart event handler 2. Scroll latching makes mouse wheels to gesture events. We change it the check from page has touchstart event handler to we actually cc blocking event. In the issue case, page has touchstart event handler but no wheel event handler, user scroll with wheel will not cause a cc blocking event so it would not block the network request. We also change TouchStartExpectedSoon to BlockingInputExpectedSoon. Bug: 828235 Change-Id: Iefff163ca091f2761542a527e2c4432bc1078f4c Reviewed-on: https://chromium-review.googlesource.com/1075719 Commit-Queue: Jianpeng Chao <chaopeng@chromium.org> Reviewed-by:Sami Kyöstilä <skyostil@chromium.org> Reviewed-by:
Alexander Timin <altimin@chromium.org> Cr-Commit-Position: refs/heads/master@{#568614}
Showing
This diff is collapsed.
Please register or sign in to comment