Skip to content

Commit

Permalink
add [[ErrorData]] slot to DOMExceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 18, 2024
1 parent 1ce5eb5 commit 538452c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -14505,6 +14505,7 @@ The [=class string=] of a [=namespace object=] is the [=namespace=]'s [=identifi
In the JavaScript binding, the [=interface prototype object=] for {{DOMException}}
has its \[[Prototype]] [=/internal slot=] set to the intrinsic object {{%Error.prototype%}},
as defined in the [=create an interface prototype object=] abstract operation.
It also has an \[[ErrorData]] slot, like all built-in exceptions.

Additionally, if an implementation gives native {{Error}} objects special powers or
nonstandard properties (such as a <code>stack</code> property),
Expand Down

0 comments on commit 538452c

Please sign in to comment.