- From: Peter Beverloo <notifications@github.com>
- Date: Tue, 06 Dec 2016 16:09:16 -0800
- To: w3c/push-api <push-api@noreply.github.com>
Received on Wednesday, 7 December 2016 00:09:48 UTC
beverloo commented on this pull request.
> - </dt>
- <dt>
- Promise<PushSubscription?> getSubscription ()
- </dt>
- <dt>
- Promise<PushPermissionState> permissionState (optional PushSubscriptionOptionsInit
- options)
- </dt>
- </dl>
+ <pre class="idl">
+interface PushManager {
+ Promise<PushSubscription> subscribe(optional PushSubscriptionOptionsInit options);
+ Promise<PushSubscription?> getSubscription();
+ Promise<PushPermissionState> permissionState(optional PushSubscriptionOptionsInit options);
+};
+</pre>
<p>
The <code><dfn id=
"widl-PushManager-subscribe-Promise-PushSubscription--PushSubscriptionOptionsInit-options">subscribe</dfn></code>
OK, let's do it.
Thanks for your help, Marcos! I'll make sure that I read up on the ReSpec WebIDL guide.
--
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/push-api/pull/229
Received on Wednesday, 7 December 2016 00:09:48 UTC