Re: [w3c/ServiceWorker] Parse URLs relative to the relevant settings object, not entry (#963)

>        <li>Let <var>workerType</var> be the <{link/workertype}> attribute, or "<code>classic</code>" if the <{link/workertype}> attribute is omitted.</li>
>        <li>If <var>workerType</var> is not a valid {{WorkerType}} value, <a>queue a task</a> to <a>fire a simple event</a> named <code>error</code> at the <{link}> element, and abort these steps.</li>
>        <li>Let <var>promise</var> be a new <a>promise</a>.</li>
>        <li>Invoke [[#start-register-algorithm]] with <var>scopeURL</var>, <var>scriptURL</var>, <var>promise</var>, <var>client</var>, <var>client</var>'s <a>creation URL</a> and <var>workerType</var>.</li>
>        <li>Run the following substeps <a>in parallel</a>:
>          <ol>
>            <li>Wait until <var>promise</var> settles.</li>
> -          <li>If <var>promise</var> rejected, <a>queue a task</a> to <a>fire a simple event</a> named <code>error</code> at the <{link}> element.</li>
> -          <li>If <var>promise</var> resolved, <a>queue a task</a> to <a>fire a simple event</a> named <code>load</code> at the <{link}> element.</li>
> +          <li>If <var>promise</var> rejects, <a>queue a task</a> to <a>fire a simple event</a> named <code>error</code> at the <{link}> element.</li>
> +          <li>If <var>promise</var> fulfills, <a>queue a task</a> to <a>fire a simple event</a> named <code>load</code> at the <{link}> element.</li>

I will revert this and let you do a separate cleanup if you want

-- 
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/963/files/7436dd7d0d53bc4de0cc2227a9bb6c0c24cc441d#r77707840

Received on Tuesday, 6 September 2016 20:04:52 UTC