- From: Jungkee Song <notifications@github.com>
- Date: Wed, 14 Aug 2019 10:00:01 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/653/review/275022108@github.com>
jungkees commented on this pull request.
> @@ -1062,15 +1062,17 @@ and an <a>event listener</a> <var>listener</var>, run these steps:
<ol>
<li>
- <p>If <var>eventTarget</var>'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]]
-
- <p class="note no-backref">To optimize storing the event types allowed for the service worker and
- to avoid non-deterministic changes to the event listeners, invocation of the method is allowed
- only during the very first evaluation of the service worker script.
+ <p>If <var>eventTarget</var> 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
Done.
Out of my own curiosity, what'd be the actual meaning of it in terms of the conformance requirement after this change?
--
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_r313981769
Received on Wednesday, 14 August 2019 17:00:23 UTC