Skip to content

Commit

Permalink
Handle errors from JSON serialization. (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbiesinger authored Oct 28, 2024
1 parent bfa0a09 commit 026dbaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1208,6 +1208,7 @@ To <dfn>fetch an identity assertion</dfn> given a {{USVString}}
1. If |provider|'s {{IdentityProviderRequestOptions/params}} is not empty:
1. Let |json| be the result of [=serializing a JavaScript value to a JSON string=]
with |provider|'s {{IdentityProviderRequestOptions/params}}.
1. If serializing threw an exception, return failure.
1. Append ("params", |json|) to |list|.
1. Let |requestBody| be the result of running [=urlencoded serializer=] with |list|.
1. Let |request| be a new <a spec=fetch for=/>request</a> as follows:
Expand Down

0 comments on commit 026dbaa

Please sign in to comment.