imported/w3c/web-platform-tests/service-workers/service-worker/update.https.html...
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Dec 2017 19:57:02 +0000 (19:57 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Dec 2017 19:57:02 +0000 (19:57 +0000)
commita631d16b6e42827c4697f0d5134231235ac231e0
treec299e28c3ac0e64a9e5e7d6e4a83b675ea735412
parentd2c8973c7b8f4175fde1a05294f7344e4bae23a6
imported/w3c/web-platform-tests/service-workers/service-worker/update.https.html is sometimes crashing in Debug builds
https://bugs.webkit.org/show_bug.cgi?id=180867

Reviewed by Brady Eidson.

Fix assertion to make sure the worker is terminating if it is already in m_runningOrTerminatingWorkers.

* workers/service/server/SWServer.cpp:
(WebCore::SWServer::runServiceWorker):

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