commit | 6f348930aacb2ef5432e6bc5671d3e50c0dd7dfb | [log] [tgz] |
---|---|---|
author | alexclarke <alexclarke@chromium.org> | Mon Aug 01 16:28:57 2016 |
committer | Commit bot <commit-bot@chromium.org> | Mon Aug 01 16:32:02 2016 |
tree | 4d3f0ed592e1368d89142b402cd4106c59c7af27 | |
parent | 451b6e4a2fd610565ed0102894b9975472ed2414 [diff] |
HeadlessDevToolsClientImpl::DispatchEvent to post a task DevTools expects events to be processed asynchronously and if handlers respond synchronously things can break. This patch works around that by posting a task to run the event handler. BUG=546953 Review-Url: https://codereview.chromium.org/2200663002 Cr-Commit-Position: refs/heads/master@{#408976}