Skip to content

Commit

Permalink
Revert "Use new syntax for DOMException. (#780)"
Browse files Browse the repository at this point in the history
This reverts commit 21ffd9b.
  • Loading branch information
bzbarsky authored and Ms2ger committed Sep 3, 2019
1 parent fad813a commit 182b487
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -14146,10 +14146,9 @@ 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 182b487

Please sign in to comment.