RESOLVED FIXED292217
New Test(293237@main): [ Debug ] cookies/cookie-store-register-eventlistener-from-file-protocol.html trips assertion
https://bugs.webkit.org/show_bug.cgi?id=292217
Summary New Test(293237@main): [ Debug ] cookies/cookie-store-register-eventlistener-...
Jonathan Bedard
Reported 2025-04-28 14:20:45 PDT
New test added in 293237@main trips and assertion. History: https://results.webkit.org/?suite=layout-tests&test=cookies%2Fcookie-store-register-eventlistener-from-file-protocol.html Assertion: ASSERTION FAILED: gTestRunner->waitToDump() || WTR::hasTestWaitAttribute(mainFrame.globalContext) /Volumes/Data/worker/Apple-Sonoma-Debug-Build/build/Tools/DumpRenderTree/mac/UIDelegate.mm(179) : -[UIDelegate webView:createWebViewWithRequest:] 1 0x1019abb09 -[UIDelegate webView:createWebViewWithRequest:] 2 0x10b19570d objc_object* wtfObjCMsgSend<objc_object*, WebView*, objc_object*>(objc_object*, objc_selector*, WebView*, objc_object*) 3 0x10b192aca CallDelegate(WebView*, objc_object*, objc_selector*, objc_object*) 4 0x10b192a65 CallUIDelegate(WebView*, objc_selector*, objc_object*) 5 0x10b174594 WebChromeClient::createWindow(WebCore::LocalFrame&, WTF::String const&, WebCore::WindowFeatures const&, WebCore::NavigationAction const&) 6 0x18f260d65 WebCore::Chrome::createWindow(WebCore::LocalFrame&, WTF::String const&, WebCore::WindowFeatures const&, WebCore::NavigationAction const&) 7 0x18f04d81a WebCore::createWindow(WebCore::LocalFrame&, WebCore::FrameLoadRequest&&, WebCore::WindowFeatures&&) 8 0x18f36dc77 WebCore::LocalDOMWindow::createWindow(WTF::String const&, WTF::AtomString const&, WebCore::WindowFeatures const&, WebCore::LocalDOMWindow&, WebCore::LocalFrame&, WebCore::LocalFrame&, WTF::Function<void (WebCore::LocalDOMWindow&)> const&) 9 0x18f36f24f WebCore::LocalDOMWindow::open(WebCore::LocalDOMWindow&, WebCore::LocalDOMWindow&, WTF::String const&, WTF::AtomString const&, WTF::String const&) 10 0x18f280350 WebCore::DOMWindow::open(WebCore::LocalDOMWindow&, WebCore::LocalDOMWindow&, WTF::String const&, WTF::AtomString const&, WTF::String const&) 11 0x18a5364b5 WebCore::jsDOMWindowInstanceFunction_openBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDOMWindow*) 12 0x18a536046 long long WebCore::IDLOperation<WebCore::JSDOMWindow>::call<&WebCore::jsDOMWindowInstanceFunction_openBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDOMWindow*), (WebCore::CastedThisErrorBehavior)0>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*) 13 0x18a52e9a4 WebCore::jsDOMWindowInstanceFunction_open(JSC::JSGlobalObject*, JSC::CallFrame*) 14 0x1bad84118 13 ??? 0x00000001bad84118 0x0 + 7429701912 15 0x11e3d4106 llint_entry 16 0x11e3ad7a7 vmEntryToJavaScript 17 0x11d14c867 JSC::Interpreter::executeCallImpl(JSC::VM&, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) 18 0x11d14c9d0 JSC::Interpreter::executeCall(JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) 19 0x11d43ef02 JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) 20 0x11d43efdd JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) 21 0x11d43f2bd JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) 22 0x18d4659cc WebCore::JSExecState::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) 23 0x18d50720f WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&) 24 0x18e34e0d8 WebCore::EventTarget::innerInvokeEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener, WTF::RawPtrTraits<WebCore::RegisteredEventListener>, WTF::DefaultRefDerefTraits<WebCore::RegisteredEventListener>>, 1ul, WTF::CrashOnOverflow, 2ul, WTF::FastMalloc>, WebCore::EventTarget::EventInvokePhase) 25 0x18e34084d WebCore::EventTarget::fireEventListeners(WebCore::Event&, WebCore::EventTarget::EventInvokePhase) 26 0x18f35d995 WebCore::LocalDOMWindow::dispatchEvent(WebCore::Event&, WebCore::EventTarget*) 27 0x18f36af9b WebCore::LocalDOMWindow::dispatchLoadEvent() 28 0x18e1a932a WebCore::Document::dispatchWindowLoadEvent() 29 0x18e1a8d4d WebCore::Document::implicitClose() 30 0x18f03027a WebCore::FrameLoader::checkCallImplicitClose() 31 0x18f02fafa WebCore::FrameLoader::checkCompleted()
Attachments
Radar WebKit Bug Importer
Comment 1 2025-04-28 16:15:44 PDT
Jonathan Bedard
Comment 2 2025-04-28 16:27:13 PDT
Jonathan Bedard
Comment 3 2025-04-28 16:56:25 PDT
Seems like fast/cookie-store/start-listening-for-change-with-null-url-crash.html is encountering a similar assertion: https://results.webkit.org/?suite=layout-tests&test=fast%2Fcookie-store%2Fstart-listening-for-change-with-null-url-crash.html
Jonathan Bedard
Comment 4 2025-04-28 17:03:41 PDT
This assertion was added in https://commits.webkit.org/263156@main by Ryosuke.
EWS
Comment 5 2025-04-28 17:13:41 PDT
Test gardening commit 294228@main (552733c3e0b0): <https://commits.webkit.org/294228@main> Reviewed commits have been landed. Closing PR #44642 and removing active labels.
rupin
Comment 6 2025-04-28 17:57:47 PDT
EWS
Comment 7 2025-04-29 10:43:15 PDT
Committed 294286@main (3a087dd0eb87): <https://commits.webkit.org/294286@main> Reviewed commits have been landed. Closing PR #44648 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.