Skip to content

Commit

Permalink
INUSE_ATTRIBUTE_ERR makes a comeback
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Aug 19, 2014
1 parent 32e8fb8 commit 142a129
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
11 changes: 8 additions & 3 deletions Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ <h3>Exception <code>DOMException</code></h3>
const unsigned short <span title=dom-DOMException-NO_MODIFICATION_ALLOWED_ERR>NO_MODIFICATION_ALLOWED_ERR</span> = 7;
const unsigned short <span title=dom-DOMException-NOT_FOUND_ERR>NOT_FOUND_ERR</span> = 8;
const unsigned short <span title=dom-DOMException-NOT_SUPPORTED_ERR>NOT_SUPPORTED_ERR</span> = 9;
const unsigned short <span title=dom-DOMException-INUSE_ATTRIBUTE_ERR>INUSE_ATTRIBUTE_ERR</span> = 10; // historical
const unsigned short <span title=dom-DOMException-INUSE_ATTRIBUTE_ERR>INUSE_ATTRIBUTE_ERR</span> = 10;
const unsigned short <span title=dom-DOMException-INVALID_STATE_ERR>INVALID_STATE_ERR</span> = 11;
const unsigned short <span title=dom-DOMException-SYNTAX_ERR>SYNTAX_ERR</span> = 12;
const unsigned short <span title=dom-DOMException-INVALID_MODIFICATION_ERR>INVALID_MODIFICATION_ERR</span> = 13;
Expand Down Expand Up @@ -559,6 +559,10 @@ <h3>Error names</h3>
<td>"<dfn><code>NotSupportedError</code></dfn>"
<td>The operation is not supported.
<td><dfn title=dom-DOMException-NOT_SUPPORTED_ERR><code>NOT_SUPPORTED_ERR</code></dfn> (9)
<tr>
<td>"<dfn><code>InUseAttributeError</code></dfn>"
<td>The attribute is in use.
<td><dfn title=dom-DOMException-INUSE_ATTRIBUTE_ERR><code>INUSE_ATTRIBUTE_ERR</code></dfn> (9)
<tr>
<td>"<dfn><code>InvalidStateError</code></dfn>"
<td>The object is in an invalid state.
Expand Down Expand Up @@ -6071,8 +6075,9 @@ <h4>Interface <code>Attr</code></h4>
<span title=concept-attribute-element>element</span> to the given value.
</ol>

<p class=note>Unlike <code title=dom-Node-textContent>textContent</code>, no special null
handling is required here.
<p class=note>Unlike with <span title=concept-node>node</span>'s
<code title=dom-Node-textContent>textContent</code>, no special null handling is required
here.

<hr>

Expand Down
13 changes: 9 additions & 4 deletions dom-core.html
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ <h3 id="exception-domexception"><span class="secno">3.1 </span>Exception <code><
const unsigned short <a href="#dom-domexception-no_modification_allowed_err" title="dom-DOMException-NO_MODIFICATION_ALLOWED_ERR">NO_MODIFICATION_ALLOWED_ERR</a> = 7;
const unsigned short <a href="#dom-domexception-not_found_err" title="dom-DOMException-NOT_FOUND_ERR">NOT_FOUND_ERR</a> = 8;
const unsigned short <a href="#dom-domexception-not_supported_err" title="dom-DOMException-NOT_SUPPORTED_ERR">NOT_SUPPORTED_ERR</a> = 9;
const unsigned short <span title="dom-DOMException-INUSE_ATTRIBUTE_ERR">INUSE_ATTRIBUTE_ERR</span> = 10; // historical
const unsigned short <a href="#dom-domexception-inuse_attribute_err" title="dom-DOMException-INUSE_ATTRIBUTE_ERR">INUSE_ATTRIBUTE_ERR</a> = 10;
const unsigned short <a href="#dom-domexception-invalid_state_err" title="dom-DOMException-INVALID_STATE_ERR">INVALID_STATE_ERR</a> = 11;
const unsigned short <a href="#dom-domexception-syntax_err" title="dom-DOMException-SYNTAX_ERR">SYNTAX_ERR</a> = 12;
const unsigned short <a href="#dom-domexception-invalid_modification_err" title="dom-DOMException-INVALID_MODIFICATION_ERR">INVALID_MODIFICATION_ERR</a> = 13;
Expand Down Expand Up @@ -643,6 +643,10 @@ <h3 id="error-names-0"><span class="secno">3.3 </span>Error names</h3>
<td>"<dfn id="notsupportederror"><code>NotSupportedError</code></dfn>"
<td>The operation is not supported.
<td><dfn id="dom-domexception-not_supported_err" title="dom-DOMException-NOT_SUPPORTED_ERR"><code>NOT_SUPPORTED_ERR</code></dfn> (9)
<tr>
<td>"<dfn id="inuseattributeerror"><code>InUseAttributeError</code></dfn>"
<td>The attribute is in use.
<td><dfn id="dom-domexception-inuse_attribute_err" title="dom-DOMException-INUSE_ATTRIBUTE_ERR"><code>INUSE_ATTRIBUTE_ERR</code></dfn> (9)
<tr>
<td>"<dfn id="invalidstateerror"><code>InvalidStateError</code></dfn>"
<td>The object is in an invalid state.
Expand Down Expand Up @@ -5422,7 +5426,7 @@ <h3 id="interface-element"><span class="secno">5.8 </span>Interface <code><a hre
<ol>
<li><p>If <var title="">attr</var>'s <a href="#concept-attribute-element" title="concept-attribute-element">element</a> is
neither null nor <var title="">element</var>, <a href="#concept-throw" title="concept-throw">throw</a> an
"<code>InUseAttributeError</code>".
"<code><a href="#inuseattributeerror">InUseAttributeError</a></code>".

<li><p>Let <var>oldAttr</var> be null.

Expand Down Expand Up @@ -6145,8 +6149,9 @@ <h4 id="interface-attr"><span class="secno">5.8.2 </span>Interface <code><a href
<a href="#concept-attribute-element" title="concept-attribute-element">element</a> to the given value.
</ol>

<p class="note">Unlike <code title="dom-Node-textContent"><a href="#dom-node-textcontent">textContent</a></code>, no special null
handling is required here.
<p class="note">Unlike with <a href="#concept-node" title="concept-node">node</a>'s
<code title="dom-Node-textContent"><a href="#dom-node-textcontent">textContent</a></code>, no special null handling is required
here.

<hr>

Expand Down

0 comments on commit 142a129

Please sign in to comment.