Re: [heycam/webidl] Add missing legacy error names. (#251)

annevk commented on this pull request.



>                  </td>
                 <td>
                     Use <emu-val>TypeError</emu-val> for invalid arguments,
                     "{{NotSupportedError!!exception}}" for unsupported operations, and
                     "{{NotAllowedError!!exception}}" for denied requests.
                 </td>
             </tr>
+            <tr>
+                <td>
+                    "<dfn id="validationerror" exception><code>ValidationError</code></dfn>"<br>
+                    <dfn id="dom-domexception-validation_err" for="DOMException" const><code>VALIDATION_ERR</code></dfn>&nbsp;(16)
+                </td>
+                <td>—</td>
+            </tr>
+            <tr>
+                <td>
+                    "<dfn id="typemismatcherror" exception><code>TypeMismatchError</code></dfn>"<br>
+                    <dfn id="dom-domexception-type_mismatch_err" for="DOMException" const><code>TYPE_MISMATCH_ERR</code></dfn>&nbsp;(17)
+                </td>
+                <td>
+                    Use <emu-val>TypeError</emu-val> instead.
+                </td>

Should we maybe give this row a class and a slightly different background color to indicate it is not to be used?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/251#pullrequestreview-12070381

Received on Thursday, 8 December 2016 17:13:35 UTC