Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Side by Side Diff: chrome/browser/apps/guest_view/web_view_browsertest.cc

Issue 2765303002: Disable Shim_TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged on linux. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 } 1431 }
1432 1432
1433 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestExecuteScriptFail) { 1433 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestExecuteScriptFail) {
1434 TestHelper("testExecuteScriptFail", "web_view/shim", NEEDS_TEST_SERVER); 1434 TestHelper("testExecuteScriptFail", "web_view/shim", NEEDS_TEST_SERVER);
1435 } 1435 }
1436 1436
1437 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestExecuteScript) { 1437 IN_PROC_BROWSER_TEST_P(WebViewTest, Shim_TestExecuteScript) {
1438 TestHelper("testExecuteScript", "web_view/shim", NO_TEST_SERVER); 1438 TestHelper("testExecuteScript", "web_view/shim", NO_TEST_SERVER);
1439 } 1439 }
1440 1440
1441 // Flaky on Linux. See https://crbug.com/703727.
1442 #if defined(OS_LINUX)
1443 #define MAYBE_Shim_TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged \
1444 DISABLED_Shim_TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged
1445 #else
1446 #define MAYBE_Shim_TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged \
1447 Shim_TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged
1448 #endif
1441 IN_PROC_BROWSER_TEST_P( 1449 IN_PROC_BROWSER_TEST_P(
1442 WebViewTest, 1450 WebViewTest,
1443 Shim_TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged) { 1451 MAYBE_Shim_TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged) {
1444 TestHelper("testExecuteScriptIsAbortedWhenWebViewSourceIsChanged", 1452 TestHelper("testExecuteScriptIsAbortedWhenWebViewSourceIsChanged",
1445 "web_view/shim", 1453 "web_view/shim",
1446 NO_TEST_SERVER); 1454 NO_TEST_SERVER);
1447 } 1455 }
1448 1456
1449 IN_PROC_BROWSER_TEST_P( 1457 IN_PROC_BROWSER_TEST_P(
1450 WebViewTest, 1458 WebViewTest,
1451 Shim_TestExecuteScriptIsAbortedWhenWebViewSourceIsInvalid) { 1459 Shim_TestExecuteScriptIsAbortedWhenWebViewSourceIsInvalid) {
1452 TestHelper("testExecuteScriptIsAbortedWhenWebViewSourceIsInvalid", 1460 TestHelper("testExecuteScriptIsAbortedWhenWebViewSourceIsInvalid",
1453 "web_view/shim", 1461 "web_view/shim",
(...skipping 2508 matching lines...) Expand 10 before | Expand all | Expand 10 after
3962 ClosingChromeSignInShouldNotCrash) { 3970 ClosingChromeSignInShouldNotCrash) {
3963 GURL signin_url{"chrome://chrome-signin"}; 3971 GURL signin_url{"chrome://chrome-signin"};
3964 3972
3965 AddTabAtIndex(0, signin_url, ui::PAGE_TRANSITION_TYPED); 3973 AddTabAtIndex(0, signin_url, ui::PAGE_TRANSITION_TYPED);
3966 AddTabAtIndex(1, signin_url, ui::PAGE_TRANSITION_TYPED); 3974 AddTabAtIndex(1, signin_url, ui::PAGE_TRANSITION_TYPED);
3967 WaitForWebViewInDom(); 3975 WaitForWebViewInDom();
3968 3976
3969 chrome::CloseTab(browser()); 3977 chrome::CloseTab(browser());
3970 } 3978 }
3971 #endif 3979 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698