Fix flaky pending app RegistrationTimeout test
PendingAppManagerImplBrowserTest.RegistrationTimeout was sometimes reporting successful service worker registration, instead of the expected timeout. Early in the test, InstallApp executes a run loop. The service worker had opportunity to register during this run loop, so the WebAppRegistrationWaiter late in the test would sometimes report successful service worker registration even with a timeout of 0. We now test an app that has no service worker. Bug: 1071317 Change-Id: I75c3ca39417c70af874b1b44f1c5398864f7e1ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153457 Commit-Queue: Eric Willigers <ericwilligers@chromium.org> Auto-Submit: Eric Willigers <ericwilligers@chromium.org> Reviewed-by:Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#759961}
Showing
Please register or sign in to comment