Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (2) Allow DataView to be used where ArrayBufferView is mentioned
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25665
Affected topics: DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@8628 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 13, 2014
1 parent cb47cbe commit 0ecc916
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions complete.html
Expand Up @@ -290,7 +290,7 @@
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 12 May 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 13 May 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
Expand Down Expand Up @@ -3663,7 +3663,8 @@ <h4 id=dependencies><span class=secno>2.2.2 </span>Dependencies</h4>
<pre class=idl>typedef (<dfn id=int8array>Int8Array</dfn> or <dfn id=uint8array>Uint8Array</dfn> or <dfn id=uint8clampedarray>Uint8ClampedArray</dfn> or
<dfn id=int16array>Int16Array</dfn> or <dfn id=uint16array>Uint16Array</dfn> or
<dfn id=int32array>Int32Array</dfn> or <dfn id=uint32array>Uint32Array</dfn> or
<dfn id=float32array>Float32Array</dfn> or <dfn id=float64array>Float64Array</dfn>) <dfn id=arraybufferview>ArrayBufferView</dfn>;</pre>
<dfn id=float32array>Float32Array</dfn> or <dfn id=float64array>Float64Array</dfn> or
<dfn id=dataview>DataView</dfn>) <dfn id=arraybufferview>ArrayBufferView</dfn>;</pre>

<p class=note>In particular, the <code><a href=#uint8clampedarray>Uint8ClampedArray</a></code> type is used by some <a href=#imagedata title=ImageData>2D canvas APIs</a>, and the <a href=#network><code>WebSocket</code>
API</a> uses <code><a href=#arraybuffer>ArrayBuffer</a></code> objects for handling binary frames.</p>
Expand Down
5 changes: 3 additions & 2 deletions index
Expand Up @@ -290,7 +290,7 @@
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 12 May 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 13 May 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
Expand Down Expand Up @@ -3663,7 +3663,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<pre class=idl>typedef (<dfn id=int8array>Int8Array</dfn> or <dfn id=uint8array>Uint8Array</dfn> or <dfn id=uint8clampedarray>Uint8ClampedArray</dfn> or
<dfn id=int16array>Int16Array</dfn> or <dfn id=uint16array>Uint16Array</dfn> or
<dfn id=int32array>Int32Array</dfn> or <dfn id=uint32array>Uint32Array</dfn> or
<dfn id=float32array>Float32Array</dfn> or <dfn id=float64array>Float64Array</dfn>) <dfn id=arraybufferview>ArrayBufferView</dfn>;</pre>
<dfn id=float32array>Float32Array</dfn> or <dfn id=float64array>Float64Array</dfn> or
<dfn id=dataview>DataView</dfn>) <dfn id=arraybufferview>ArrayBufferView</dfn>;</pre>

<p class=note>In particular, the <code><a href=#uint8clampedarray>Uint8ClampedArray</a></code> type is used by some <a href=#imagedata title=ImageData>2D canvas APIs</a>, and the <a href=#network><code>WebSocket</code>
API</a> uses <code><a href=#arraybuffer>ArrayBuffer</a></code> objects for handling binary frames.</p>
Expand Down
3 changes: 2 additions & 1 deletion source
Expand Up @@ -2386,7 +2386,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<pre class="idl">typedef (<dfn>Int8Array</dfn> or <dfn>Uint8Array</dfn> or <dfn>Uint8ClampedArray</dfn> or
<dfn>Int16Array</dfn> or <dfn>Uint16Array</dfn> or
<dfn>Int32Array</dfn> or <dfn>Uint32Array</dfn> or
<dfn>Float32Array</dfn> or <dfn>Float64Array</dfn>) <dfn>ArrayBufferView</dfn>;</pre>
<dfn>Float32Array</dfn> or <dfn>Float64Array</dfn> or
<dfn>DataView</dfn>) <dfn>ArrayBufferView</dfn>;</pre>

<p class="note">In particular, the <code>Uint8ClampedArray</code> type is used by some <span
data-x="ImageData">2D canvas APIs</span>, and the <a href="#network"><code>WebSocket</code>
Expand Down

0 comments on commit 0ecc916

Please sign in to comment.