commit | 2d3141fd67830dd068b0bc14218afae8acc844fc | [log] [tgz] |
---|---|---|
author | Ken Buchanan <[email protected]> | Wed Jan 17 23:08:39 2018 |
committer | Commit Bot <[email protected]> | Wed Jan 17 23:08:39 2018 |
tree | f9a6edcaf7ebdf2b1e678b318635890f22ae8ab3 | |
parent | 3948511dd9cf0e8c38b702e1e707181479f146c3 [diff] |
Time out async hit test queries This CL adds a timer to RenderWidgetTargeter to detect when a request has been sent to an unresponsive renderer. When the timer fires, the following happens: - the renderer is tracked as unresponsive so that further queries will not be sent there; - the event is sent to the parent of the unresponsive renderer if it has one; - if the main frame is unresponsive, the event is sent there anyway If a hit test query response is later received from a renderer after the timer has fired, then that renderer is no longer tracked as unresponsive and the response is discarded. Bug: 801043 Change-Id: I854cd3179170367df233bb833fd69d0ff449e6e3 Reviewed-on: https://chromium-review.googlesource.com/865815 Reviewed-by: Alex Moshchuk <[email protected]> Reviewed-by: Sadrul Chowdhury <[email protected]> Commit-Queue: Ken Buchanan <[email protected]> Cr-Commit-Position: refs/heads/master@{#529941}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .