Title: [294242] trunk/Tools
Revision
294242
Author
j_pas...@apple.com
Date
2022-05-16 10:48:17 -0700 (Mon, 16 May 2022)

Log Message

(REGRESSION(r287957)[ Mac ] TestWebKitAPI.WebAuthenticationPanel.LAGetAssertionNoMockNoUserGesture is a constant timeout)
https://bugs.webkit.org/show_bug.cgi?id=240403
rdar://93271671

Reviewed by Brent Fulgham.

Whenever HAVE(UNIFIED_ASC_AUTH_UI), unmocked calls are passed to ASA, which does not
support calls from TWAPI.

* TestWebKitAPI/Tests/WebKitCocoa/_WKWebAuthenticationPanel.mm:
(TestWebKitAPI::TEST):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (294241 => 294242)


--- trunk/Tools/ChangeLog	2022-05-16 17:43:08 UTC (rev 294241)
+++ trunk/Tools/ChangeLog	2022-05-16 17:48:17 UTC (rev 294242)
@@ -1,3 +1,17 @@
+2022-05-16  J Pascoe  <j_pas...@apple.com>
+
+        (REGRESSION(r287957)[ Mac ] TestWebKitAPI.WebAuthenticationPanel.LAGetAssertionNoMockNoUserGesture is a constant timeout)
+        https://bugs.webkit.org/show_bug.cgi?id=240403
+        rdar://93271671
+
+        Reviewed by Brent Fulgham.
+
+        Whenever HAVE(UNIFIED_ASC_AUTH_UI), unmocked calls are passed to ASA, which does not
+        support calls from TWAPI.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/_WKWebAuthenticationPanel.mm:
+        (TestWebKitAPI::TEST):
+
 2022-05-16  Youenn Fablet  <you...@apple.com>
 
         Make sure calling showNotification will extend the service worker lifetime

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/_WKWebAuthenticationPanel.mm (294241 => 294242)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/_WKWebAuthenticationPanel.mm	2022-05-16 17:43:08 UTC (rev 294241)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/_WKWebAuthenticationPanel.mm	2022-05-16 17:48:17 UTC (rev 294242)
@@ -1538,7 +1538,11 @@
     [webView focus];
 
     [webView loadRequest:[NSURLRequest requestWithURL:testURL.get()]];
+#if HAVE(UNIFIED_ASC_AUTH_UI)
+    [webView waitForMessage:@"Operation failed."];
+#else
     [webView waitForMessage:@"This request has been cancelled by the user."];
+#endif
 }
 
 TEST(WebAuthenticationPanel, LAGetAssertionMultipleOrder)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to