Skip to content

Commit

Permalink
Stringify input in Process value with a default policy
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Jan 23, 2024
1 parent 1fc77c8 commit 664cdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ Given a {{TrustedType}} type (|expectedType|), a [=realm/global object=] (|globa
1. Let |convertedInput| be the result of executing [$Create a
Trusted Type$] algorithm, with the following arguments:
* |defaultPolicy| as |policy|
* |input| as |value|, stringifying if |input| is a {{TrustedType}}
* stringified |input| as |value|
* |expectedType|’s type name as |trustedTypeName|
* « |trustedTypeName|, |sink| » as |arguments|
1. If the algorithm threw an error, rethrow it. Otherwise, return |convertedInput|.
Expand Down

0 comments on commit 664cdec

Please sign in to comment.