RESOLVED FIXED 224402
Force the WebAuthn compatible mode to always show UI
https://bugs.webkit.org/show_bug.cgi?id=224402
Summary Force the WebAuthn compatible mode to always show UI
Jiewen Tan
Reported 2021-04-09 18:06:48 PDT
Force the WebAuthn compatible mode to always show UI.
Attachments
Patch (1.65 KB, patch)
2021-04-09 18:09 PDT, Jiewen Tan
no flags
Jiewen Tan
Comment 1 2021-04-09 18:07:03 PDT
Jiewen Tan
Comment 2 2021-04-09 18:09:42 PDT
Garrett Davidson
Comment 3 2021-04-12 09:01:05 PDT
Can you update the commit message with how you tested this?
Brent Fulgham
Comment 4 2021-04-12 16:24:03 PDT
Comment on attachment 425672 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425672&action=review r=me > Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm:102 > +#if USE(APPLE_INTERNAL_SDK) Does this need a macOS check? or is it correct for iOS, too?
Jiewen Tan
Comment 5 2021-04-12 16:26:20 PDT
Comment on attachment 425672 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425672&action=review Thanks Brent for r+ this patch. >> Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm:102 >> +#if USE(APPLE_INTERNAL_SDK) > > Does this need a macOS check? or is it correct for iOS, too? This method is only used by the compatible mode which is now only on macOS.
EWS
Comment 6 2021-04-12 16:54:07 PDT
Committed r275847 (236412@main): <https://commits.webkit.org/236412@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425672 [details].
Darin Adler
Comment 7 2021-04-13 12:46:05 PDT
Comment on attachment 425672 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425672&action=review > Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm:103 > + // A quirk to force the compatible mode to always show UI. This comment should say *why* we are doing this, not just say that "it’s a quirk".
Jiewen Tan
Comment 8 2021-04-14 12:24:25 PDT
Comment on attachment 425672 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425672&action=review >> Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm:103 >> + // A quirk to force the compatible mode to always show UI. > > This comment should say *why* we are doing this, not just say that "it’s a quirk". I was trying to write a why here. But then it's hard to not reveal the feature and explain it clearly. Let me try rewrite it with a vague why.
Jiewen Tan
Comment 9 2021-04-14 14:39:24 PDT
Land a comment fix per Darin's comment. Committed r275966: <https://commits.webkit.org/r275966> Committed r275966 (236519@main): <https://commits.webkit.org/236519@main>
Note You need to log in before you can comment on or make changes to this bug.