Update DevToolsWindow to handle when Browser cannot be created.
DevToolsWindow::CreateDevToolsBrowser() assumes that a browser object can be created in all conditions which is not true and can result in a crash. This is fixed by checking for possibility of Browser creation and ignoring passed actions if Browser does not exist. Bug: 1162796 Change-Id: Ibb7cd93b5fa73d00b1223597896e37908e55ad84 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2609133Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Commit-Queue: Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/master@{#840561}
Showing
Please register or sign in to comment