-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[headless] Added async callback option to Simple CDP protocol.
DevTools backend assumes that response and event handling is asynchronous, and not respecting this assumption causes use after free problems, see the associated bug. This CL introduces async response/event callback option for the Simple CDP client. Drive by: Provide cleaner headless_shell shutdown routine. (cherry picked from commit 7493091) Bug: 1382993 Change-Id: I14b37079f1b7488777ebcf20a808b3bfb9eb44c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4021401 Commit-Queue: Peter Kvitek <kvitekp@chromium.org> Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1070102} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4027032 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/branch-heads/5414@{#47} Cr-Branched-From: 4417ee5-refs/heads/main@{#1070088}
- Loading branch information
Peter Kvitek
authored and
Chromium LUCI CQ
committed
Nov 15, 2022
1 parent
5b6a530
commit fd4c293
Showing
3 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters