http/tests/fetch/fetch-in-worker-crash.html is sometimes crashing
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Aug 2016 17:15:12 +0000 (17:15 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Aug 2016 17:15:12 +0000 (17:15 +0000)
commit612f28144b7829367a109e38e3b54d08164cd466
treef7e981e9797652864f73c1ae7c0abe4cd96c9bd0
parent6f3330975e57ebfa0607beb62abe0d6c1fe478f6
http/tests/fetch/fetch-in-worker-crash.html is sometimes crashing
https://bugs.webkit.org/show_bug.cgi?id=160498

Patch by Youenn Fablet <youenn@apple.com> on 2016-08-03
Reviewed by Chris Dumez.

Source/WebCore:

Covered by http/tests/fetch/fetch-in-worker-crash.html.

* loader/WorkerThreadableLoader.cpp:
(WebCore::WorkerThreadableLoader::MainThreadBridge::cancel): Taking a reference of the client wrapper to ensure it can be cleaned-up successfully.

LayoutTests:

* http/tests/fetch/fetch-in-worker.js:
(onmessage): Reducing flakiness risk by making fetch http load being delayed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@204085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/fetch/fetch-in-worker.js
Source/WebCore/ChangeLog
Source/WebCore/loader/WorkerThreadableLoader.cpp