Update WebAuthn PRF support for Safari 18.0+ #27586
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reference: https://developer.apple.com/documentation/safari-release-notes/safari-18-release-notes
Summary
Marks the
prfextension for the CredentialsContainers API as available in Safari for macOS and iOS as of Safari 18.Test results and supporting details
This feature is cited in the Safari 18.0 Release Notes:
I've tested it with this gist on Safari 18.6 running on macOS, and Safari 18.6 running on iOS (unfortunately I have no access to earlier versions). Both versions worked as expected when tested both with Apple's own password manager and with a third-party password manager (1Password).
The WebKit source has a feature gate referencing the iOS and macOS versions of Safari in which it was made available.
Confusingly, the WebKit bug 259934 that is currently referenced in this definition remains open with no updates from Apple. However, the feature is present, definitely works, and has been publicly announced by Apple in their own changelog 11 months ago. And the bug in the WebKit tracker has not been updated by Apple since 2023. So my assumption is that they forgot to close it :)
Related issues
None as far as I can tell.