Re: [w3c/manifest] Add support for 'serviceworkers' member (#507)

marcoscaceres commented on this pull request.



> +          represents any associated <dfn>service worker</dfn>.
+        </p>
+        <p>
+          The <a><code>serviceworkers</code> member</a> represents a service worker
+          registration. Other service worker registrations can be done, for instance
+          by a script; if these have different scopes they will be considered separate
+          registrations. If they have the same scope and script URL, they coalesce.
+          If they have different script URLs, last one wins.
+        </p>
+        <p class="note">
+          The <code>serviceworkers</code> member is processed using the <a>steps for
+          processing an array of service workers</a>.
+        </p>
+        <div class="example">
+<pre class="">
+"serviceworkers": [{

I'm of the opinion also that there should only be 1 service worker in the manifest. Other service workers should be declared in the document(s) of the app. 

-- 
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/manifest/pull/507

Received on Friday, 21 October 2016 22:16:43 UTC