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

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

Issue 2828903002: Reland of Disable flaky WebNavigationApiTest.CrossProcessHistory. (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 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 DelayLoadStartAndExecuteJavascript call_script4( 742 DelayLoadStartAndExecuteJavascript call_script4(
743 test_navigation_listener(), 743 test_navigation_listener(),
744 embedded_test_server()->GetURL("/test4"), 744 embedded_test_server()->GetURL("/test4"),
745 "updateFragment()", 745 "updateFragment()",
746 base::StringPrintf("g.html?%u#foo", embedded_test_server()->port())); 746 base::StringPrintf("g.html?%u#foo", embedded_test_server()->port()));
747 747
748 ASSERT_TRUE(RunExtensionTest("webnavigation/crossProcessFragment")) 748 ASSERT_TRUE(RunExtensionTest("webnavigation/crossProcessFragment"))
749 << message_; 749 << message_;
750 } 750 }
751 751
752 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, CrossProcessHistory) { 752 // crbug.com/708139.
753 IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, DISABLED_CrossProcessHistory) {
753 ASSERT_TRUE(StartEmbeddedTestServer()); 754 ASSERT_TRUE(StartEmbeddedTestServer());
754 755
755 // See crossProcessHistory/e.html. 756 // See crossProcessHistory/e.html.
756 DelayLoadStartAndExecuteJavascript call_script2( 757 DelayLoadStartAndExecuteJavascript call_script2(
757 test_navigation_listener(), 758 test_navigation_listener(),
758 embedded_test_server()->GetURL("/test2"), 759 embedded_test_server()->GetURL("/test2"),
759 "updateHistory()", 760 "updateHistory()",
760 "empty.html"); 761 "empty.html");
761 762
762 // See crossProcessHistory/h.html. 763 // See crossProcessHistory/h.html.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 "extensions/api_test/webnavigation/crash/b.html", 810 "extensions/api_test/webnavigation/crash/b.html",
810 embedded_test_server()->port())); 811 embedded_test_server()->port()));
811 ui_test_utils::NavigateToURL(browser(), url); 812 ui_test_utils::NavigateToURL(browser(), url);
812 813
813 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 814 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
814 } 815 }
815 816
816 #endif 817 #endif
817 818
818 } // namespace extensions 819 } // 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