Skip to content

Commit

Permalink
don't return within the fetch handler
Browse files Browse the repository at this point in the history
  • Loading branch information
cbiesinger committed Oct 30, 2024
1 parent 06cd209 commit 6d44639
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ or failure.
to an {{IdentityProviderWellKnown}}.
1. If one of the previous two steps threw an exception, or if the
[=list/size=] of |discovery|["{{IdentityProviderWellKnown/provider_urls}}"] is
greater than 1, set |discovery| to null.
greater than 1, set |discovery| to failure.

Issue: [relax](https://github.com/fedidcg/FedCM/issues/333) the size of the
provider_urls array.
Expand Down Expand Up @@ -1014,9 +1014,9 @@ or failure.
|config|.{{IdentityProviderAPIConfig/login_url}}, and |globalObject|.
1. Set |accounts_url| to the result of [=computing the manifest URL=] with |provider|,
|config|.{{IdentityProviderAPIConfig/accounts_endpoint}}, and |globalObject|.
1. If |login_url| or |accounts_url| is failure, return failure.
1. If |login_url| or |accounts_url| is failure, set |config| to failure.
1. Wait for both |config| and |discovery| to be set.
1. If |discovery| is null, return failure.
1. If |discovery| or |config| is failure, return failure.
1. If |rpOrigin| is not an [=opaque origin=], and |rootUrl|'s [=url/host=] is equal
to |rpOrigin|'s [=host/registrable domain=], and |rootUrl|'s [=url/scheme=] is
equal to |rpOrigin|'s [=origin/scheme=], return |config|.
Expand Down

0 comments on commit 6d44639

Please sign in to comment.