Skip to content

Commit

Permalink
Use new syntax for DOMException. (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger authored and bzbarsky committed Aug 29, 2019
1 parent 91ca6eb commit 21ffd9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -14129,9 +14129,10 @@ fragment:

<pre class="idl">
[Exposed=(Window,Worker),
Constructor(optional DOMString message = "", optional DOMString name = "Error"),
Serializable]
interface DOMException { // but see below note about ECMAScript binding
constructor(optional DOMString message = "", optional DOMString name = "Error");

readonly attribute DOMString name;
readonly attribute DOMString message;
readonly attribute unsigned short code;
Expand Down

0 comments on commit 21ffd9b

Please sign in to comment.