Re: [heycam/webidl] Deprecate InvalidAccessError. (#246)

tobie commented on this pull request.



> +    <table id="legacy-error-names" class="vert data">
+        <thead>
+            <tr>
+                <th>Name</th>
+                <th>Alternative</th>
+            </tr>
+        </thead>
+        <tbody>
+            <tr>
+                <td>
+                    "<dfn id="invalidaccesserror" exception export><code>InvalidAccessError</code></dfn>"<br>
+                    <dfn id="dom-domexception-invalid_access_err" for="DOMException" const export><code>INVALID_ACCESS_ERR</code></dfn>&nbsp;(15)
+                </td>
+                <td>
+                    Use <emu-val>TypeError</emu-val> for invalid arguments and
+                    {{NotSupportedError}} for unsupported operations instead.

Added the quotes. With two DOMExceptions mentioned, adding `the "XxxError" DOMException` both times wasn't very fluid. Should be obvious from the context and the links anyway, hopefully.

-- 
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/246

Received on Thursday, 8 December 2016 09:29:03 UTC