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

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

Issue 2760303002: Disable WebNavigationApiTest.CrossProcessFragment and CrossProcessHistory (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 (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 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 base::UTF8ToUTF16("navigate2()")); 719 base::UTF8ToUTF16("navigate2()"));
720 720
721 // Wait for the same-site navigation to start and resume the cross-site 721 // Wait for the same-site navigation to start and resume the cross-site
722 // one, allowing it to commit. 722 // one, allowing it to commit.
723 same_site_load.Wait(); 723 same_site_load.Wait();
724 test_navigation_listener()->Resume(cross_site_url); 724 test_navigation_listener()->Resume(cross_site_url);
725 725
726 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 726 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
727 } 727 }
728 728
729 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, CrossProcessFragment) { 729 // http://crbug.com/703546
730 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, DISABLED_CrossProcessFragment) {
730 ASSERT_TRUE(StartEmbeddedTestServer()); 731 ASSERT_TRUE(StartEmbeddedTestServer());
731 732
732 // See crossProcessFragment/f.html. 733 // See crossProcessFragment/f.html.
733 DelayLoadStartAndExecuteJavascript call_script3( 734 DelayLoadStartAndExecuteJavascript call_script3(
734 test_navigation_listener(), 735 test_navigation_listener(),
735 embedded_test_server()->GetURL("/test3"), 736 embedded_test_server()->GetURL("/test3"),
736 "updateFragment()", 737 "updateFragment()",
737 base::StringPrintf("f.html?%u#foo", embedded_test_server()->port())); 738 base::StringPrintf("f.html?%u#foo", embedded_test_server()->port()));
738 739
739 // See crossProcessFragment/g.html. 740 // See crossProcessFragment/g.html.
740 DelayLoadStartAndExecuteJavascript call_script4( 741 DelayLoadStartAndExecuteJavascript call_script4(
741 test_navigation_listener(), 742 test_navigation_listener(),
742 embedded_test_server()->GetURL("/test4"), 743 embedded_test_server()->GetURL("/test4"),
743 "updateFragment()", 744 "updateFragment()",
744 base::StringPrintf("g.html?%u#foo", embedded_test_server()->port())); 745 base::StringPrintf("g.html?%u#foo", embedded_test_server()->port()));
745 746
746 ASSERT_TRUE(RunExtensionTest("webnavigation/crossProcessFragment")) 747 ASSERT_TRUE(RunExtensionTest("webnavigation/crossProcessFragment"))
747 << message_; 748 << message_;
748 } 749 }
749 750
750 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, CrossProcessHistory) { 751 // http://crbug.com/703546
752 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, DISABLED_CrossProcessHistory) {
751 ASSERT_TRUE(StartEmbeddedTestServer()); 753 ASSERT_TRUE(StartEmbeddedTestServer());
752 754
753 // See crossProcessHistory/e.html. 755 // See crossProcessHistory/e.html.
754 DelayLoadStartAndExecuteJavascript call_script2( 756 DelayLoadStartAndExecuteJavascript call_script2(
755 test_navigation_listener(), 757 test_navigation_listener(),
756 embedded_test_server()->GetURL("/test2"), 758 embedded_test_server()->GetURL("/test2"),
757 "updateHistory()", 759 "updateHistory()",
758 "empty.html"); 760 "empty.html");
759 761
760 // See crossProcessHistory/h.html. 762 // See crossProcessHistory/h.html.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 "extensions/api_test/webnavigation/crash/b.html", 809 "extensions/api_test/webnavigation/crash/b.html",
808 embedded_test_server()->port())); 810 embedded_test_server()->port()));
809 ui_test_utils::NavigateToURL(browser(), url); 811 ui_test_utils::NavigateToURL(browser(), url);
810 812
811 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 813 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
812 } 814 }
813 815
814 #endif 816 #endif
815 817
816 } // namespace extensions 818 } // 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