Fix a few NetErrorAutoReloader browser tests
The disabled tests cover the effect of a WebContents' visibility on its auto-reload behavior. It turns out that visibility of WebContents within content_shell behaves somewhat unexpectedly -- at least on Mac -- resulting in the WebContents non-deterministically becoming visible during a navigation, despite being explicitly hidden by test logic prior to the navigation. In order to avoid the resulting flakiness, this rearranges the test logic so that forced visibility changes are imposed *after* the relevant navigation rather than before it. Fixed: 1110259 Change-Id: I38ab9d22a225018a8c5a1762cac15af45bf846e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2324163Reviewed-by:Matt Menke <mmenke@chromium.org> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#792470}
Showing
Please register or sign in to comment