[html5] r4883 - [e] (0) intro text for drawImage() had incorrect exception info. Fixing http://w [...]
whatwg at whatwg.org
whatwg at whatwg.org
Sun Mar 28 22:09:38 PDT 2010
Author: ianh
Date: 2010-03-28 22:09:37 -0700 (Sun, 28 Mar 2010)
New Revision: 4883
Modified:
complete.html
index
source
Log:
[e] (0) intro text for drawImage() had incorrect exception info.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9114
Modified: complete.html
===================================================================
--- complete.html 2010-03-29 05:04:35 UTC (rev 4882)
+++ complete.html 2010-03-29 05:09:37 UTC (rev 4883)
@@ -27978,9 +27978,10 @@
<code><a href=#the-canvas-element>canvas</a></code>, or <code><a href=#video>video</a></code> element, throws a
<code><a href=#type_mismatch_err>TYPE_MISMATCH_ERR</a></code> exception. If the image has no
image data, throws an <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception. If
- the second argument isn't one of the allowed values, throws a
- <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception. If the image isn't yet fully
- decoded, then nothing is drawn.</p>
+ the numeric arguments don't make sense (e.g. the destination is a
+ 0×0 rectangle), throws an <code><a href=#index_size_err>INDEX_SIZE_ERR</a></code>
+ exception. If the image isn't yet fully decoded, then nothing is
+ drawn.</p>
</dd>
Modified: index
===================================================================
--- index 2010-03-29 05:04:35 UTC (rev 4882)
+++ index 2010-03-29 05:09:37 UTC (rev 4883)
@@ -27879,9 +27879,10 @@
<code><a href=#the-canvas-element>canvas</a></code>, or <code><a href=#video>video</a></code> element, throws a
<code><a href=#type_mismatch_err>TYPE_MISMATCH_ERR</a></code> exception. If the image has no
image data, throws an <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception. If
- the second argument isn't one of the allowed values, throws a
- <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception. If the image isn't yet fully
- decoded, then nothing is drawn.</p>
+ the numeric arguments don't make sense (e.g. the destination is a
+ 0×0 rectangle), throws an <code><a href=#index_size_err>INDEX_SIZE_ERR</a></code>
+ exception. If the image isn't yet fully decoded, then nothing is
+ drawn.</p>
</dd>
Modified: source
===================================================================
--- source 2010-03-29 05:04:35 UTC (rev 4882)
+++ source 2010-03-29 05:09:37 UTC (rev 4883)
@@ -30491,9 +30491,10 @@
<code>canvas</code>, or <code>video</code> element, throws a
<code>TYPE_MISMATCH_ERR</code> exception. If the image has no
image data, throws an <code>INVALID_STATE_ERR</code> exception. If
- the second argument isn't one of the allowed values, throws a
- <code>SYNTAX_ERR</code> exception. If the image isn't yet fully
- decoded, then nothing is drawn.</p>
+ the numeric arguments don't make sense (e.g. the destination is a
+ 0×0 rectangle), throws an <code>INDEX_SIZE_ERR</code>
+ exception. If the image isn't yet fully decoded, then nothing is
+ drawn.</p>
</dd>
More information about the Commit-Watchers
mailing list