| 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/file_path.h" | 5 #include "base/file_path.h" |
| 6 #include "base/string_util.h" | 6 #include "base/string_util.h" |
| 7 #include "base/test/test_timeouts.h" | 7 #include "base/test/test_timeouts.h" |
| 8 #include "base/threading/platform_thread.h" | 8 #include "base/threading/platform_thread.h" |
| 9 #include "chrome/app/chrome_command_ids.h" | 9 #include "chrome/app/chrome_command_ids.h" |
| 10 #include "chrome/test/automation/automation_proxy.h" | 10 #include "chrome/test/automation/automation_proxy.h" |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 | 334 |
| 335 TEST_F(WorkerTest, WorkerReplaceSelf) { | 335 TEST_F(WorkerTest, WorkerReplaceSelf) { |
| 336 RunWorkerFastLayoutTest("worker-replace-self.html"); | 336 RunWorkerFastLayoutTest("worker-replace-self.html"); |
| 337 } | 337 } |
| 338 | 338 |
| 339 // See bug 44457. | 339 // See bug 44457. |
| 340 #if defined(OS_MACOSX) | 340 #if defined(OS_MACOSX) |
| 341 #define WorkerScriptError FLAKY_WorkerScriptError | 341 #define WorkerScriptError FLAKY_WorkerScriptError |
| 342 #endif | 342 #endif |
| 343 | 343 |
| 344 TEST_F(WorkerTest, WorkerScriptError) { | 344 TEST_F(WorkerTest, DISABLED_WorkerScriptError) { |
| 345 RunWorkerFastLayoutTest("worker-script-error.html"); | 345 RunWorkerFastLayoutTest("worker-script-error.html"); |
| 346 } | 346 } |
| 347 | 347 |
| 348 TEST_F(WorkerTest, WorkerTerminate) { | 348 TEST_F(WorkerTest, WorkerTerminate) { |
| 349 RunWorkerFastLayoutTest("worker-terminate.html"); | 349 RunWorkerFastLayoutTest("worker-terminate.html"); |
| 350 } | 350 } |
| 351 | 351 |
| 352 TEST_F(WorkerTest, WorkerTimeout) { | 352 TEST_F(WorkerTest, WorkerTimeout) { |
| 353 RunWorkerFastLayoutTest("worker-timeout.html"); | 353 RunWorkerFastLayoutTest("worker-timeout.html"); |
| 354 } | 354 } |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 RunWorkerFileSystemLayoutTest("file-writer-truncate-extend.html"); | 833 RunWorkerFileSystemLayoutTest("file-writer-truncate-extend.html"); |
| 834 } | 834 } |
| 835 | 835 |
| 836 TEST_F(WorkerFileSystemTest, FileWriterSyncTruncateExtend) { | 836 TEST_F(WorkerFileSystemTest, FileWriterSyncTruncateExtend) { |
| 837 RunWorkerFileSystemLayoutTest("file-writer-sync-truncate-extend.html"); | 837 RunWorkerFileSystemLayoutTest("file-writer-sync-truncate-extend.html"); |
| 838 } | 838 } |
| 839 | 839 |
| 840 TEST_F(WorkerFileSystemTest, FileWriterSyncWriteOverlapped) { | 840 TEST_F(WorkerFileSystemTest, FileWriterSyncWriteOverlapped) { |
| 841 RunWorkerFileSystemLayoutTest("file-writer-sync-write-overlapped.html"); | 841 RunWorkerFileSystemLayoutTest("file-writer-sync-write-overlapped.html"); |
| 842 } | 842 } |
| OLD | NEW |