OLD | NEW |
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_util.h" | 8 #include "base/file_util.h" |
9 #include "base/file_version_info.h" | 9 #include "base/file_version_info.h" |
10 #include "base/files/memory_mapped_file.h" | 10 #include "base/files/memory_mapped_file.h" |
11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
13 #include "base/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "base/test/test_timeouts.h" | 15 #include "base/test/test_timeouts.h" |
16 #include "base/win/windows_version.h" | 16 #include "base/win/windows_version.h" |
17 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
18 #include "chrome/installer/util/helper.h" | 18 #include "chrome/installer/util/helper.h" |
19 #include "chrome/installer/util/install_util.h" | 19 #include "chrome/installer/util/install_util.h" |
20 #include "chrome/installer/util/product.h" | 20 #include "chrome/installer/util/product.h" |
21 #include "chrome_frame/html_utils.h" | 21 #include "chrome_frame/html_utils.h" |
22 #include "chrome_frame/test/chrome_frame_test_utils.h" | 22 #include "chrome_frame/test/chrome_frame_test_utils.h" |
23 #include "chrome_frame/test/mock_ie_event_sink_actions.h" | 23 #include "chrome_frame/test/mock_ie_event_sink_actions.h" |
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1090 // This test loads a large page and ensures that the full page contents are | 1090 // This test loads a large page and ensures that the full page contents are |
1091 // actually loaded via a self-validating HTML page. This is done due to a bug | 1091 // actually loaded via a self-validating HTML page. This is done due to a bug |
1092 // whereby the middle of the response stream would sometimes be truncated when | 1092 // whereby the middle of the response stream would sometimes be truncated when |
1093 // loading a CF document. See http://crbug.com/178421 for details. | 1093 // loading a CF document. See http://crbug.com/178421 for details. |
1094 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_LargePageLoad) { | 1094 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_LargePageLoad) { |
1095 const wchar_t kLargePageLoadPage[] = | 1095 const wchar_t kLargePageLoadPage[] = |
1096 L"chrome_frame_large_page.html"; | 1096 L"chrome_frame_large_page.html"; |
1097 | 1097 |
1098 SimpleBrowserTest(IE, kLargePageLoadPage); | 1098 SimpleBrowserTest(IE, kLargePageLoadPage); |
1099 } | 1099 } |
OLD | NEW |