// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/test/base/in_process_browser_test.h" #include "chrome/test/base/ui_test_utils.h" #include "content/public/test/browser_test.h" #include "net/dns/mock_host_resolver.h" class UITestUtilsBrowserTest : public InProcessBrowserTest { … }; // This is a regression test for crbug.com/1187241, where // NavigateToURLWithDisposition incorrectly inferred the index in the tab strip // of the second background tab and waited for the wrong tab to finish loading // (which never happened). IN_PROC_BROWSER_TEST_F(UITestUtilsBrowserTest, OpenTwoTabsInBackground) { … }