OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include <windows.h> | 4 #include <windows.h> |
5 #include <stdarg.h> | 5 #include <stdarg.h> |
6 | 6 |
7 // IShellWindows includes. Unfortunately we can't keep these in | 7 // IShellWindows includes. Unfortunately we can't keep these in |
8 // alphabetic order since exdisp will bark if some interfaces aren't fully | 8 // alphabetic order since exdisp will bark if some interfaces aren't fully |
9 // defined. | 9 // defined. |
10 #include <mshtml.h> | 10 #include <mshtml.h> |
(...skipping 1727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1738 L"WidgetMode_MultipleInstancesTest"); | 1738 L"WidgetMode_MultipleInstancesTest"); |
1739 } | 1739 } |
1740 | 1740 |
1741 const wchar_t kChromeFrameFullTabModeXMLHttpRequestAuthHeaderTestUrl[] = | 1741 const wchar_t kChromeFrameFullTabModeXMLHttpRequestAuthHeaderTestUrl[] = |
1742 L"files/xmlhttprequest_authorization_header_test.html"; | 1742 L"files/xmlhttprequest_authorization_header_test.html"; |
1743 | 1743 |
1744 TEST_F(ChromeFrameTestWithWebServer, | 1744 TEST_F(ChromeFrameTestWithWebServer, |
1745 FullTabModeIE_ChromeFrameXHRAuthHeaderTest) { | 1745 FullTabModeIE_ChromeFrameXHRAuthHeaderTest) { |
1746 chrome_frame_test::TimedMsgLoop loop; | 1746 chrome_frame_test::TimedMsgLoop loop; |
1747 | 1747 |
1748 ASSERT_TRUE( | 1748 ASSERT_TRUE(LaunchBrowser( |
1749 LaunchBrowser(IE, | 1749 IE, kChromeFrameFullTabModeXMLHttpRequestAuthHeaderTestUrl)); |
1750 kChromeFrameFullTabModeXMLHttpRequestAuthHeaderTestUrl)); | |
1751 | 1750 |
1752 loop.RunFor(kChromeFrameLongNavigationTimeoutInSeconds); | 1751 loop.RunFor(kChromeFrameLongNavigationTimeoutInSeconds); |
1753 | 1752 |
1754 chrome_frame_test::CloseAllIEWindows(); | 1753 chrome_frame_test::CloseAllIEWindows(); |
1755 ASSERT_TRUE( | 1754 ASSERT_TRUE( |
1756 CheckResultFile(L"FullTab_XMLHttpRequestAuthorizationHeaderTest", "OK")); | 1755 CheckResultFile(L"FullTab_XMLHttpRequestAuthorizationHeaderTest", "OK")); |
1757 } | 1756 } |
| 1757 |
| 1758 const wchar_t kChromeFrameFullTabModeDeleteCookieTest[] = |
| 1759 L"files/fulltab_delete_cookie_test.html"; |
| 1760 |
| 1761 TEST_F(ChromeFrameTestWithWebServer, |
| 1762 FullTabModeIE_ChromeFrameDeleteCookieTest) { |
| 1763 chrome_frame_test::TimedMsgLoop loop; |
| 1764 |
| 1765 ASSERT_TRUE(LaunchBrowser(IE, kChromeFrameFullTabModeDeleteCookieTest)); |
| 1766 |
| 1767 loop.RunFor(kChromeFrameLongNavigationTimeoutInSeconds); |
| 1768 |
| 1769 chrome_frame_test::CloseAllIEWindows(); |
| 1770 ASSERT_TRUE(CheckResultFile(L"FullTab_DeleteCookieTest", "OK")); |
| 1771 } |
| 1772 |
OLD | NEW |