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

Side by Side Diff: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc

Issue 2795863004: Disable flaky WebNavigationApiTest.CrossProcessFragment. (Closed)
Patch Set: 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 | « 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <list> 5 #include <list>
6 #include <set> 6 #include <set>
7 7
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 base::UTF8ToUTF16("navigate2()")); 721 base::UTF8ToUTF16("navigate2()"));
722 722
723 // Wait for the same-site navigation to start and resume the cross-site 723 // Wait for the same-site navigation to start and resume the cross-site
724 // one, allowing it to commit. 724 // one, allowing it to commit.
725 same_site_load.Wait(); 725 same_site_load.Wait();
726 test_navigation_listener()->Resume(cross_site_url); 726 test_navigation_listener()->Resume(cross_site_url);
727 727
728 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 728 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
729 } 729 }
730 730
731 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, CrossProcessFragment) { 731 // crbug.com/708139.
732 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, DISABLED_CrossProcessFragment) {
732 ASSERT_TRUE(StartEmbeddedTestServer()); 733 ASSERT_TRUE(StartEmbeddedTestServer());
733 734
734 // See crossProcessFragment/f.html. 735 // See crossProcessFragment/f.html.
735 DelayLoadStartAndExecuteJavascript call_script3( 736 DelayLoadStartAndExecuteJavascript call_script3(
736 test_navigation_listener(), 737 test_navigation_listener(),
737 embedded_test_server()->GetURL("/test3"), 738 embedded_test_server()->GetURL("/test3"),
738 "updateFragment()", 739 "updateFragment()",
739 base::StringPrintf("f.html?%u#foo", embedded_test_server()->port())); 740 base::StringPrintf("f.html?%u#foo", embedded_test_server()->port()));
740 741
741 // See crossProcessFragment/g.html. 742 // See crossProcessFragment/g.html.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 "extensions/api_test/webnavigation/crash/b.html", 811 "extensions/api_test/webnavigation/crash/b.html",
811 embedded_test_server()->port())); 812 embedded_test_server()->port()));
812 ui_test_utils::NavigateToURL(browser(), url); 813 ui_test_utils::NavigateToURL(browser(), url);
813 814
814 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 815 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
815 } 816 }
816 817
817 #endif 818 #endif
818 819
819 } // namespace extensions 820 } // namespace extensions
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