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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_apitest.cc

Issue 2803813002: Disable flaky tests that are going to be broken by data URL deprecation (Closed)
Patch Set: Disable flaky tests that are going to be broken by data URL deprecation Created 3 years, 8 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 | « chrome/browser/apps/guest_view/web_view_browsertest.cc ('k') | 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 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 "extensions/browser/guest_view/web_view/web_view_apitest.h" 5 #include "extensions/browser/guest_view/web_view/web_view_apitest.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 } 526 }
527 527
528 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScript) { 528 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScript) {
529 RunTest("testExecuteScript", "web_view/apitest"); 529 RunTest("testExecuteScript", "web_view/apitest");
530 } 530 }
531 531
532 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScriptFail) { 532 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestExecuteScriptFail) {
533 RunTest("testExecuteScriptFail", "web_view/apitest"); 533 RunTest("testExecuteScriptFail", "web_view/apitest");
534 } 534 }
535 535
536 // Failes on Linux/CrOS. https://crbug.com/702918 536 // Flaky and likely not testing the right assertion. https://crbug.com/702918
537 #if defined(OS_LINUX) || defined(OS_CHROMEOS)
538 #define MAYBE_TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged \
539 DISABLED_TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged
540 #else
541 #define MAYBE_TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged \
542 TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged
543 #endif
544 IN_PROC_BROWSER_TEST_F( 537 IN_PROC_BROWSER_TEST_F(
545 WebViewAPITest, 538 WebViewAPITest,
546 MAYBE_TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged) { 539 DISABLED_TestExecuteScriptIsAbortedWhenWebViewSourceIsChanged) {
547 RunTest("testExecuteScriptIsAbortedWhenWebViewSourceIsChanged", 540 RunTest("testExecuteScriptIsAbortedWhenWebViewSourceIsChanged",
548 "web_view/apitest"); 541 "web_view/apitest");
549 } 542 }
550 543
551 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestFindAPI) { 544 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestFindAPI) {
552 RunTest("testFindAPI", "web_view/apitest"); 545 RunTest("testFindAPI", "web_view/apitest");
553 } 546 }
554 547
555 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestFindAPI_findupdate) { 548 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestFindAPI_findupdate) {
556 RunTest("testFindAPI_findupdate", "web_view/apitest"); 549 RunTest("testFindAPI_findupdate", "web_view/apitest");
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 // This test verifies that webview.contentWindow works inside an iframe 760 // This test verifies that webview.contentWindow works inside an iframe
768 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebViewInsideFrame) { 761 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebViewInsideFrame) {
769 LaunchApp("web_view/inside_iframe"); 762 LaunchApp("web_view/inside_iframe");
770 } 763 }
771 764
772 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestCaptureVisibleRegion) { 765 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestCaptureVisibleRegion) {
773 RunTest("testCaptureVisibleRegion", "web_view/apitest"); 766 RunTest("testCaptureVisibleRegion", "web_view/apitest");
774 } 767 }
775 768
776 } // namespace extensions 769 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/apps/guest_view/web_view_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698