Re: [w3c/ServiceWorker] Unify the event skipping algorithm when there is no event handler. (#1417)

jakearchibald approved this pull request.

This is great. Much less copy & paste going on.

> @@ -2926,7 +2934,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
           The |task| *must* use |activeWorker|'s [=event loop=] and the [=handle functional event task source=].
 
       1. Wait for |task| to have executed or been discarded.
-      1. If the time difference in seconds calculated by the current time minus |registration|'s [=last update check time=] is greater than 86400, invoke [=Soft Update=] algorithm with |registration|.
+      1. If |registration| is [=stale=], then run the [=Soft Update=] algorithm with |registration|.

Should this also be in parallel?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1417#pullrequestreview-245846870

Received on Wednesday, 5 June 2019 07:38:41 UTC