Passkeys don't work in Simulator
Created attachment 431554 [details] Patch
<rdar://problem/79366832>
Comment on attachment 431554 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=431554&action=review > Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm:156 > +#if defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR I am not familiar with TARGET_OS_SIMULATOR, I see PLATFORM(IOS_FAMILY_SIMULATOR) used more often. Is there a reason you chose this instead?
Comment on attachment 431554 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=431554&action=review r- to change the macro to PLATFORM(IOS_FAMILY_SIMULATOR), but otherwise looks great. >> Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalConnection.mm:156 >> +#if defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR > > I am not familiar with TARGET_OS_SIMULATOR, I see PLATFORM(IOS_FAMILY_SIMULATOR) used more often. Is there a reason you chose this instead? Right -- we don't use these TARGET macros in WebKit. We have PLATFORM macros that serve this purpose (and handle the defined/not defined state properly). As Kate suggests, you just want: #if PLATFORM(IOS_FAMILY_SIMULATOR)
Created attachment 431609 [details] Patch
Comment on attachment 431609 [details] Patch r=me
Committed r278973 (238899@main): <https://commits.webkit.org/238899@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 431609 [details].