- From: John Mellor <notifications@github.com>
- Date: Wed, 26 Nov 2014 05:45:27 -0800
- To: w3c/push-api <push-api@noreply.github.com>
Received on Wednesday, 26 November 2014 13:45:57 UTC
> + </p> > + <p> > + The <code><dfn id="widl-PushMessageData-arrayBuffer-ArrayBuffer">arrayBuffer()</dfn></code> > + method, when invoked, MUST return an <a><code>ArrayBuffer</code></a> whose contents are > + <var>bytes</var>. > + </p> > + <p> > + The <code><dfn id="widl-PushMessageData-blob-Blob">blob()</dfn></code> method, when > + invoked, MUST return a <a><code>Blob</code></a> whose contents are <var>bytes</var> and > + <var>type</var> is not provided. > + </p> > + <p> > + The <code><dfn id="widl-PushMessageData-json-Any">json()</dfn></code> method, when invoked, > + MUST return the result of invoking the initial value of <a><code>JSON.parse</code></a> with > + the result of running <a>utf-8 decode</a> on <var>bytes</var> as argument. This may throw > + an exception. I rephrased as `Re-throw any exceptions thrown by <a><code>JSON.parse</code></a>`. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/push-api/pull/88/files#r20934903
Received on Wednesday, 26 November 2014 13:45:57 UTC