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

kenchris commented on this pull request.



>                manifest</a>.
               </li>
               <li>If <a>obtaining the manifest</a> results in an error, a user
               agent can, at this point, fall back to using the <a>top-level
               browsing context</a>' <code>Document</code>'s metadata to
               populate an <a>installation process</a>' UI.
               </li>
+              <li>If <a>obtaining the manifest</a> succeeds, and the result of running the
+              <a>steps for processing the serviceworker member</a> with <a>manifest</a>
+              returns a valid <var>registration</var>, a user agent can at this point
+              <ol>
+                <li>Let <var>client</var> be the <a>top-level browsing context</a>'
+                <code>Document</code>'s
+                <a href="https://html.spec.whatwg.org/multipage/webappapis.html#relevant-settings-object">
+                relevant settings object</a>, or <code>null</code> if unavailable.
+                <li>Invoke <a>Start Register</a> with <var>scope</var> and <var>src</var>
+                members of the <var>registration</var>, a new <var>promise</var>,
+                <var>client</var>, <a>manifest URL</a>, plus the <var>type</var> and <var>use_cache</var>
+                members of the <var>registration</var>,
+                </li>
+              </ol>
+              in which case the state of the settled <var>promise</var> determine whether the

fixed

-- 
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 Wednesday, 28 December 2016 12:01:04 UTC