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 3110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3121 INSTANTIATE_TEST_CASE_P(WebViewTests, WebViewCaptureTest, testing::Bool()); | 3121 INSTANTIATE_TEST_CASE_P(WebViewTests, WebViewCaptureTest, testing::Bool()); |
3122 | 3122 |
3123 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestZoomAPI) { | 3123 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestZoomAPI) { |
3124 TestHelper("testZoomAPI", "web_view/shim", NO_TEST_SERVER); | 3124 TestHelper("testZoomAPI", "web_view/shim", NO_TEST_SERVER); |
3125 } | 3125 } |
3126 | 3126 |
3127 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestFindAPI) { | 3127 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestFindAPI) { |
3128 TestHelper("testFindAPI", "web_view/shim", NO_TEST_SERVER); | 3128 TestHelper("testFindAPI", "web_view/shim", NO_TEST_SERVER); |
3129 } | 3129 } |
3130 | 3130 |
3131 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestFindAPI_findupdate) { | 3131 // crbug.com/697171 |
| 3132 #if defined(MEMORY_SANITIZER) |
| 3133 #define MAYBE_Shim_TestFindAPI_findupdate DISABLED_Shim_TestFindAPI_findupdate |
| 3134 #else |
| 3135 #define MAYBE_Shim_TestFindAPI_findupdate Shim_TestFindAPI_findupdate |
| 3136 #endif |
| 3137 IN_PROC_BROWSER_TEST_P(WebViewTest, MAYBE_Shim_TestFindAPI_findupdate) { |
3132 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER); | 3138 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER); |
3133 } | 3139 } |
3134 | 3140 |
3135 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestLoadDataAPI) { | 3141 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestLoadDataAPI) { |
3136 TestHelper("testLoadDataAPI", "web_view/shim", NEEDS_TEST_SERVER); | 3142 TestHelper("testLoadDataAPI", "web_view/shim", NEEDS_TEST_SERVER); |
3137 } | 3143 } |
3138 | 3144 |
3139 // This test verifies that the resize and contentResize events work correctly. | 3145 // This test verifies that the resize and contentResize events work correctly. |
3140 IN_PROC_BROWSER_TEST_P(WebViewSizeTest, Shim_TestResizeEvents) { | 3146 IN_PROC_BROWSER_TEST_P(WebViewSizeTest, Shim_TestResizeEvents) { |
3141 TestHelper("testResizeEvents", "web_view/shim", NO_TEST_SERVER); | 3147 TestHelper("testResizeEvents", "web_view/shim", NO_TEST_SERVER); |
(...skipping 977 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 |