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

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

Issue 10823089: Disable FullTabModeIE_RefreshMshtmlTest (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 884 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 mutable int request_id_; 895 mutable int request_id_;
896 }; 896 };
897 897
898 // This test simulates a URL that on first request returns a document 898 // This test simulates a URL that on first request returns a document
899 // that should be rendered in mshtml, then pops up a sign-in page that 899 // that should be rendered in mshtml, then pops up a sign-in page that
900 // after signing in, refreshes the original page that should then return 900 // after signing in, refreshes the original page that should then return
901 // a page that needs to be rendered in GCF. 901 // a page that needs to be rendered in GCF.
902 // 902 //
903 // This test currently fails because GCF does not add the chromeframe header 903 // This test currently fails because GCF does not add the chromeframe header
904 // to requests that mshtml initiates via IInternetSession::CreateBinding. 904 // to requests that mshtml initiates via IInternetSession::CreateBinding.
905 TEST_F(ChromeFrameTestWithWebServer, FAILS_FullTabModeIE_RefreshMshtmlTest) { 905 // crbug.com/139694
906 TEST_F(ChromeFrameTestWithWebServer, DISABLED_FullTabModeIE_RefreshMshtmlTest) {
906 const wchar_t* kPages[] = { 907 const wchar_t* kPages[] = {
907 L"mshtml_refresh_test.html", 908 L"mshtml_refresh_test.html",
908 L"mshtml_refresh_test_popup.html", 909 L"mshtml_refresh_test_popup.html",
909 }; 910 };
910 911
911 SimpleWebServerTest server(46664); 912 SimpleWebServerTest server(46664);
912 server.PopulateStaticFileListT<UaTemplateFileResponse>(kPages, 913 server.PopulateStaticFileListT<UaTemplateFileResponse>(kPages,
913 arraysize(kPages), GetCFTestFilePath()); 914 arraysize(kPages), GetCFTestFilePath());
914 915
915 ASSERT_TRUE(LaunchBrowser(IE, server.FormatHttpPath(kPages[0]).c_str())); 916 ASSERT_TRUE(LaunchBrowser(IE, server.FormatHttpPath(kPages[0]).c_str()));
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 server.web_server()->AddResponse(response); 1054 server.web_server()->AddResponse(response);
1054 1055
1055 std::wstring url(server.FormatHttpPath(L"form.html")); 1056 std::wstring url(server.FormatHttpPath(L"form.html"));
1056 1057
1057 ASSERT_TRUE(LaunchBrowser(IE, url.c_str())); 1058 ASSERT_TRUE(LaunchBrowser(IE, url.c_str()));
1058 loop().RunFor(kChromeFrameLongNavigationTimeout); 1059 loop().RunFor(kChromeFrameLongNavigationTimeout);
1059 1060
1060 EXPECT_EQ(1, response->get_request_count()); 1061 EXPECT_EQ(1, response->get_request_count());
1061 EXPECT_EQ(1, response->post_request_count()); 1062 EXPECT_EQ(1, response->post_request_count());
1062 } 1063 }
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