Re: [push-api] Resolve with null if not registered. (#101)

>          </li>
>          <li>Retrieve the <a>push registration</a> associated with the <a>webapp</a>.
>          </li>
>          <li>If there is an error, reject <var>promise</var> with a <code><a>DOMException</a></code>
> -        whose name is "<code><a>AbortError</a></code>" and terminate these steps.
> +        and terminate these steps.

What kind of error is an implementation meant to throw if it's not an AbortError? Specifying the kind of DOMException still seems valuable here, even if you keep it as generic as AbortError.

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

Received on Tuesday, 6 January 2015 16:16:30 UTC