OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/file_path.h" | 6 #include "base/file_path.h" |
7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
8 #include "chrome/browser/ui/browser.h" | 8 #include "chrome/browser/ui/browser.h" |
9 #include "chrome/browser/ui/webui/web_ui_browsertest.h" | 9 #include "chrome/browser/ui/webui/web_ui_browsertest.h" |
10 #include "chrome/common/chrome_switches.h" | 10 #include "chrome/common/chrome_switches.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 // Number of times to run the test suite. | 208 // Number of times to run the test suite. |
209 Value::CreateIntegerValue(2)); | 209 Value::CreateIntegerValue(2)); |
210 } | 210 } |
211 | 211 |
212 //////////////////////////////////////////////////////////////////////////////// | 212 //////////////////////////////////////////////////////////////////////////////// |
213 // prerender_view.js | 213 // prerender_view.js |
214 //////////////////////////////////////////////////////////////////////////////// | 214 //////////////////////////////////////////////////////////////////////////////// |
215 | 215 |
216 // Prerender two pages and check PrerenderView behavior. The first is expected | 216 // Prerender two pages and check PrerenderView behavior. The first is expected |
217 // to fail, the second is expected to succeed. | 217 // to fail, the second is expected to succeed. |
218 IN_PROC_BROWSER_TEST_F(NetInternalsTest, NetInternalsPrerenderView) { | 218 // Test flaky on XP due to http://crbug.com/91799. |
| 219 IN_PROC_BROWSER_TEST_F(NetInternalsTest, FLAKY_NetInternalsPrerenderView) { |
219 ASSERT_TRUE(test_server()->Start()); | 220 ASSERT_TRUE(test_server()->Start()); |
220 RunTestAndWaitForTitle( | 221 RunTestAndWaitForTitle( |
221 "NetInternalsPrerenderView", | 222 "NetInternalsPrerenderView", |
222 // URL that can't be prerendered, since it triggers a download. | 223 // URL that can't be prerendered, since it triggers a download. |
223 Value::CreateStringValue( | 224 Value::CreateStringValue( |
224 test_server()->GetURL("files/download-test1.lib").spec()), | 225 test_server()->GetURL("files/download-test1.lib").spec()), |
225 // URL that can be prerendered. | 226 // URL that can be prerendered. |
226 Value::CreateStringValue( | 227 Value::CreateStringValue( |
227 test_server()->GetURL("files/title1.html").spec())); | 228 test_server()->GetURL("files/title1.html").spec())); |
228 } | 229 } |
229 | 230 |
230 //////////////////////////////////////////////////////////////////////////////// | 231 //////////////////////////////////////////////////////////////////////////////// |
231 // log_view_painter.js | 232 // log_view_painter.js |
232 //////////////////////////////////////////////////////////////////////////////// | 233 //////////////////////////////////////////////////////////////////////////////// |
233 | 234 |
234 // Check that we correctly remove cookies and login information. | 235 // Check that we correctly remove cookies and login information. |
235 IN_PROC_BROWSER_TEST_F(NetInternalsTest, | 236 IN_PROC_BROWSER_TEST_F(NetInternalsTest, |
236 NetInternalsLogViewPainterStripInfo) { | 237 NetInternalsLogViewPainterStripInfo) { |
237 RunTestAndWaitForTitle("NetInternalsLogViewPainterStripInfo"); | 238 RunTestAndWaitForTitle("NetInternalsLogViewPainterStripInfo"); |
238 } | 239 } |
239 | 240 |
240 } // namespace | 241 } // namespace |
OLD | NEW |