Skip to content

Commit

Permalink
Handle errors from JSON serialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbiesinger committed Oct 25, 2024
1 parent bfa0a09 commit 439a94f
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 439a94f

Please sign in to comment.