Index: chrome/browser/apps/guest_view/web_view_browsertest.cc |
diff --git a/chrome/browser/apps/guest_view/web_view_browsertest.cc b/chrome/browser/apps/guest_view/web_view_browsertest.cc |
index 750604c7d3c2ccdb91a89afbdeb3031f25385ba2..4cbf1af17314593f055272ef851588e6aaf70dc1 100644 |
--- a/chrome/browser/apps/guest_view/web_view_browsertest.cc |
+++ b/chrome/browser/apps/guest_view/web_view_browsertest.cc |
@@ -1113,6 +1113,53 @@ IN_PROC_BROWSER_TEST_F(WebViewTest, |
NO_TEST_SERVER); |
} |
+IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestAddContentScript) { |
+ TestHelper("testAddContentScript", "web_view/shim", NEEDS_TEST_SERVER); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestAddMultipleContentScripts) { |
+ TestHelper("testAddMultipleContentScripts", "web_view/shim", |
+ NEEDS_TEST_SERVER); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F( |
+ WebViewTest, |
+ Shim_TestAddContentScriptWithSameNameShouldOverwriteTheExistingOne) { |
+ TestHelper("testAddContentScriptWithSameNameShouldOverwriteTheExistingOne", |
+ "web_view/shim", NEEDS_TEST_SERVER); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F( |
+ WebViewTest, |
+ Shim_TestAddContentScriptToOneWebViewShouldNotInjectToTheOtherWebView) { |
+ TestHelper("testAddContentScriptToOneWebViewShouldNotInjectToTheOtherWebView", |
+ "web_view/shim", NEEDS_TEST_SERVER); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestAddAndRemoveContentScripts) { |
+ TestHelper("testAddAndRemoveContentScripts", "web_view/shim", |
+ NEEDS_TEST_SERVER); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(WebViewTest, |
+ Shim_TestAddContentScriptsWithNewWindowAPI) { |
+ TestHelper("testAddContentScriptsWithNewWindowAPI", "web_view/shim", |
+ NEEDS_TEST_SERVER); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F( |
+ WebViewTest, |
+ Shim_TestContentScriptIsInjectedAfterTerminateAndReloadWebView) { |
+ TestHelper("testContentScriptIsInjectedAfterTerminateAndReloadWebView", |
+ "web_view/shim", NEEDS_TEST_SERVER); |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(WebViewTest, |
+ Shim_TestContentScriptExistsAsLongAsWebViewTagExists) { |
+ TestHelper("testContentScriptExistsAsLongAsWebViewTagExists", "web_view/shim", |
+ NEEDS_TEST_SERVER); |
+} |
+ |
IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestExecuteScriptFail) { |
#if defined(OS_WIN) |
// Flaky on XP bot http://crbug.com/266185 |