AW: fix and renable onPageFinished test
No change to production logic. This fixes a bad test and reenables it. In the test, the server and test were deadlocked: the server was waiting for the test to finish, while the test couldn't finish because the server wouldn't serve the second page. Instead, let the server complete the request shortly after we invoke stopLoading(). This unblocks the server, but still guarantees the load will still be provisional at the time we invoke stopLoading(). --num_retries=0 --break-on-failure --repeat=1000 \ -f ClientOnPageFinishedTest#testCalledAfterRedirectedUrlIsOverridden Bug: 683384 Test: run_webview_instrumentation_test_apk \ Change-Id: I21be548fb1fd57724351fd372cc78d00062489b2 Reviewed-on: https://chromium-review.googlesource.com/1100547Reviewed-by:Bo <boliu@chromium.org> Commit-Queue: Nate Fischer <ntfschr@chromium.org> Cr-Commit-Position: refs/heads/master@{#567840}
Showing
Please register or sign in to comment