[content] Fix navigation in LockObserver browser tests.
LockObserver browser tests were disabled on Android Kit Kat because of flaky failures of the navigation performed in SetUpOnMainThread(). Since it is not important to perform the navigation from SetUpOnMainThread(), this CL moves it to the test body. The failure seems related to this comment: https://cs.chromium.org/chromium/src/content/public/test/browser_test_base.cc?l=650-664&rcl=786a9194459684dc7a6fded9cabfc0c9b9b37174 This CL also removes the ContentMockCertVerifier in LockManager browser tests, and instead specifies the switches::kIgnoreCertificateErrors command-line flag, which is simpler. Bug: 1011765, 1014015 Change-Id: Ia1e140605a6734a95012f5c6019c6cef4918f372 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1854901 Commit-Queue: François Doray <fdoray@chromium.org> Reviewed-by:Joshua Bell <jsbell@chromium.org> Cr-Commit-Position: refs/heads/master@{#709888}
Showing
Please register or sign in to comment