| Summary: | Set Web Authentication experimental feature flag as default true | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | pascoe <pascoe> | ||||||||||
| Component: | WebKit Misc. | Assignee: | pascoe <pascoe> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | bfulgham, cdumez, esprehn+autocc, ews-watchlist, jiewen_tan, kondapallykalyan, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
pascoe@apple.com
2021-12-20 15:37:30 PST
Created attachment 447661 [details]
Patch
Created attachment 447722 [details]
Patch
Comment on attachment 447722 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=447722&action=review r=me. So nice to see tons of code deleted! > Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h:-503 > -WK_EXPORT bool WKPreferencesGetWebAuthenticationEnabled(WKPreferencesRef); Ordinarily we would want to make this a stub and deprecate it, but I don't find any uses of this call in other (non-WebKit) software so I think this is okay. > LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt:7 > +navigator.credentials is OK I assume the WebAuthn bits of navigator.credentials aren't present in WK1, but the top-level namespace exists? (In reply to Brent Fulgham from comment #4) > Comment on attachment 447722 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=447722&action=review > > r=me. So nice to see tons of code deleted! > > > Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h:-503 > > -WK_EXPORT bool WKPreferencesGetWebAuthenticationEnabled(WKPreferencesRef); > > Ordinarily we would want to make this a stub and deprecate it, but I don't > find any uses of this call in other (non-WebKit) software so I think this is > okay. > > > LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt:7 > > +navigator.credentials is OK > > I assume the WebAuthn bits of navigator.credentials aren't present in WK1, > but the top-level namespace exists? I think the navigator.credentials bits do get put in there as it's only guarded by the macro with this change. I will modify this patch to keep the preference but default false for WebKitLegacy and true for WK2. Created attachment 447732 [details]
Patch
Created attachment 447735 [details]
Patch
Comment on attachment 447735 [details]
Patch
r=me
Committed r287360 (245502@main): <https://commits.webkit.org/245502@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 447735 [details]. |