Bug 220520 - ASSERTION FAILED: !event || event.type == NSEventTypeLeftMouseDown || event.type == NSEventTypeRightMouseDown || event.type == NSEventTypeOtherMouseDown
Summary: ASSERTION FAILED: !event || event.type == NSEventTypeLeftMouseDown || event.t...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-01-11 11:58 PST by Ryan Haddad
Modified: 2021-01-12 09:25 PST (History)
4 users (show)

See Also:


Attachments
Patch (2.09 KB, patch)
2021-01-11 12:48 PST, Wenson Hsieh
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (2.09 KB, patch)
2021-01-11 13:08 PST, Wenson Hsieh
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2021-01-11 11:58:09 PST
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
Comment 1 Ryan Haddad 2021-01-11 11:58:47 PST
This is a new test, added with https://trac.webkit.org/changeset/271322/webkit
Comment 2 Radar WebKit Bug Importer 2021-01-11 11:58:56 PST
<rdar://problem/73007898>
Comment 3 Ryan Haddad 2021-01-11 11:59:26 PST
This is consistently crashing on debug bots, so I assume it should be trivially reproducible.
Comment 4 Wenson Hsieh 2021-01-11 12:48:50 PST Comment hidden (obsolete)
Comment 5 Wenson Hsieh 2021-01-11 13:08:22 PST
Created attachment 417406 [details]
Patch
Comment 6 EWS 2021-01-11 14:16:05 PST
Committed r271380: <https://trac.webkit.org/changeset/271380>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 417406 [details].