Clearing all service worker registrations should wait for importing service worker...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Feb 2018 00:39:31 +0000 (00:39 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Feb 2018 00:39:31 +0000 (00:39 +0000)
commit83b1acd21f5e876b8d9dad9c048f844c23fcbd7e
tree787536eb291912cf16449e0dc8fdc257c296ad7f
parentf3aca4aeda3c166d136f488a066a76190a19c819
Clearing all service worker registrations should wait for importing service worker registration to finish
https://bugs.webkit.org/show_bug.cgi?id=182407
<rdar://problem/37167523>

Patch by Youenn Fablet <youenn@apple.com> on 2018-02-02
Reviewed by Chris Dumez.

* workers/service/server/SWServer.cpp:
(WebCore::SWServer::clear): ensure completion handler is called on early exit case.

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