| 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 "base/path_service.h" | 5 #include "base/path_service.h" |
| 6 #include "base/strings/stringprintf.h" | 6 #include "base/strings/stringprintf.h" |
| 7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 8 #include "chrome/browser/apps/app_browsertest_util.h" | 8 #include "chrome/browser/apps/app_browsertest_util.h" |
| 9 #include "chrome/browser/chrome_content_browser_client.h" | 9 #include "chrome/browser/chrome_content_browser_client.h" |
| 10 #include "chrome/browser/prerender/prerender_link_manager.h" | 10 #include "chrome/browser/prerender/prerender_link_manager.h" |
| (...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 943 } | 943 } |
| 944 | 944 |
| 945 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestDestroyOnEventListener) { | 945 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestDestroyOnEventListener) { |
| 946 TestHelper("testDestroyOnEventListener", "web_view/shim", NO_TEST_SERVER); | 946 TestHelper("testDestroyOnEventListener", "web_view/shim", NO_TEST_SERVER); |
| 947 } | 947 } |
| 948 | 948 |
| 949 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestCannotMutateEventName) { | 949 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestCannotMutateEventName) { |
| 950 TestHelper("testCannotMutateEventName", "web_view/shim", NO_TEST_SERVER); | 950 TestHelper("testCannotMutateEventName", "web_view/shim", NO_TEST_SERVER); |
| 951 } | 951 } |
| 952 | 952 |
| 953 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestPartitionRaisesException) { | 953 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestPartitionChangeAfterNavigation) { |
| 954 TestHelper("testPartitionRaisesException", "web_view/shim", NO_TEST_SERVER); | 954 TestHelper("testPartitionChangeAfterNavigation", |
| 955 "web_view/shim", |
| 956 NO_TEST_SERVER); |
| 955 } | 957 } |
| 956 | 958 |
| 957 IN_PROC_BROWSER_TEST_F(WebViewTest, | 959 IN_PROC_BROWSER_TEST_F(WebViewTest, |
| 958 Shim_TestPartitionRemovalAfterNavigationFails) { | 960 Shim_TestPartitionRemovalAfterNavigationFails) { |
| 959 TestHelper("testPartitionRemovalAfterNavigationFails", | 961 TestHelper("testPartitionRemovalAfterNavigationFails", |
| 960 "web_view/shim", | 962 "web_view/shim", |
| 961 NO_TEST_SERVER); | 963 NO_TEST_SERVER); |
| 962 } | 964 } |
| 963 | 965 |
| 964 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestExecuteScriptFail) { | 966 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestExecuteScriptFail) { |
| (...skipping 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2299 // http://crbug.com/403325 | 2301 // http://crbug.com/403325 |
| 2300 #define MAYBE_WebViewInBackgroundPage \ | 2302 #define MAYBE_WebViewInBackgroundPage \ |
| 2301 DISABLED_WebViewInBackgroundPage | 2303 DISABLED_WebViewInBackgroundPage |
| 2302 #else | 2304 #else |
| 2303 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage | 2305 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage |
| 2304 #endif | 2306 #endif |
| 2305 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) { | 2307 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) { |
| 2306 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background")) | 2308 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background")) |
| 2307 << message_; | 2309 << message_; |
| 2308 } | 2310 } |
| OLD | NEW |