Test cases under fast/filesystem/workers are flaky when using JSC
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Aug 2012 22:23:12 +0000 (22:23 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Aug 2012 22:23:12 +0000 (22:23 +0000)
commitd4464a6a758f130e0d01e069cc4021c78c883a66
treea9cfd558f55543197ae5c16bb9477d0d504ca25b
parent8c49b06e729621116c326f9fd5dd874d00d5fcf8
Test cases under fast/filesystem/workers are flaky when using JSC
https://bugs.webkit.org/show_bug.cgi?id=94747

Patch by Leo Yang <leoyang@rim.com> on 2012-08-22
Reviewed by Yong Li.

These test cases sometimes can't complete because the worker object
created by startWorker() has been gc'ed before the worker thread complete.
We should reference the object to avoid it being gc'ed.

* fast/filesystem/workers/async-operations.html:
* fast/filesystem/workers/file-entry-to-uri-sync.html:
* fast/filesystem/workers/file-from-file-entry-sync.html:
* fast/filesystem/workers/file-from-file-entry.html:
* fast/filesystem/workers/file-writer-empty-blob.html:
* fast/filesystem/workers/file-writer-events.html:
* fast/filesystem/workers/file-writer-gc-blob.html:
* fast/filesystem/workers/file-writer-sync-truncate-extend.html:
* fast/filesystem/workers/file-writer-sync-write-overlapped.html:
* fast/filesystem/workers/file-writer-truncate-extend.html:
* fast/filesystem/workers/file-writer-write-overlapped.html:
* fast/filesystem/workers/simple-persistent-sync.html:
* fast/filesystem/workers/simple-persistent.html:
* fast/filesystem/workers/simple-temporary-sync.html:
* fast/filesystem/workers/simple-temporary.html:
* fast/filesystem/workers/sync-operations.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@126358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
17 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/filesystem/workers/async-operations.html
LayoutTests/fast/filesystem/workers/file-entry-to-uri-sync.html
LayoutTests/fast/filesystem/workers/file-from-file-entry-sync.html
LayoutTests/fast/filesystem/workers/file-from-file-entry.html
LayoutTests/fast/filesystem/workers/file-writer-empty-blob.html
LayoutTests/fast/filesystem/workers/file-writer-events.html
LayoutTests/fast/filesystem/workers/file-writer-gc-blob.html
LayoutTests/fast/filesystem/workers/file-writer-sync-truncate-extend.html
LayoutTests/fast/filesystem/workers/file-writer-sync-write-overlapped.html
LayoutTests/fast/filesystem/workers/file-writer-truncate-extend.html
LayoutTests/fast/filesystem/workers/file-writer-write-overlapped.html
LayoutTests/fast/filesystem/workers/simple-persistent-sync.html
LayoutTests/fast/filesystem/workers/simple-persistent.html
LayoutTests/fast/filesystem/workers/simple-temporary-sync.html
LayoutTests/fast/filesystem/workers/simple-temporary.html
LayoutTests/fast/filesystem/workers/sync-operations.html