Skip to content

Commit

Permalink
Additions per code review
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Oct 10, 2022
1 parent 250f6ec commit 9d3fbe5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5137,6 +5137,12 @@ useful when constructing the exception's [=exception/message=].
<blockquote>
<p>Let <var ignore>object</var> be a newly [=created=] "{{SyntaxError}}" {{DOMException}}.
</blockquote>

<p>To [=reject=] a promise with a new {{DOMException}} with [=error name=] "{{OperationError}}":

<blockquote>
[=Reject=] <var ignore>p</var> with an "{{OperationError}}" {{DOMException}}.
</blockquote>
</div>

<div class=example id=example-exception-throwing-message-hint>
Expand Down Expand Up @@ -14474,6 +14480,10 @@ A {{DOMException}} is represented by a
situation. The calling specification may contain information to to help implementations
construct this message.

Implementations need to be cautious not to leak sensitive or secured information when
constructing this message, e.g., by including the [=Document/URL=] of a cross-origin frame,
or information which could identify the user.

1. Let |args| be « |message| ».

1. Let |constructor| be [=current realm=].\[[Intrinsics]].[[%|T|%]].
Expand Down

0 comments on commit 9d3fbe5

Please sign in to comment.