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_frame/test/test_with_web_server.cc

Issue 11411303: Disable ChromeFrame tests that flakily time out. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years 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 "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/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 435
436 // If this test fails for IE8 then it is possible that prebinding is enabled. 436 // If this test fails for IE8 then it is possible that prebinding is enabled.
437 // A known workaround is to disable it until CF properly handles it. 437 // A known workaround is to disable it until CF properly handles it.
438 // 438 //
439 // HKCU\Software\Microsoft\Internet Explorer\Main 439 // HKCU\Software\Microsoft\Internet Explorer\Main
440 // Value name: EnablePreBinding (REG_DWORD) 440 // Value name: EnablePreBinding (REG_DWORD)
441 // Value: 0 441 // Value: 0
442 SimpleBrowserTest(IE, kMIMEFilterBasicPage); 442 SimpleBrowserTest(IE, kMIMEFilterBasicPage);
443 } 443 }
444 444
445 TEST_F(ChromeFrameTestWithWebServer, WidgetModeIE_Resize) { 445 // Times out: http://crbug.com/163728
446 TEST_F(ChromeFrameTestWithWebServer, DISABLED_WidgetModeIE_Resize) {
446 SimpleBrowserTest(IE, L"chrome_frame_resize.html"); 447 SimpleBrowserTest(IE, L"chrome_frame_resize.html");
447 } 448 }
448 449
449 const wchar_t kNavigateURLAbsolutePage[] = 450 const wchar_t kNavigateURLAbsolutePage[] =
450 L"navigateurl_absolute_host.html"; 451 L"navigateurl_absolute_host.html";
451 452
452 TEST_F(ChromeFrameTestWithWebServer, WidgetModeIE_NavigateURLAbsolute) { 453 TEST_F(ChromeFrameTestWithWebServer, WidgetModeIE_NavigateURLAbsolute) {
453 SimpleBrowserTest(IE, kNavigateURLAbsolutePage); 454 SimpleBrowserTest(IE, kNavigateURLAbsolutePage);
454 } 455 }
455 456
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 SimpleBrowserTest(IE, kCFInstallOverlayTestPage); 606 SimpleBrowserTest(IE, kCFInstallOverlayTestPage);
606 } 607 }
607 608
608 const wchar_t kCFInstallDismissTestPage[] = L"CFInstall_dismiss.html"; 609 const wchar_t kCFInstallDismissTestPage[] = L"CFInstall_dismiss.html";
609 610
610 TEST_F(ChromeFrameTestWithWebServer, FullTabIE_CFInstallDismiss) { 611 TEST_F(ChromeFrameTestWithWebServer, FullTabIE_CFInstallDismiss) {
611 SimpleBrowserTest(IE, kCFInstallDismissTestPage); 612 SimpleBrowserTest(IE, kCFInstallDismissTestPage);
612 } 613 }
613 614
614 const wchar_t kInitializeHiddenPage[] = L"initialize_hidden.html"; 615 const wchar_t kInitializeHiddenPage[] = L"initialize_hidden.html";
615 616 // Times out: http://crbug.com/163728
616 TEST_F(ChromeFrameTestWithWebServer, WidgetModeIE_InitializeHidden) { 617 TEST_F(ChromeFrameTestWithWebServer, DISABLED_WidgetModeIE_InitializeHidden) {
617 SimpleBrowserTest(IE, kInitializeHiddenPage); 618 SimpleBrowserTest(IE, kInitializeHiddenPage);
618 } 619 }
619 620
620 const wchar_t kFullTabHttpHeaderPage[] = L"chrome_frame_http_header.html"; 621 const wchar_t kFullTabHttpHeaderPage[] = L"chrome_frame_http_header.html";
621 622
622 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_CFHttpHeaderBasic) { 623 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_CFHttpHeaderBasic) {
623 SimpleBrowserTest(IE, kFullTabHttpHeaderPage); 624 SimpleBrowserTest(IE, kFullTabHttpHeaderPage);
624 } 625 }
625 626
626 const wchar_t kFullTabHttpHeaderPageIFrame[] = 627 const wchar_t kFullTabHttpHeaderPageIFrame[] =
(...skipping 28 matching lines...) Expand all
655 TEST_F(ChromeFrameTestWithWebServer, WidgetModeIE_PrivilegedApis) { 656 TEST_F(ChromeFrameTestWithWebServer, WidgetModeIE_PrivilegedApis) {
656 SimpleBrowserTest(IE, kPrivilegedApisPage); 657 SimpleBrowserTest(IE, kPrivilegedApisPage);
657 } 658 }
658 659
659 const wchar_t kMetaTagPage[] = L"meta_tag.html"; 660 const wchar_t kMetaTagPage[] = L"meta_tag.html";
660 // Flaky, crbug.com/160497. 661 // Flaky, crbug.com/160497.
661 TEST_F(ChromeFrameTestWithWebServer, FLAKY_FullTabModeIE_MetaTag) { 662 TEST_F(ChromeFrameTestWithWebServer, FLAKY_FullTabModeIE_MetaTag) {
662 SimpleBrowserTest(IE, kMetaTagPage); 663 SimpleBrowserTest(IE, kMetaTagPage);
663 } 664 }
664 665
666 // Times out: http://crbug.com/163728
665 const wchar_t kCFProtocolPage[] = L"cf_protocol.html"; 667 const wchar_t kCFProtocolPage[] = L"cf_protocol.html";
666 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_CFProtocol) { 668 TEST_F(ChromeFrameTestWithWebServer, DISABLED_FullTabModeIE_CFProtocol) {
667 // Temporarily enable gcf: protocol for this test. 669 // Temporarily enable gcf: protocol for this test.
668 SetConfigBool(kAllowUnsafeURLs, true); 670 SetConfigBool(kAllowUnsafeURLs, true);
669 SimpleBrowserTest(IE, kCFProtocolPage); 671 SimpleBrowserTest(IE, kCFProtocolPage);
670 SetConfigBool(kAllowUnsafeURLs, false); 672 SetConfigBool(kAllowUnsafeURLs, false);
671 } 673 }
672 674
673 const wchar_t kPersistentCookieTest[] = 675 const wchar_t kPersistentCookieTest[] =
674 L"persistent_cookie_test_page.html"; 676 L"persistent_cookie_test_page.html";
675 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_PersistentCookieTest) { 677 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_PersistentCookieTest) {
676 SimpleBrowserTest(IE, kPersistentCookieTest); 678 SimpleBrowserTest(IE, kPersistentCookieTest);
677 } 679 }
678 680
679 const wchar_t kNavigateOutPage[] = L"navigate_out.html"; 681 const wchar_t kNavigateOutPage[] = L"navigate_out.html";
680 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_NavigateOut) { 682 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_NavigateOut) {
681 SimpleBrowserTest(IE, kNavigateOutPage); 683 SimpleBrowserTest(IE, kNavigateOutPage);
682 } 684 }
683 685
684 const wchar_t kReferrerMainTest[] = L"referrer_main.html"; 686 const wchar_t kReferrerMainTest[] = L"referrer_main.html";
685 687
686 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_ReferrerTest) { 688 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_ReferrerTest) {
687 SimpleBrowserTest(IE, kReferrerMainTest); 689 SimpleBrowserTest(IE, kReferrerMainTest);
688 } 690 }
689 691
692 // Times out: http://crbug.com/163728
690 const wchar_t kSubFrameTestPage[] = L"full_tab_sub_frame_main.html"; 693 const wchar_t kSubFrameTestPage[] = L"full_tab_sub_frame_main.html";
691 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_SubFrame) { 694 TEST_F(ChromeFrameTestWithWebServer, DISALBED_FullTabModeIE_SubFrame) {
692 SimpleBrowserTest(IE, kSubFrameTestPage); 695 SimpleBrowserTest(IE, kSubFrameTestPage);
693 } 696 }
694 697
695 const wchar_t kSubIFrameTestPage[] = L"full_tab_sub_iframe_main.html"; 698 const wchar_t kSubIFrameTestPage[] = L"full_tab_sub_iframe_main.html";
696 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_SubIFrame) { 699 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_SubIFrame) {
697 SimpleBrowserTest(IE, kSubIFrameTestPage); 700 SimpleBrowserTest(IE, kSubIFrameTestPage);
698 } 701 }
699 702
700 const wchar_t kXMLHttpRequestTestUrl[] = 703 const wchar_t kXMLHttpRequestTestUrl[] =
701 L"xmlhttprequest_test.html"; 704 L"xmlhttprequest_test.html";
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 server.web_server()->AddResponse(response); 1068 server.web_server()->AddResponse(response);
1066 1069
1067 std::wstring url(server.FormatHttpPath(L"form.html")); 1070 std::wstring url(server.FormatHttpPath(L"form.html"));
1068 1071
1069 ASSERT_TRUE(LaunchBrowser(IE, url.c_str())); 1072 ASSERT_TRUE(LaunchBrowser(IE, url.c_str()));
1070 loop().RunFor(kChromeFrameLongNavigationTimeout); 1073 loop().RunFor(kChromeFrameLongNavigationTimeout);
1071 1074
1072 EXPECT_EQ(1, response->get_request_count()); 1075 EXPECT_EQ(1, response->get_request_count());
1073 EXPECT_EQ(1, response->post_request_count()); 1076 EXPECT_EQ(1, response->post_request_count());
1074 } 1077 }
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