Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(759)

Unified Diff: chrome/browser/autofill/autofill_interactive_uitest.cc

Issue 2847313002: Update some host_resolver()->AddRules in chrome/browser. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_interactive_uitest.cc
diff --git a/chrome/browser/autofill/autofill_interactive_uitest.cc b/chrome/browser/autofill/autofill_interactive_uitest.cc
index cd67195ee1d913c3f0b79eb84e0632611a4cf2ee..a2a0189e23e257b0c32fa66b8f0a7a59ccc4b6a0 100644
--- a/chrome/browser/autofill/autofill_interactive_uitest.cc
+++ b/chrome/browser/autofill/autofill_interactive_uitest.cc
@@ -254,8 +254,9 @@ class AutofillInteractiveTest : public InProcessBrowserTest {
reset_mouse = gfx::Point(reset_mouse.x() + 5, reset_mouse.y() + 5);
ASSERT_TRUE(ui_test_utils::SendMouseMoveSync(reset_mouse));
+ // Ensure that |embedded_test_server()| serves both domains used below.
+ host_resolver()->AddRule("*", "127.0.0.1");
ASSERT_TRUE(embedded_test_server()->Start());
- InProcessBrowserTest::SetUpOnMainThread();
}
void TearDownOnMainThread() override {
@@ -1786,8 +1787,6 @@ class AutofillInteractiveIsolationTest : public AutofillInteractiveTest {
#endif
IN_PROC_BROWSER_TEST_F(AutofillInteractiveIsolationTest,
MAYBE_SimpleCrossSiteFill) {
- // Ensure that |embedded_test_server()| serves both domains used below.
- host_resolver()->AddRule("*", "127.0.0.1");
CreateTestProfile();
@@ -1833,8 +1832,6 @@ IN_PROC_BROWSER_TEST_F(AutofillInteractiveIsolationTest,
// This test verifies that credit card (payment card list) popup works when the
// form is inside an OOPIF.
IN_PROC_BROWSER_TEST_F(AutofillInteractiveTest, CrossSitePaymentForms) {
- // Ensure that |embedded_test_server()| serves both domains used below.
- host_resolver()->AddRule("*", "127.0.0.1");
// Main frame is on a.com, iframe is on b.com.
GURL url = embedded_test_server()->GetURL(
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698