OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <queue> | 5 #include <queue> |
6 #include <set> | 6 #include <set> |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/callback_helpers.h" | 9 #include "base/callback_helpers.h" |
10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1291 #define MAYBE_Shim_TestChromeExtensionRelativePath \ | 1291 #define MAYBE_Shim_TestChromeExtensionRelativePath \ |
1292 Shim_TestChromeExtensionRelativePath | 1292 Shim_TestChromeExtensionRelativePath |
1293 #endif | 1293 #endif |
1294 IN_PROC_BROWSER_TEST_P(WebViewTest, | 1294 IN_PROC_BROWSER_TEST_P(WebViewTest, |
1295 MAYBE_Shim_TestChromeExtensionRelativePath) { | 1295 MAYBE_Shim_TestChromeExtensionRelativePath) { |
1296 TestHelper("testChromeExtensionRelativePath", | 1296 TestHelper("testChromeExtensionRelativePath", |
1297 "web_view/shim", | 1297 "web_view/shim", |
1298 NO_TEST_SERVER); | 1298 NO_TEST_SERVER); |
1299 } | 1299 } |
1300 | 1300 |
| 1301 IN_PROC_BROWSER_TEST_P(WebViewTest, |
| 1302 Shim_TestContentInitiatedNavigationToDataUrlBlocked) { |
| 1303 TestHelper("testContentInitiatedNavigationToDataUrlBlocked", "web_view/shim", |
| 1304 NO_TEST_SERVER); |
| 1305 } |
| 1306 |
1301 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestDisplayNoneWebviewLoad) { | 1307 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestDisplayNoneWebviewLoad) { |
1302 TestHelper("testDisplayNoneWebviewLoad", "web_view/shim", NO_TEST_SERVER); | 1308 TestHelper("testDisplayNoneWebviewLoad", "web_view/shim", NO_TEST_SERVER); |
1303 } | 1309 } |
1304 | 1310 |
1305 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestDisplayNoneWebviewRemoveChild) { | 1311 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestDisplayNoneWebviewRemoveChild) { |
1306 // http://crbug.com/585652 | 1312 // http://crbug.com/585652 |
1307 if (base::FeatureList::IsEnabled(::features::kGuestViewCrossProcessFrames)) | 1313 if (base::FeatureList::IsEnabled(::features::kGuestViewCrossProcessFrames)) |
1308 return; | 1314 return; |
1309 TestHelper("testDisplayNoneWebviewRemoveChild", | 1315 TestHelper("testDisplayNoneWebviewRemoveChild", |
1310 "web_view/shim", NO_TEST_SERVER); | 1316 "web_view/shim", NO_TEST_SERVER); |
(...skipping 2808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4119 ClosingChromeSignInShouldNotCrash) { | 4125 ClosingChromeSignInShouldNotCrash) { |
4120 GURL signin_url{"chrome://chrome-signin"}; | 4126 GURL signin_url{"chrome://chrome-signin"}; |
4121 | 4127 |
4122 AddTabAtIndex(0, signin_url, ui::PAGE_TRANSITION_TYPED); | 4128 AddTabAtIndex(0, signin_url, ui::PAGE_TRANSITION_TYPED); |
4123 AddTabAtIndex(1, signin_url, ui::PAGE_TRANSITION_TYPED); | 4129 AddTabAtIndex(1, signin_url, ui::PAGE_TRANSITION_TYPED); |
4124 WaitForWebViewInDom(); | 4130 WaitForWebViewInDom(); |
4125 | 4131 |
4126 chrome::CloseTab(browser()); | 4132 chrome::CloseTab(browser()); |
4127 } | 4133 } |
4128 #endif | 4134 #endif |
OLD | NEW |