Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Obsolete "TypeMismatchError" in favor of TypeError.

  • Loading branch information...
commit 3c29e293d32945d3a5363bb241d4d215227e0d7b 1 parent dc17fc9
@annevk annevk authored
Showing with 2 additions and 10 deletions.
  1. +1 −5 Overview.src.html
  2. +1 −5 dom-core.html
View
6 Overview.src.html
@@ -488,7 +488,7 @@ <h2 class=no-num>Goals</h2>
const unsigned short <span title=dom-DOMException-NAMESPACE_ERR>NAMESPACE_ERR</span> = 14;
const unsigned short <span title=dom-DOMException-INVALID_ACCESS_ERR>INVALID_ACCESS_ERR</span> = 15;
const unsigned short <span title=dom-DOMException-VALIDATION_ERR>VALIDATION_ERR</span> = 16; // historical
- const unsigned short <span title=dom-DOMException-TYPE_MISMATCH_ERR>TYPE_MISMATCH_ERR</span> = 17;
+ const unsigned short <span title=dom-DOMException-TYPE_MISMATCH_ERR>TYPE_MISMATCH_ERR</span> = 17; // historical; use TypeError instead
const unsigned short <span title=dom-DOMException-SECURITY_ERR>SECURITY_ERR</span> = 18;
const unsigned short <span title=dom-DOMException-NETWORK_ERR>NETWORK_ERR</span> = 19;
const unsigned short <span title=dom-DOMException-ABORT_ERR>ABORT_ERR</span> = 20;
@@ -622,10 +622,6 @@ <h2 class=no-num>Goals</h2>
<td>The object does not support the operation or argument.
<td><dfn title=dom-DOMException-INVALID_ACCESS_ERR><code>INVALID_ACCESS_ERR</code></dfn> (15)
<tr>
- <td>"<dfn><code>TypeMismatchError</code></dfn>"
- <td>The type of the object does not match the expected type.
- <td><dfn title=dom-DOMException-TYPE_MISMATCH_ERR><code>TYPE_MISMATCH_ERR</code></dfn> (17)
- <tr>
<!-- XHR -->
<td>"<dfn><code>SecurityError</code></dfn>"
<td>The operation is insecure.
View
6 dom-core.html
@@ -549,7 +549,7 @@ <h3 id="exception-domexception"><span class="secno">3.1 </span>Exception <code><
const unsigned short <a href="#dom-domexception-namespace_err" title="dom-DOMException-NAMESPACE_ERR">NAMESPACE_ERR</a> = 14;
const unsigned short <a href="#dom-domexception-invalid_access_err" title="dom-DOMException-INVALID_ACCESS_ERR">INVALID_ACCESS_ERR</a> = 15;
const unsigned short <span title="dom-DOMException-VALIDATION_ERR">VALIDATION_ERR</span> = 16; // historical
- const unsigned short <a href="#dom-domexception-type_mismatch_err" title="dom-DOMException-TYPE_MISMATCH_ERR">TYPE_MISMATCH_ERR</a> = 17;
+ const unsigned short <span title="dom-DOMException-TYPE_MISMATCH_ERR">TYPE_MISMATCH_ERR</span> = 17; // historical; use TypeError instead
const unsigned short <a href="#dom-domexception-security_err" title="dom-DOMException-SECURITY_ERR">SECURITY_ERR</a> = 18;
const unsigned short <a href="#dom-domexception-network_err" title="dom-DOMException-NETWORK_ERR">NETWORK_ERR</a> = 19;
const unsigned short <a href="#dom-domexception-abort_err" title="dom-DOMException-ABORT_ERR">ABORT_ERR</a> = 20;
@@ -683,10 +683,6 @@ <h3 id="error-names-0"><span class="secno">3.3 </span>Error names</h3>
<td>The object does not support the operation or argument.
<td><dfn id="dom-domexception-invalid_access_err" title="dom-DOMException-INVALID_ACCESS_ERR"><code>INVALID_ACCESS_ERR</code></dfn> (15)
<tr>
- <td>"<dfn id="typemismatcherror"><code>TypeMismatchError</code></dfn>"
- <td>The type of the object does not match the expected type.
- <td><dfn id="dom-domexception-type_mismatch_err" title="dom-DOMException-TYPE_MISMATCH_ERR"><code>TYPE_MISMATCH_ERR</code></dfn> (17)
- <tr>
<!-- XHR -->
<td>"<dfn id="securityerror"><code>SecurityError</code></dfn>"
<td>The operation is insecure.
Please sign in to comment.
Something went wrong with that request. Please try again.