Create a screenshot if ShowAndFocusNativeWindow() fails
If ShowAndFocusNativeWindow() fails, the always_on_top_window_killer_win does not capture a screenshot because the test fails with a CHECK instead of a timeout. This CL just makes sure that a screenshot is captured every time ShowAndFocusNativeWindow() fails. Bug: 711256 Change-Id: Ica8a4ff7493ca0de36a17e147c9c2806c275f30c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1559173 Commit-Queue: Colin Blundell <blundell@chromium.org> Reviewed-by:Colin Blundell <blundell@chromium.org> Reviewed-by:
Greg Thompson <grt@chromium.org> Cr-Commit-Position: refs/heads/master@{#649060}
Showing
Please register or sign in to comment