- From: Peter Beverloo <notifications@github.com>
- Date: Wed, 07 Dec 2016 09:16:30 -0800
- To: w3c/push-api <push-api@noreply.github.com>
- Message-ID: <w3c/push-api/pull/227/review/11849957@github.com>
beverloo commented on this pull request.
> @@ -601,10 +603,22 @@
provided, or a <code><a>PushSubscriptionOptions</a></code> dictionary with default values.
</li>
<li>If <var>allOptions</var> includes a non-null value for the
- <code><a>applicationServerKey</a></code> attribute, check that the value is valid (i.e.,
- ensure that it describes a valid point on the P-256 curve). If the
- <code><a>applicationServerKey</a></code> value is invalid, reject <var>promise</var> with
- an <code><a>InvalidAccessError</a></code> and terminate these steps.
+ <code><a>applicationServerKey</a></code> attribute, run the following substeps:
+ <ol>
+ <li>Let <var>applicationServerKey</var> be the sequence of octets in
+ <code><a>applicationServerKey</a></code> when provided as a <code><a>BufferSource</a></code>,
+ or the sequence of octets that results from decoding
+ <code><a>applicationServerKey</a></code> using the URL-safe base64 encoding [[!RFC4648]]
Done (also below).
--
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/227
Received on Wednesday, 7 December 2016 17:17:26 UTC