Crash under ServiceWorkerJob::failedWithException.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Aug 2017 20:37:51 +0000 (20:37 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Aug 2017 20:37:51 +0000 (20:37 +0000)
commitef837314c9f3fdf63bdece3a4c232bec21bd8263
tree87d3d782ecb93c7b05785ad4de5e8a585e59be75
parentc921faca327e36e7273ecf88072e9620ced26614
Crash under ServiceWorkerJob::failedWithException.
https://bugs.webkit.org/show_bug.cgi?id=175488

Reviewed by Tim Horton.

Covered by existing tests.

* workers/ServiceWorkerJob.cpp:
(WebCore::ServiceWorkerJob::failedWithException): jobDidFinish might cause the Job to be deleted, so make it last.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/workers/ServiceWorkerJob.cpp