Skip to content

Commit

Permalink
Use 'InvalidStateError' for fully active check
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Jul 16, 2024
1 parent 75bcf50 commit 027715a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ spec:css-syntax-3;
1. Assert: |settings| is a [=secure context=].

1. If |settings|'s [=relevant global object=]'s [=associated Document=] is not [=Document/fully active=],
then return [=a promise rejected with=] "{{NotAllowedError}}" {{DOMException}}.
then return [=a promise rejected with=] "{{InvalidStateError}}" {{DOMException}}.

1. If <code>|options|.{{CredentialRequestOptions/signal}}</code> is [=AbortSignal/aborted=],
then return [=a promise rejected with=]
Expand Down

0 comments on commit 027715a

Please sign in to comment.