- From: Jungkee Song <notifications@github.com>
- Date: Fri, 16 Dec 2016 05:47:35 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 16 December 2016 13:48:23 UTC
jungkees commented on this pull request. > + + <section algorithm> + <h4 id="navigation-preload-manager-disable"><dfn>{{NavigationPreloadManager/disable()}}</dfn></h4> + + The {{NavigationPreloadManager/disable()}} method, when invoked, *must* return a new [=promise=] |promise| and run the following steps [=in parallel=]: + + 1. Let |registration| be the [=context object=]'s associated [=/service worker registration=]. + 1. If |registration|'s [=active worker=] is null, [=reject=] |promise| with an "{{InvalidStateError}}" exception, and abort these steps. + 1. Unset |registration|'s [=navigation preload enabled flag=]. + 1. [=Resolve=] |promise|. + </section> + + <section algorithm> + <h4 id="navigation-preload-manager-setheadervalue"><dfn>{{NavigationPreloadManager/setHeaderValue(value)}}</dfn></h4> + + The <a method for="NavigationPreloadManager"><code>setHeaderValue(|value|)</code></a> method, when invoked, *must* return [=a new promise=] |promise| and run the following steps [=in parallel=]: Ah.. That's right. I got it. -- 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/983
Received on Friday, 16 December 2016 13:48:23 UTC