Defer flushing the touch queue when all touch handlers removed
Currently, the touch event queue will flush itself when it's notified that all touch handlers have been removed. However, this effectively overrides the ack of any outstanding touch that is being handled. In particular, the touch may have been the cause of handler removal *and* been preventDefault'ed, in which case we should respect the preventDeafult. Defer flushing the queue when all handlers have been removed, instead waiting for any outstanding touch ack. Any additional pending events will be automatically flushed when the ack is received. BUG=406916 Review URL: https://codereview.chromium.org/521453002 Cr-Commit-Position: refs/heads/master@{#292685}
Showing
Please register or sign in to comment