diff --git a/index.bs b/index.bs index 385993f4..3ba62453 100644 --- a/index.bs +++ b/index.bs @@ -5137,6 +5137,12 @@ useful when constructing the exception's [=exception/message=].

Let object be a newly [=created=] "{{SyntaxError}}" {{DOMException}}.

+ +

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

+ [=Reject=] p with an "{{OperationError}}" {{DOMException}}. +
@@ -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|%]].