| 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/file_util.h" | 6 #include "base/file_util.h" |
| 7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "content/public/browser/browser_thread.h" | 9 #include "content/public/browser/browser_thread.h" |
| 10 #include "content/public/common/content_switches.h" | 10 #include "content/public/common/content_switches.h" |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, DISABLED_AlertInWindowMessage) { | 292 IN_PROC_BROWSER_TEST_F(PluginTest, DISABLED_AlertInWindowMessage) { |
| 293 NavigateToURL(shell(), GetURL("alert_in_window_message.html")); | 293 NavigateToURL(shell(), GetURL("alert_in_window_message.html")); |
| 294 | 294 |
| 295 WaitForAppModalDialog(shell()); | 295 WaitForAppModalDialog(shell()); |
| 296 WaitForAppModalDialog(shell()); | 296 WaitForAppModalDialog(shell()); |
| 297 } | 297 } |
| 298 | 298 |
| 299 IN_PROC_BROWSER_TEST_F(PluginTest, VerifyNPObjectLifetimeTest) { | 299 IN_PROC_BROWSER_TEST_F(PluginTest, MAYBE(VerifyNPObjectLifetimeTest)) { |
| 300 LoadAndWait(GetURL("npobject_lifetime_test.html")); | 300 LoadAndWait(GetURL("npobject_lifetime_test.html")); |
| 301 } | 301 } |
| 302 | 302 |
| 303 // Tests that we don't crash or assert if NPP_New fails | 303 // Tests that we don't crash or assert if NPP_New fails |
| 304 IN_PROC_BROWSER_TEST_F(PluginTest, NewFails) { | 304 IN_PROC_BROWSER_TEST_F(PluginTest, NewFails) { |
| 305 LoadAndWait(GetURL("new_fails.html")); | 305 LoadAndWait(GetURL("new_fails.html")); |
| 306 } | 306 } |
| 307 | 307 |
| 308 IN_PROC_BROWSER_TEST_F(PluginTest, MAYBE(SelfDeletePluginInNPNEvaluate)) { | 308 IN_PROC_BROWSER_TEST_F(PluginTest, MAYBE(SelfDeletePluginInNPNEvaluate)) { |
| 309 LoadAndWait(GetURL("execute_script_delete_in_npn_evaluate.html")); | 309 LoadAndWait(GetURL("execute_script_delete_in_npn_evaluate.html")); |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 IN_PROC_BROWSER_TEST_F(PluginTest, DISABLED_Java) { | 458 IN_PROC_BROWSER_TEST_F(PluginTest, DISABLED_Java) { |
| 459 TestPlugin("Java.html"); | 459 TestPlugin("Java.html"); |
| 460 } | 460 } |
| 461 | 461 |
| 462 IN_PROC_BROWSER_TEST_F(PluginTest, Silverlight) { | 462 IN_PROC_BROWSER_TEST_F(PluginTest, Silverlight) { |
| 463 TestPlugin("silverlight.html"); | 463 TestPlugin("silverlight.html"); |
| 464 } | 464 } |
| 465 #endif // defined(OS_WIN) | 465 #endif // defined(OS_WIN) |
| 466 | 466 |
| 467 } // namespace content | 467 } // namespace content |
| OLD | NEW |