Re: [push-api] Move unregister() to PushRegistration. (#97)

> +      </p>
> +      <ol>
> +        <li>Let <var>promise</var> be a new <a><code>Promise</code></a>.
> +        </li>
> +        <li>Return <var>promise</var> and continue the following steps asynchronously.
> +        </li>
> +        <li>If the <a>webapp</a> is not registered, resolve <var>promise</var> with
> +        <code>false</code> and terminate these steps.
> +        </li>
> +        <li>Make a request to the system to deactivate the <a>push registration</a> associated with
> +        the <a>webapp</a>.
> +        </li>
> +        <li>If it was not possible to access the <a>push server</a>, reject <var>promise</var> with
> +        a "<code><a>NetworkError</a></code>" exception and terminate these steps.
> +        </li>
> +        <li>When the request has been completed, resolve <var>promise</var> with a

just with.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/pull/97/files#r21832457

Received on Monday, 15 December 2014 15:35:10 UTC