Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,7 @@ <h2>
interface PushMessageData {
ArrayBuffer arrayBuffer();
Blob blob();
Uint8Array bytes();
any json();
USVString text();
};
Expand All @@ -993,6 +994,11 @@ <h2>
The <dfn>blob()</dfn> method, when invoked, MUST return a {{Blob}} whose contents are
|bytes| and |type| is not provided.
</p>
<p>
The <dfn>bytes()</dfn> method, when invoked, MUST return a {{Uint8Array}} backed by a
{{ArrayBuffer}} whose contents are |bytes|. Exceptions thrown during the creation of the
{{ArrayBuffer}} object are re-thrown.
</p>
<p data-cite="encoding">
The <dfn>json()</dfn> method, when invoked, MUST return the result of invoking the initial
value of `JSON`.{{JSON/parse()}} with the result of running <a>utf-8 decode</a> on |bytes|
Expand Down