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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/path_service.h" | 6 #include "base/path_service.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/test/base/in_process_browser_test.h" | 9 #include "chrome/test/base/in_process_browser_test.h" |
10 #include "chrome/test/base/ui_test_utils.h" | 10 #include "chrome/test/base/ui_test_utils.h" |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 LoadAndWait(GetURL("verify_plugin_window_rect.html")); | 282 LoadAndWait(GetURL("verify_plugin_window_rect.html")); |
283 } | 283 } |
284 | 284 |
285 // Tests that creating a new instance of a plugin while another one is handling | 285 // Tests that creating a new instance of a plugin while another one is handling |
286 // a paint message doesn't cause deadlock. | 286 // a paint message doesn't cause deadlock. |
287 IN_PROC_BROWSER_TEST_F(PluginTest, CreateInstanceInPaint) { | 287 IN_PROC_BROWSER_TEST_F(PluginTest, CreateInstanceInPaint) { |
288 LoadAndWait(GetURL("create_instance_in_paint.html")); | 288 LoadAndWait(GetURL("create_instance_in_paint.html")); |
289 } | 289 } |
290 | 290 |
291 // Tests that putting up an alert in response to a paint doesn't deadlock. | 291 // Tests that putting up an alert in response to a paint doesn't deadlock. |
292 IN_PROC_BROWSER_TEST_F(PluginTest, AlertInWindowMessage) { | 292 IN_PROC_BROWSER_TEST_F(PluginTest, FAILS_AlertInWindowMessage) { |
293 ui_test_utils::NavigateToURL( | 293 ui_test_utils::NavigateToURL( |
294 browser(), GetURL("alert_in_window_message.html")); | 294 browser(), GetURL("alert_in_window_message.html")); |
295 | 295 |
296 ui_test_utils::WaitForAppModalDialogAndCloseIt(); | 296 ui_test_utils::WaitForAppModalDialogAndCloseIt(); |
297 ui_test_utils::WaitForAppModalDialogAndCloseIt(); | 297 ui_test_utils::WaitForAppModalDialogAndCloseIt(); |
298 } | 298 } |
299 | 299 |
300 IN_PROC_BROWSER_TEST_F(PluginTest, VerifyNPObjectLifetimeTest) { | 300 IN_PROC_BROWSER_TEST_F(PluginTest, VerifyNPObjectLifetimeTest) { |
301 LoadAndWait(GetURL("npobject_lifetime_test.html")); | 301 LoadAndWait(GetURL("npobject_lifetime_test.html")); |
302 } | 302 } |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 | 453 |
454 // http://crbug.com/8690 | 454 // http://crbug.com/8690 |
455 IN_PROC_BROWSER_TEST_F(PluginTest, DISABLED_Java) { | 455 IN_PROC_BROWSER_TEST_F(PluginTest, DISABLED_Java) { |
456 TestPlugin("Java.html"); | 456 TestPlugin("Java.html"); |
457 } | 457 } |
458 | 458 |
459 IN_PROC_BROWSER_TEST_F(PluginTest, Silverlight) { | 459 IN_PROC_BROWSER_TEST_F(PluginTest, Silverlight) { |
460 TestPlugin("silverlight.html"); | 460 TestPlugin("silverlight.html"); |
461 } | 461 } |
462 #endif // defined(OS_WIN) | 462 #endif // defined(OS_WIN) |
OLD | NEW |