Skip to content

Commit

Permalink
Update index.bs
Browse files Browse the repository at this point in the history
  • Loading branch information
tttzach authored Oct 3, 2024
1 parent 4fd24da commit d34ecd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -791,11 +791,11 @@ the exception thrown.
1. If |loginStatus| is [=logged-out=], the user agent SHOULD set |loginStatus| to [=unknown=] and MUST do one of the following:

* Return (failure, false).
* Prompt the user whether to continue. This MAY include having to [=allow an affordance to show an IDP login dialog=].
* Prompt the user whether to continue. This MAY include an affordance to [=show an IDP login dialog=].

* If the user cancels this dialog, return (failure, true).
* If the user continues, trigger [=allow an affordance to show an IDP login dialog=].
* If |mode| is [=active=] and [=transient activation=] is present, trigger [=show an IDP login dialog=].
* If the user triggers this affordance, [=fetch the config file and show an IDP login dialog=].
* If |mode| is [=active=] and [=transient activation=] is present, [=fetch the config file and show an IDP login dialog=].

1. Let |requiresUserMediation| be |provider|'s {{IdentityProviderConfig/configURL}}'s [=/origin=]'s
[=requires user mediation=].
Expand Down Expand Up @@ -1462,7 +1462,7 @@ success or failure.
</div>

<div algorithm>
To <dfn>allow an affordance to show an IDP login dialog</dfn> given an {{IdentityProviderConfig}} |provider|, and a |globalObject|, run the following steps. This returns
To <dfn>fetch the config file and show an IDP login dialog</dfn> given an {{IdentityProviderConfig}} |provider|, and a |globalObject|, run the following steps. This returns
success or failure.
1. Assert: these steps are running [=in parallel=].
1. Let |config| be the result of running [=fetch the config file=]
Expand Down

0 comments on commit d34ecd0

Please sign in to comment.