- From: Mounir Lamouri <notifications@github.com>
- Date: Mon, 15 Dec 2014 07:49:04 -0800
- To: w3c/push-api <push-api@noreply.github.com>
Received on Monday, 15 December 2014 15:50:01 UTC
> @@ -662,6 +638,29 @@ > <code>registrationId</code> and <code>endpoint</code> is expected to be unique and specific > to a particular <a>webapp</a> instance running on a specific device. > </p> > + <p> > + The <code><dfn id= > + "widl-PushRegistration-unregister-Promise-boolean">unregister</dfn></code> method when > + invoked MUST run the following steps: > + </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. I disagree. The entire idea of returning a boolean is to point that nothing actually happen. This is also what we do for ServiceWorker. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/push-api/pull/97/files#r21833579
Received on Monday, 15 December 2014 15:50:01 UTC