OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/path_service.h" | 5 #include "base/path_service.h" |
6 #include "base/strings/stringprintf.h" | 6 #include "base/strings/stringprintf.h" |
7 #include "content/public/test/browser_test_utils.h" | 7 #include "content/public/test/browser_test_utils.h" |
8 #include "content/public/test/test_utils.h" | 8 #include "content/public/test/test_utils.h" |
9 #include "extensions/browser/app_window/app_window.h" | 9 #include "extensions/browser/app_window/app_window.h" |
10 #include "extensions/browser/app_window/app_window_registry.h" | 10 #include "extensions/browser/app_window/app_window_registry.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 RunTest("testDisplayNoneWebviewRemoveChild", "web_view/apitest"); | 113 RunTest("testDisplayNoneWebviewRemoveChild", "web_view/apitest"); |
114 } | 114 } |
115 | 115 |
116 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScript) { | 116 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScript) { |
117 RunTest("testExecuteScript", "web_view/apitest"); | 117 RunTest("testExecuteScript", "web_view/apitest"); |
118 } | 118 } |
119 | 119 |
120 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScriptFail) { | 120 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScriptFail) { |
121 RunTest("testExecuteScriptFail", "web_view/apitest"); | 121 RunTest("testExecuteScriptFail", "web_view/apitest"); |
122 } | 122 } |
| 123 |
| 124 IN_PROC_BROWSER_TEST_F(WebViewAPITest, |
| 125 TestLoadAbortChromeExtensionURLWrongPartition) { |
| 126 RunTest("testLoadAbortChromeExtensionURLWrongPartition", "web_view/apitest"); |
| 127 } |
| 128 |
| 129 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadAbortIllegalChromeURL) { |
| 130 RunTest("testLoadAbortIllegalChromeURL", "web_view/apitest"); |
| 131 } |
| 132 |
| 133 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadAbortIllegalFileURL) { |
| 134 RunTest("testLoadAbortIllegalFileURL", "web_view/apitest"); |
| 135 } |
| 136 |
| 137 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadAbortIllegalJavaScriptURL) { |
| 138 RunTest("testLoadAbortIllegalJavaScriptURL", "web_view/apitest"); |
| 139 } |
| 140 |
| 141 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadAbortInvalidNavigation) { |
| 142 RunTest("testLoadAbortInvalidNavigation", "web_view/apitest"); |
| 143 } |
| 144 |
| 145 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadAbortNonWebSafeScheme) { |
| 146 RunTest("testLoadAbortNonWebSafeScheme", "web_view/apitest"); |
| 147 } |
| 148 |
| 149 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadProgressEvent) { |
| 150 RunTest("testLoadProgressEvent", "web_view/apitest"); |
| 151 } |
| 152 |
123 } // namespace extensions | 153 } // namespace extensions |
OLD | NEW |