Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed incorrect error mention in Create a Trusted Type algorithm. #410

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -901,8 +901,7 @@ a string |value| and a list |arguments|, execute the following steps:
1. If |function| is `null`, throw a TypeError.
1. Let |policyValue| be the result of invoking |function| with
|value| as a first argument, items of |arguments| as subsequent arguments,
and [[ECMASCRIPT#sec-method|callback **this** value]] set to `null`.
1. If |policyValue| is an error, return |policyValue| and abort the following steps.
and [[ECMASCRIPT#sec-method|callback **this** value]] set to `null`, rethrowing any exceptions.
1. If |policy|'s [=TrustedTypePolicy/name=] is `"default"` and the |policyValue|
is null or undefined, return |policyValue|.

Expand Down
Loading