| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (RuntimeEnabledFeatures::WebAuthenticationUiModeEnabled(&context) &&
options.hasUiMode() &&
options.uiMode() == V8CredentialUiModeRequirement::Enum::kImmediate) {
return true;
}Should we consider checking for the mediation here too? I think we should reject the invalid combinations (e.g. mediation: "conditional" && uiMode: "immediate").
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
name: "WebAuthenticationUiMode",This may be `CredentialManagerUiMode`, but I don't have strong preference.
if (RuntimeEnabledFeatures::WebAuthenticationUiModeEnabled(&context) &&
options.hasUiMode() &&
options.uiMode() == V8CredentialUiModeRequirement::Enum::kImmediate) {
return true;
}Should we consider checking for the mediation here too? I think we should reject the invalid combinations (e.g. mediation: "conditional" && uiMode: "immediate").
I've added a `CHECK` for that, because the check for immediate is after the check for conditional, and there it now throws an exception if someone specified both.
This may be `CredentialManagerUiMode`, but I don't have strong preference.
I have a slight preference for the current name because it's being developed initially for passkeys primarily, and the flag should be gone by the time there are trials for other types.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
name: "WebAuthenticationUiMode",Ken BuchananThis may be `CredentialManagerUiMode`, but I don't have strong preference.
I have a slight preference for the current name because it's being developed initially for passkeys primarily, and the flag should be gone by the time there are trials for other types.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
dtapuska@: PTAL third_party/blink/renderer/platform/runtime_enabled_features.json5?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[WebAuthn] Add uiMode to CredentialRequestOptions
This adds `uiMode` to `CredentialRequestOptions`, which will be the
mechanism to turn on Immediate FLUX requests. Currently Immediate
exists as a Mediation value, which will remain valid for the duration
of the origin trial, but will be switched fully to `uiMode` before
shipping.
It is behind a flag, enabled by experimental web platform features.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |