Skip to content

Commit 026dbaa

Browse files
authored
Handle errors from JSON serialization. (#666)
1 parent bfa0a09 commit 026dbaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/index.bs

+1
Original file line numberDiff line numberDiff line change
@@ -1208,6 +1208,7 @@ To <dfn>fetch an identity assertion</dfn> given a {{USVString}}
12081208
1. If |provider|'s {{IdentityProviderRequestOptions/params}} is not empty:
12091209
1. Let |json| be the result of [=serializing a JavaScript value to a JSON string=]
12101210
with |provider|'s {{IdentityProviderRequestOptions/params}}.
1211+
1. If serializing threw an exception, return failure.
12111212
1. Append ("params", |json|) to |list|.
12121213
1. Let |requestBody| be the result of running [=urlencoded serializer=] with |list|.
12131214
1. Let |request| be a new <a spec=fetch for=/>request</a> as follows:

0 commit comments

Comments
 (0)