Index: chrome/browser/extensions/execute_script_apitest.cc |
diff --git a/chrome/browser/extensions/execute_script_apitest.cc b/chrome/browser/extensions/execute_script_apitest.cc |
index c2d96d7ea69e722b2d3993d3a5e7dddcd0676aa4..f28ba8c68234c049222475598ca9a3cd648009dc 100644 |
--- a/chrome/browser/extensions/execute_script_apitest.cc |
+++ b/chrome/browser/extensions/execute_script_apitest.cc |
@@ -18,14 +18,14 @@ class ExecuteScriptApiTest : public ExtensionApiTest { |
// If failing, mark disabled and update http://crbug.com/92105. |
IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, ExecuteScriptBasic) { |
SetupDelayedHostResolver(); |
- ASSERT_TRUE(StartTestServer()); |
+ ASSERT_TRUE(StartEmbeddedTestServer()); |
ASSERT_TRUE(RunExtensionTest("executescript/basic")) << message_; |
} |
// If failing, mark disabled and update http://crbug.com/92105. |
IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, ExecuteScriptInFrame) { |
SetupDelayedHostResolver(); |
- ASSERT_TRUE(StartTestServer()); |
+ ASSERT_TRUE(StartEmbeddedTestServer()); |
ASSERT_TRUE(RunExtensionTest("executescript/in_frame")) << message_; |
} |
@@ -39,20 +39,20 @@ IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, ExecuteScriptInFrame) { |
IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, MAYBE_ExecuteScriptPermissions) { |
SetupDelayedHostResolver(); |
- ASSERT_TRUE(StartTestServer()); |
+ ASSERT_TRUE(StartEmbeddedTestServer()); |
ASSERT_TRUE(RunExtensionTest("executescript/permissions")) << message_; |
} |
// If failing, mark disabled and update http://crbug.com/84760. |
IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, ExecuteScriptFileAfterClose) { |
host_resolver()->AddRule("b.com", "127.0.0.1"); |
- ASSERT_TRUE(StartTestServer()); |
+ ASSERT_TRUE(StartEmbeddedTestServer()); |
ASSERT_TRUE(RunExtensionTest("executescript/file_after_close")) << message_; |
} |
// If crashing, mark disabled and update http://crbug.com/67774. |
IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, ExecuteScriptFragmentNavigation) { |
- ASSERT_TRUE(StartTestServer()); |
+ ASSERT_TRUE(StartEmbeddedTestServer()); |
const char* extension_name = "executescript/fragment"; |
ASSERT_TRUE(RunExtensionTest(extension_name)) << message_; |
} |
@@ -67,7 +67,7 @@ IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, |
MAYBE_NavigationRaceExecuteScript) { |
host_resolver()->AddRule("a.com", "127.0.0.1"); |
host_resolver()->AddRule("b.com", "127.0.0.1"); |
- ASSERT_TRUE(StartTestServer()); |
+ ASSERT_TRUE(StartEmbeddedTestServer()); |
ASSERT_TRUE(RunExtensionSubtest("executescript/navigation_race", |
"execute_script.html")) << message_; |
} |
@@ -75,7 +75,7 @@ IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, |
IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, NavigationRaceJavaScriptURL) { |
host_resolver()->AddRule("a.com", "127.0.0.1"); |
host_resolver()->AddRule("b.com", "127.0.0.1"); |
- ASSERT_TRUE(StartTestServer()); |
+ ASSERT_TRUE(StartEmbeddedTestServer()); |
ASSERT_TRUE(RunExtensionSubtest("executescript/navigation_race", |
"javascript_url.html")) << message_; |
} |
@@ -83,18 +83,18 @@ IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, NavigationRaceJavaScriptURL) { |
// If failing, mark disabled and update http://crbug.com/92105. |
IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, ExecuteScriptFrameAfterLoad) { |
SetupDelayedHostResolver(); |
- ASSERT_TRUE(StartTestServer()); |
+ ASSERT_TRUE(StartEmbeddedTestServer()); |
ASSERT_TRUE(RunExtensionTest("executescript/frame_after_load")) << message_; |
} |
IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, ExecuteScriptRunAt) { |
SetupDelayedHostResolver(); |
- ASSERT_TRUE(StartTestServer()); |
+ ASSERT_TRUE(StartEmbeddedTestServer()); |
ASSERT_TRUE(RunExtensionTest("executescript/run_at")) << message_; |
} |
IN_PROC_BROWSER_TEST_F(ExecuteScriptApiTest, ExecuteScriptCallback) { |
SetupDelayedHostResolver(); |
- ASSERT_TRUE(StartTestServer()); |
+ ASSERT_TRUE(StartEmbeddedTestServer()); |
ASSERT_TRUE(RunExtensionTest("executescript/callback")) << message_; |
} |