- From: Jungkee Song <notifications@github.com>
- Date: Fri, 19 Jul 2019 17:42:16 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/653/review/264474641@github.com>
jungkees commented on this pull request. > @@ -1118,11 +1122,13 @@ and an <a>event listener</a> <var>listener</var>, set <var>listener</var>'s method, when invoked, must run these steps: <ol> - <li><p>If the <a>context object</a>'s <a>relevant global object</a> is a - {{ServiceWorkerGlobalScope}} object and its associated <a>service worker</a>'s - <a for="service worker">script resource</a>'s - <a for="script resource">has ever been evaluated flag</a> is set, then <a>throw</a> a - <code>TypeError</code>. [[!SERVICE-WORKERS]] + <li><p>If <var>type</var> is one of the <a>functional events</a>'s <a for="event + listener">type</a>, the <a>context object</a> is a {{ServiceWorkerGlobalScope}} object, and its + associated <a>service worker</a>'s <a for="service worker">script resource</a>'s <a for="script + resource">has ever been evaluated flag</a> is set, then the user agent must <a>report a warning to + the console</a> with a description that explains that the user agent will still start the + <a>service worker</a> for the <a>functional event</a> that has been stored during the very first + evalution of the <a>service worker</a> script and is asynchronously removed. [[!SERVICE-WORKERS]] I updated this accordingly too. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/653#discussion_r305560121
Received on Saturday, 20 July 2019 00:42:39 UTC