Commit ee6039d7 authored by Michael van Ouwerkerk's avatar Michael van Ouwerkerk Committed by Commit Bot

Return early in LockManagerBrowserTest::SetUpOnMainThread.

The navigation that fails is in SetUpOnMainThread, before RunTestOnMainThread.

Bug: 1011765
Change-Id: I23d551e7ccd57aeaf31d6aed2fac2a0c3be73c46
TBR: fdoray
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1848377Reviewed-by: default avatarMichael van Ouwerkerk <mvanouwerkerk@chromium.org>
Commit-Queue: Michael van Ouwerkerk <mvanouwerkerk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704135}
parent 19af63b7
...@@ -82,6 +82,10 @@ class LockManagerBrowserTest : public ContentBrowserTest { ...@@ -82,6 +82,10 @@ class LockManagerBrowserTest : public ContentBrowserTest {
void SetUpOnMainThread() override { void SetUpOnMainThread() override {
ContentBrowserTest::SetUpOnMainThread(); ContentBrowserTest::SetUpOnMainThread();
// TODO(https://crbug.com/1011765): Navigation fails on Android Kit Kat.
if (!ShouldRunTest())
return;
original_client_ = SetBrowserClientForTesting(&test_browser_client_); original_client_ = SetBrowserClientForTesting(&test_browser_client_);
host_resolver()->AddRule("*", "127.0.0.1"); host_resolver()->AddRule("*", "127.0.0.1");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment