Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: expand iff to if and only if #232

Merged
merged 1 commit into from
May 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ spec:css-syntax-3;
<h5 id="algorithm-collect-creds" algorithm>`[[CollectFromCredentialStore]]` internal method</h5>
<dfn for="Credential" method export>\[[CollectFromCredentialStore]](origin, options, sameOriginWithAncestors)</dfn>
is called with an [=environment settings object/origin=], a {{CredentialRequestOptions}}, and a boolean which
is true iff the caller's [=environment settings object=] is [=same-origin with its ancestors=].
is true if and only if the caller's [=environment settings object=] is [=same-origin with its ancestors=].
The algorithm returns a set of {{Credential}} objects from the user agent's [=credential store=] that
match the options provided. If no matching {{Credential}} objects are available, the
returned set will be empty.
Expand All @@ -494,7 +494,7 @@ spec:css-syntax-3;
<h5 id="algorithm-discover-creds" algorithm>`[[DiscoverFromExternalSource]]` internal method</h5>
<dfn for="Credential" method export>\[[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors)</dfn>
is called [=in parallel=] with an [=environment settings object/origin=], a {{CredentialRequestOptions}} object,
and a boolean which is true iff the caller's [=environment settings object=] is
and a boolean which is true if and only if the caller's [=environment settings object=] is
[=same-origin with its ancestors=].
It returns a {{Credential}} if one can be
returned given the options provided, `null` if no credential is available, or throws an
Expand All @@ -511,7 +511,7 @@ spec:css-syntax-3;

<h5 id="algorithm-store-cred" algorithm>`[[Store]]` internal method</h5>
<dfn for="Credential" method export>\[[Store]](credential, sameOriginWithAncestors)</dfn>
is called [=in parallel=] with a {{Credential}}, and a boolean which is true iff the caller's
is called [=in parallel=] with a {{Credential}}, and a boolean which is true if and only if the caller's
[=environment settings object=] is [=same-origin with its ancestors=].
The algorithm returns once {{Credential}} is persisted to the [=credential store=].

Expand All @@ -524,7 +524,7 @@ spec:css-syntax-3;
<h5 id="algorithm-create-cred" algorithm>`[[Create]]` internal method</h5>
<dfn for="Credential" method export>\[[Create]](origin, options, sameOriginWithAncestors)</dfn>
is called [=in parallel=] with an [=environment settings object/origin=], a {{CredentialCreationOptions}},
and a boolean which is true iff the caller's
and a boolean which is true if and only if the caller's
[=environment settings object=] is [=same-origin with its ancestors=].
The algorithm either:

Expand Down Expand Up @@ -1050,7 +1050,7 @@ spec:css-syntax-3;
<h4 id="algorithm-collect-known" algorithm>Collect `Credential`s from the credential store</h4>

Given an [=environment settings object/origin=] (|origin|),
a {{CredentialRequestOptions}} (|options|), and a boolean which is `true` iff the calling
a {{CredentialRequestOptions}} (|options|), and a boolean which is `true` if and only if the calling
context is [=same-origin with its ancestors=] (|sameOriginWithAncestors|), the user agent may
<dfn abstract-op local-lt="collect local">collect `Credential`s from the credential store</dfn>,
returning a set of {{Credential}} objects stored by the user agent locally that match |options|'
Expand Down Expand Up @@ -1522,7 +1522,7 @@ spec:css-syntax-3;

<dfn for="PasswordCredential" method>\[[CollectFromCredentialStore]](origin, options, sameOriginWithAncestors)</dfn>
is called with an [=origin=] (|origin|), a {{CredentialRequestOptions}} (|options|),
and a boolean which is `true` iff the calling context is [=same-origin with its ancestors=]
and a boolean which is `true` if and only if the calling context is [=same-origin with its ancestors=]
(|sameOriginWithAncestors|).
The algorithm returns a set of {{Credential}} objects from
the [=credential store=]. If no matching {{Credential}} objects are available, the returned set
Expand Down Expand Up @@ -1552,7 +1552,7 @@ spec:css-syntax-3;

<dfn for="PasswordCredential" method>\[[Create]](origin, options, sameOriginWithAncestors)</dfn>
is called with an [=origin=] (|origin|), a
{{CredentialCreationOptions}} (|options|), and a boolean which is `true` iff the calling
{{CredentialCreationOptions}} (|options|), and a boolean which is `true` if and only if the calling
context is [=same-origin with its ancestors=] (|sameOriginWithAncestors|).
The algorithm returns a {{PasswordCredential}} if one can be created,
`null` otherwise. The {{CredentialCreationOptions}} dictionary must have a `password` member which
Expand Down Expand Up @@ -1581,7 +1581,7 @@ spec:css-syntax-3;
</h4>

<dfn for="PasswordCredential" method>\[[Store]](credential, sameOriginWithAncestors)</dfn> is
called with a {{PasswordCredential}} (|credential|), and a boolean which is `true` iff the calling
called with a {{PasswordCredential}} (|credential|), and a boolean which is `true` if and only if the calling
context is [=same-origin with its ancestors=] (|sameOriginWithAncestors|). The algorithm returns
`undefined` once |credential| is persisted to the [=credential store=].

Expand Down Expand Up @@ -1875,7 +1875,7 @@ spec:css-syntax-3;

<dfn for="FederatedCredential" method>\[[CollectFromCredentialStore]](origin, options, sameOriginWithAncestors)</dfn>
is called with an [=origin=] (|origin|), a {{CredentialRequestOptions}} (|options|),
and a boolean which is `true` iff the calling context is [=same-origin with its ancestors=] (|sameOriginWithAncestors|).
and a boolean which is `true` if and only if the calling context is [=same-origin with its ancestors=] (|sameOriginWithAncestors|).
The algorithm returns a set of {{Credential}} objects from
the [=credential store=]. If no matching {{Credential}} objects are available, the returned set
will be empty.
Expand Down Expand Up @@ -1906,7 +1906,7 @@ spec:css-syntax-3;

<dfn for="FederatedCredential" method>\[[Create]](origin, options, sameOriginWithAncestors)</dfn>
is called with an [=origin=] (|origin|), a
{{CredentialCreationOptions}} (|options|), and a boolean which is `true` iff the
{{CredentialCreationOptions}} (|options|), and a boolean which is `true` if and only if the
calling context is [=same-origin with its ancestors=] (|sameOriginWithAncestors|).
The algorithm returns a {{FederatedCredential}} if one can be created,
`null` otherwise, or throws an [=exception=] in exceptional circumstances:
Expand All @@ -1928,7 +1928,7 @@ spec:css-syntax-3;
</h4>

<dfn for="FederatedCredential" method>\[[Store]](credential, sameOriginWithAncestors)</dfn> is
called with a {{FederatedCredential}} (|credential|), and a boolean which is `true` iff the
called with a {{FederatedCredential}} (|credential|), and a boolean which is `true` if and only if the
calling context is [=same-origin with its ancestors=] (|sameOriginWithAncestors|). The algorithm
returns `undefined` once |credential| is persisted to the [=credential store=].

Expand Down Expand Up @@ -2361,7 +2361,7 @@ spec:css-syntax-3;
`ExampleCredential`'s `[[CollectFromCredentialStore]](origin, options, sameOriginWithAncestors)`
internal method is called
with an [=environment settings object/origin=] (`origin`), a CredentialRequestOptions
object (`options`), and a boolean which is `true` iff the calling context is [=same-origin with its ancestors=].
object (`options`), and a boolean which is `true` if and only if the calling context is [=same-origin with its ancestors=].
The algorithm returns a set of {{Credential}}
objects that match the options provided. If no matching {{Credential}} objects are
available, the returned set will be empty.
Expand Down
Loading