Write more tests for _WKWebAuthenticationPanel. Potential test set could be: 1) a test without any panel client; 2) a test with _WKWebAuthenticationResultSucceeded; 3) a test with race condition that a new request comes in between; 4) a test with a new request cancels the other.
<rdar://problem/55974128>
Created attachment 380686 [details] Patch
Created attachment 380733 [details] Patch
I don't think the iOS-WK2 failures should blame this patch.
(In reply to Jiewen Tan from comment #4) > I don't think the iOS-WK2 failures should blame this patch. Yes. It looks like both of the test failures are flaky crashes, according to the dashboard.
Comment on attachment 380733 [details] Patch It's always good to see more tests! r=me (please watch the bots once this lands to make sure we don't introduce any bot issues).
Comment on attachment 380733 [details] Patch Thanks Brent for r+ this patch.
Comment on attachment 380733 [details] Patch Clearing flags on attachment: 380733 Committed r251148: <https://trac.webkit.org/changeset/251148>
All reviewed patches have been landed. Closing bug.