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

Side by Side Diff: chrome_frame/test/test_with_web_server.cc

Issue 10829427: Mark FullTabModeIE_TestPostReissue as flaky. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« 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 "chrome_frame/test/test_with_web_server.h" 5 #include "chrome_frame/test/test_with_web_server.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/file_version_info.h" 8 #include "base/file_version_info.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 743
744 const wchar_t kAnchorUrlNavigate[] = 744 const wchar_t kAnchorUrlNavigate[] =
745 L"fulltab_anchor_url_navigate.html#chrome_frame"; 745 L"fulltab_anchor_url_navigate.html#chrome_frame";
746 746
747 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_AnchorUrlNavigateTest) { 747 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_AnchorUrlNavigateTest) {
748 SimpleBrowserTest(IE, kAnchorUrlNavigate); 748 SimpleBrowserTest(IE, kAnchorUrlNavigate);
749 } 749 }
750 750
751 // Test whether POST-ing a form from an mshtml page to a CF page will cause 751 // Test whether POST-ing a form from an mshtml page to a CF page will cause
752 // the request to get reissued. It should not. 752 // the request to get reissued. It should not.
753 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_TestPostReissue) { 753 // https://code.google.com/p/chromium/issues/detail?id=143699
754 TEST_F(ChromeFrameTestWithWebServer, FLAKY_FullTabModeIE_TestPostReissue) {
754 // The order of pages in this array is assumed to be mshtml, cf, script. 755 // The order of pages in this array is assumed to be mshtml, cf, script.
755 const wchar_t* kPages[] = { 756 const wchar_t* kPages[] = {
756 L"full_tab_post_mshtml.html", 757 L"full_tab_post_mshtml.html",
757 L"full_tab_post_target_cf.html", 758 L"full_tab_post_target_cf.html",
758 L"chrome_frame_tester_helpers.js", 759 L"chrome_frame_tester_helpers.js",
759 }; 760 };
760 761
761 SimpleWebServerTest server(46664); 762 SimpleWebServerTest server(46664);
762 server.PopulateStaticFileListT<test_server::FileResponse>(kPages, 763 server.PopulateStaticFileListT<test_server::FileResponse>(kPages,
763 arraysize(kPages), GetCFTestFilePath()); 764 arraysize(kPages), GetCFTestFilePath());
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1052 server.web_server()->AddResponse(response); 1053 server.web_server()->AddResponse(response);
1053 1054
1054 std::wstring url(server.FormatHttpPath(L"form.html")); 1055 std::wstring url(server.FormatHttpPath(L"form.html"));
1055 1056
1056 ASSERT_TRUE(LaunchBrowser(IE, url.c_str())); 1057 ASSERT_TRUE(LaunchBrowser(IE, url.c_str()));
1057 loop().RunFor(kChromeFrameLongNavigationTimeout); 1058 loop().RunFor(kChromeFrameLongNavigationTimeout);
1058 1059
1059 EXPECT_EQ(1, response->get_request_count()); 1060 EXPECT_EQ(1, response->get_request_count());
1060 EXPECT_EQ(1, response->post_request_count()); 1061 EXPECT_EQ(1, response->post_request_count());
1061 } 1062 }
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