- From: Jake Archibald <notifications@github.com>
- Date: Mon, 03 Jun 2019 05:30:22 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 3 June 2019 12:30:49 UTC
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