Re: [w3c/ServiceWorker] Kill resurrection (#1415)

jakearchibald commented on this pull request.



>  
       <dfn method for="ExtendableEvent"><code>waitUntil(|f|)</code></dfn> method *must* run these steps:
 
-        1. If the {{Event/isTrusted}} attribute is false, [=throw=] an "{{InvalidStateError}}" {{DOMException}}.
+        1. Let |event| be the [=context object=].
+        1. [=ExtendableEvent/Add lifetime promise=] |f| to |event|.

I moved this into its own algorithm as we have it copy-pasted in the spec twice, and it's something other specs may want to do.

-- 
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/1415#pullrequestreview-244847112

Received on Monday, 3 June 2019 12:30:49 UTC