Title: [290744] trunk/Source/WebKit
Revision
290744
Author
[email protected]
Date
2022-03-02 11:47:21 -0800 (Wed, 02 Mar 2022)

Log Message

[WebAuthn] Ensure presenter gets dismissed on iOS
https://bugs.webkit.org/show_bug.cgi?id=237336
rdar://81609371

Reviewed by Brent Fulgham.

Always call [m_presenter dismissWithError] to ensure presenter gets dismissed.

* UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm:
(WebKit::AuthenticatorPresenterCoordinator::dimissPresenter):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (290743 => 290744)


--- trunk/Source/WebKit/ChangeLog	2022-03-02 19:39:49 UTC (rev 290743)
+++ trunk/Source/WebKit/ChangeLog	2022-03-02 19:47:21 UTC (rev 290744)
@@ -1,3 +1,16 @@
+2022-03-02  J Pascoe  <[email protected]>
+
+        [WebAuthn] Ensure presenter gets dismissed on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=237336
+        rdar://81609371
+
+        Reviewed by Brent Fulgham.
+
+        Always call [m_presenter dismissWithError] to ensure presenter gets dismissed.
+
+        * UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm:
+        (WebKit::AuthenticatorPresenterCoordinator::dimissPresenter):
+
 2022-03-02  Chris Dumez  <[email protected]>
 
         Mousemove events double-firing in Safari

Modified: trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm (290743 => 290744)


--- trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm	2022-03-02 19:39:49 UTC (rev 290743)
+++ trunk/Source/WebKit/UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm	2022-03-02 19:47:21 UTC (rev 290744)
@@ -244,7 +244,6 @@
         // FIXME(219767): Replace the ASCAppleIDCredential with the upcoming WebAuthn credentials one.
         // This is just a place holder to tell the UI that the ceremony succeeds.
         m_credentialRequestHandler(adoptNS([WebKit::allocASCAppleIDCredentialInstance() initWithUser:@"" identityToken:adoptNS([[NSData alloc] init]).get() state:nil]).get(), nil);
-        return;
     }
 
     [m_presenter dismissWithError:nil];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to