TestWebKitAPI.WebKit2.AcceptsFirstMouseDuringWebProcessLaunch ASSERTION FAILED: !event || event.type == NSEventTypeLeftMouseDown || event.type == NSEventTypeRightMouseDown || event.type == NSEventTypeOtherMouseDown /Volumes/Data/slave/bigsur-debug/build/Source/WebKit/UIProcess/Cocoa/WebViewImpl.mm(4735) : void WebKit::WebViewImpl::setLastMouseDownEvent(NSEvent *) 1 0x10c08ae89 WTFCrash 2 0x1141ea42b WTFCrashWithInfo(int, char const*, char const*, int) 3 0x115419883 WebKit::WebViewImpl::setLastMouseDownEvent(NSEvent*) 4 0x115419690 WebKit::WebViewImpl::acceptsFirstMouse(NSEvent*) 5 0x115300749 -[WKWebView(WKImplementationMac) acceptsFirstMouse:] 6 0x10966d1b6 TestWebKitAPI::WebKit2_AcceptsFirstMouseDuringWebProcessLaunch_Test::TestBody() 7 0x10a1c23e4 void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) 8 0x10a19064b void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) 9 0x10a190586 testing::Test::Run() 10 0x10a1916da testing::TestInfo::Run() 11 0x10a192524 testing::TestCase::Run() 12 0x10a19dbe8 testing::internal::UnitTestImpl::RunAllTests() 13 0x10a1c7774 bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) 14 0x10a19d6db bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) 15 0x10a19d5ad testing::UnitTest::Run() 16 0x109f3cf11 RUN_ALL_TESTS() 17 0x109f3cea2 TestWebKitAPI::TestsController::run(int, char**) 18 0x10a15b225 main 19 0x7fff2038e621 start 2021-01-11 10:49:43.696 com.apple.WebKit.Networking.Development[35925:39443991] Application does not have permission to communicate with network resources. rc=1 : errno=22 https://build.webkit.org/builders/Apple-BigSur-Debug-WK2-Tests/builds/668/steps/run-api-tests/logs/stdio https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WebKit2.AcceptsFirstMouseDuringWebProcessLaunch
This is a new test, added with https://trac.webkit.org/changeset/271322/webkit
<rdar://problem/73007898>
This is consistently crashing on debug bots, so I assume it should be trivially reproducible.
Created attachment 417402 [details] Patch
Created attachment 417406 [details] Patch
Committed r271380: <https://trac.webkit.org/changeset/271380> All reviewed patches have been landed. Closing bug and clearing flags on attachment 417406 [details].