[Service Workers] Activate algorithm says terminate the active worker if it exists
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Nov 2017 06:39:14 +0000 (06:39 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Nov 2017 06:39:14 +0000 (06:39 +0000)
commit99a9dff7863ce226390048e86b148ff4b3e81eca
tree3cba8c1c63c14db6d0be4f53207c5cf51640ec83
parentc9ac12b71dd4573bbf963ea851c5a29bb072ad51
[Service Workers] Activate algorithm says terminate the active worker if it exists
https://bugs.webkit.org/show_bug.cgi?id=179559

Reviewed by Darin Adler.

Activate algorithm says terminate the active worker if it exists:
- https://w3c.github.io/ServiceWorker/#activation-algorithm (Step 2.1)

No new tests, no-op for now as the terminate() function is not implemented
yet.

* workers/service/server/SWServerJobQueue.cpp:
(WebCore::SWServerJobQueue::activate):

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