RESOLVED FIXED312960
REGRESSION(311330@main): TestWebKitAPI.WKWebExtensionAPIMenus.* are crashing
https://bugs.webkit.org/show_bug.cgi?id=312960
Summary REGRESSION(311330@main): TestWebKitAPI.WKWebExtensionAPIMenus.* are crashing
Jonathan Bedard
Reported 2026-04-21 21:40:31 PDT
TestWebKitAPI.WKWebExtensionAPIMenus.MacAudioContextMenuItems and TestWebKitAPI.WKWebExtensionAPIMenus.MacVideoContextMenuItems started crashing on debug builds after Regression range: Working 311326@main Crashing 311330@main History: https://results.webkit.org/?suite=api-tests&suite=api-tests&test=TestWebKitAPI.WKWebExtensionAPIMenus.MacAudioContextMenuItems&test=TestWebKitAPI.WKWebExtensionAPIMenus.MacVideoContextMenuItems CI run: https://build.webkit.org/#/builders/1701/builds/1862 Logs: 19:25:13.887 14940 TestWebKitAPI.WKWebExtensionAPIMenus.MacAudioContextMenuItems 19:25:13.887 14940 ASSERTION FAILED: This HTTPServer does not know how to respond to a request for /favicon.ico 19:25:13.887 14940 requestData->requestMap.contains(path) 19:25:13.887 14940 /Volumes/Data/worker/Apple-Tahoe-Debug-Build/build/Tools/TestWebKitAPI/Helpers/cocoa/HTTPServer.mm(436) : auto TestWebKitAPI::HTTPServer::respondToRequests(Connection, Ref<RequestData>)::(anonymous class)::operator()(Vector<char> &&) 19:25:13.887 14940 1 0x1012dd224 TestWebKitAPI::HTTPServer::respondToRequests(TestWebKitAPI::Connection, WTF::Ref<TestWebKitAPI::HTTPServer::RequestData, WTF::RawPtrTraits<TestWebKitAPI::HTTPServer::RequestData>, WTF::DefaultRefDerefTraits<TestWebKitAPI::HTTPServer::RequestData>>)::$_0::operator()(WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) 19:25:13.887 14940 2 0x1012dd024 WTF::Detail::CallableWrapper<TestWebKitAPI::HTTPServer::respondToRequests(TestWebKitAPI::Connection, WTF::Ref<TestWebKitAPI::HTTPServer::RequestData, WTF::RawPtrTraits<TestWebKitAPI::HTTPServer::RequestData>, WTF::DefaultRefDerefTraits<TestWebKitAPI::HTTPServer::RequestData>>)::$_0, void, WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&>::call(WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) 19:25:13.887 14940 3 0x100fa1454 WTF::Function<void (WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>::operator()(WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) const 19:25:13.887 14940 4 0x100fa03a0 WTF::CompletionHandler<void (WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>::operator()(WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) 19:25:13.887 14940 5 0x100f9fe78 TestWebKitAPI::Connection::receiveHTTPRequest(WTF::CompletionHandler<void (WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) const::$_0::operator()(WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) 19:25:13.887 14940 6 0x100f9fb8c WTF::Detail::CallableWrapper<TestWebKitAPI::Connection::receiveHTTPRequest(WTF::CompletionHandler<void (WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) const::$_0, void, WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&>::call(WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) 19:25:13.887 14940 7 0x100f97eb4 WTF::Function<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>::operator()(WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) const 19:25:13.887 14940 8 0x100f97b3c WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>::operator()(WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) 19:25:13.887 14940 9 0x100f97658 TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_0::operator()(NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*) 19:25:13.887 14940 10 0x100f978e0 WTF::BlockPtr<void (NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)> WTF::BlockPtr<void (NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)>::fromCallable<TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_0>(TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_0)::'lambda'(void*, NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)::operator()(void*, NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*) const 19:25:13.887 14940 11 0x100f97890 WTF::BlockPtr<void (NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)> WTF::BlockPtr<void (NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)>::fromCallable<TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_0>(TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_0)::'lambda'(void*, NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)::__invoke(void*, NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*) 19:25:13.887 14940 12 0x189b804d0 _dispatch_block_async_invoke2 19:25:13.887 14940 13 0x189b8aad4 _dispatch_client_callout 19:25:13.887 14940 14 0x189ba80d0 _dispatch_main_queue_drain.cold.5 19:25:13.887 14940 15 0x189b7ff48 _dispatch_main_queue_drain 19:25:13.887 14940 16 0x189b7fe84 _dispatch_main_queue_callback_4CF 19:25:13.887 14940 17 0x189df6990 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 19:25:13.887 14940 18 0x189dcb7ec __CFRunLoopRun 19:25:13.887 14940 19 0x189e85e34 _CFRunLoopRunSpecificWithOptions 19:25:13.887 14940 20 0x189e1ea40 CFRunLoopRun 19:25:13.887 14940 21 0x2855fab04 $ss14CFMainExecutorC3runyyKF 19:25:13.887 14940 22 0x2855fa7bc $ss20DispatchMainExecutorCs07RunLoopC0ssACP3runyyKFTW 19:25:13.887 14940 23 0x2855fabb0 swift_task_asyncMainDrainQueueImpl 19:25:13.887 14940 24 0x28561a670 swift_task_asyncMainDrainQueue 19:25:13.888 14940 25 0x10267fe1c main 19:25:13.888 14940 26 0x189965d54 start 19:25:13.888 14940 19:25:13.888 14940 TestWebKitAPI.WKWebExtensionAPIMenus.MacVideoContextMenuItems 19:25:13.888 14940 ASSERTION FAILED: This HTTPServer does not know how to respond to a request for /favicon.ico 19:25:13.888 14940 requestData->requestMap.contains(path) 19:25:13.888 14940 /Volumes/Data/worker/Apple-Tahoe-Debug-Build/build/Tools/TestWebKitAPI/Helpers/cocoa/HTTPServer.mm(436) : auto TestWebKitAPI::HTTPServer::respondToRequests(Connection, Ref<RequestData>)::(anonymous class)::operator()(Vector<char> &&) 19:25:13.888 14940 1 0x105189224 TestWebKitAPI::HTTPServer::respondToRequests(TestWebKitAPI::Connection, WTF::Ref<TestWebKitAPI::HTTPServer::RequestData, WTF::RawPtrTraits<TestWebKitAPI::HTTPServer::RequestData>, WTF::DefaultRefDerefTraits<TestWebKitAPI::HTTPServer::RequestData>>)::$_0::operator()(WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) 19:25:13.888 14940 2 0x105189024 WTF::Detail::CallableWrapper<TestWebKitAPI::HTTPServer::respondToRequests(TestWebKitAPI::Connection, WTF::Ref<TestWebKitAPI::HTTPServer::RequestData, WTF::RawPtrTraits<TestWebKitAPI::HTTPServer::RequestData>, WTF::DefaultRefDerefTraits<TestWebKitAPI::HTTPServer::RequestData>>)::$_0, void, WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&>::call(WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) 19:25:13.888 14940 3 0x104e4d454 WTF::Function<void (WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>::operator()(WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) const 19:25:13.888 14940 4 0x104e4c3a0 WTF::CompletionHandler<void (WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>::operator()(WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) 19:25:13.888 14940 5 0x104e4be78 TestWebKitAPI::Connection::receiveHTTPRequest(WTF::CompletionHandler<void (WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) const::$_0::operator()(WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) 19:25:13.888 14940 6 0x104e4bb8c WTF::Detail::CallableWrapper<TestWebKitAPI::Connection::receiveHTTPRequest(WTF::CompletionHandler<void (WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) const::$_0, void, WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&>::call(WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) 19:25:13.888 14940 7 0x104e43eb4 WTF::Function<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>::operator()(WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) const 19:25:13.888 14940 8 0x104e43b3c WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>::operator()(WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) 19:25:13.888 14940 9 0x104e43658 TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_0::operator()(NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*) 19:25:13.888 14940 10 0x104e438e0 WTF::BlockPtr<void (NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)> WTF::BlockPtr<void (NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)>::fromCallable<TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_0>(TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_0)::'lambda'(void*, NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)::operator()(void*, NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*) const 19:25:13.888 14940 11 0x104e43890 WTF::BlockPtr<void (NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)> WTF::BlockPtr<void (NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)>::fromCallable<TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_0>(TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_0)::'lambda'(void*, NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)::__invoke(void*, NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*) 19:25:13.888 14940 12 0x189b804d0 _dispatch_block_async_invoke2 19:25:13.888 14940 13 0x189b8aad4 _dispatch_client_callout 19:25:13.888 14940 14 0x189ba80d0 _dispatch_main_queue_drain.cold.5 19:25:13.888 14940 15 0x189b7ff48 _dispatch_main_queue_drain 19:25:13.888 14940 16 0x189b7fe84 _dispatch_main_queue_callback_4CF 19:25:13.888 14940 17 0x189df6990 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 19:25:13.888 14940 18 0x189dcb7ec __CFRunLoopRun 19:25:13.888 14940 19 0x189e85e34 _CFRunLoopRunSpecificWithOptions 19:25:13.888 14940 20 0x189e1ea40 CFRunLoopRun 19:25:13.888 14940 21 0x2855fab04 $ss14CFMainExecutorC3runyyKF 19:25:13.888 14940 22 0x2855fa7bc $ss20DispatchMainExecutorCs07RunLoopC0ssACP3runyyKFTW 19:25:13.888 14940 23 0x2855fabb0 swift_task_asyncMainDrainQueueImpl 19:25:13.888 14940 24 0x28561a670 swift_task_asyncMainDrainQueue 19:25:13.888 14940 25 0x10652be1c main 19:25:13.888 14940 26 0x189965d54 start
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-21 21:43:07 PDT
Jonathan Bedard
Comment 2 2026-04-21 21:43:07 PDT
Jonathan Bedard
Comment 3 2026-04-21 21:56:35 PDT
EWS
Comment 4 2026-04-22 08:53:54 PDT
Committed 311774@main (2ce09068f279): <https://commits.webkit.org/311774@main> Reviewed commits have been landed. Closing PR #63295 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.