| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Tests for the top plugins to catch regressions in our plugin host code, as | 5 // Tests for the top plugins to catch regressions in our plugin host code, as |
| 6 // well as in the out of process code. Currently this tests: | 6 // well as in the out of process code. Currently this tests: |
| 7 // Flash | 7 // Flash |
| 8 // Real | 8 // Real |
| 9 // QuickTime | 9 // QuickTime |
| 10 // Windows Media Player | 10 // Windows Media Player |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 " window.location = \"done.html\";" | 178 " window.location = \"done.html\";" |
| 179 "}")); | 179 "}")); |
| 180 | 180 |
| 181 ASSERT_TRUE(tab->LoadBlockedPlugins()); | 181 ASSERT_TRUE(tab->LoadBlockedPlugins()); |
| 182 | 182 |
| 183 WaitForFinish(action_max_timeout_ms(), true); | 183 WaitForFinish(action_max_timeout_ms(), true); |
| 184 } | 184 } |
| 185 | 185 |
| 186 #if defined(OS_WIN) | 186 #if defined(OS_WIN) |
| 187 // Windows only test | 187 // Windows only test |
| 188 TEST_F(PluginTest, FlashSecurity) { | 188 TEST_F(PluginTest, DISABLED_FlashSecurity) { |
| 189 TestPlugin("flash.html", action_max_timeout_ms(), false); | 189 TestPlugin("flash.html", action_max_timeout_ms(), false); |
| 190 } | 190 } |
| 191 #endif // defined(OS_WIN) | 191 #endif // defined(OS_WIN) |
| 192 | 192 |
| 193 #if defined(OS_WIN) | 193 #if defined(OS_WIN) |
| 194 // TODO(port) Port the following tests to platforms that have the required | 194 // TODO(port) Port the following tests to platforms that have the required |
| 195 // plugins. | 195 // plugins. |
| 196 // Flaky: http://crbug.com/55915 | 196 // Flaky: http://crbug.com/55915 |
| 197 TEST_F(PluginTest, FLAKY_Quicktime) { | 197 TEST_F(PluginTest, FLAKY_Quicktime) { |
| 198 TestPlugin("quicktime.html", action_max_timeout_ms(), false); | 198 TestPlugin("quicktime.html", action_max_timeout_ms(), false); |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { | 344 TEST_F(PluginInstallerDownloadTest, PluginInstallerDownloadPathTest) { |
| 345 MessageLoop loop(MessageLoop::TYPE_IO); | 345 MessageLoop loop(MessageLoop::TYPE_IO); |
| 346 Start(); | 346 Start(); |
| 347 loop.Run(); | 347 loop.Run(); |
| 348 | 348 |
| 349 EXPECT_TRUE(success()); | 349 EXPECT_TRUE(success()); |
| 350 EXPECT_TRUE(initial_download_path().BaseName().value() == | 350 EXPECT_TRUE(initial_download_path().BaseName().value() == |
| 351 final_download_path().BaseName().value()); | 351 final_download_path().BaseName().value()); |
| 352 } | 352 } |
| 353 #endif // defined(OS_WIN) | 353 #endif // defined(OS_WIN) |
| OLD | NEW |