<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>292217</bug_id>
          
          <creation_ts>2025-04-28 14:20:45 -0700</creation_ts>
          <short_desc>New Test(293237@main): [ Debug ] cookies/cookie-store-register-eventlistener-from-file-protocol.html trips assertion</short_desc>
          <delta_ts>2025-04-29 10:43:17 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2113667</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2025-04-28 14:20:45 -0700</bug_when>
    <thetext>New test added in 293237@main trips and assertion.

History:
https://results.webkit.org/?suite=layout-tests&amp;test=cookies%2Fcookie-store-register-eventlistener-from-file-protocol.html

Assertion:
ASSERTION FAILED: gTestRunner-&gt;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&lt;objc_object*, WebView*, objc_object*&gt;(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&amp;, WTF::String const&amp;, WebCore::WindowFeatures const&amp;, WebCore::NavigationAction const&amp;)
6   0x18f260d65 WebCore::Chrome::createWindow(WebCore::LocalFrame&amp;, WTF::String const&amp;, WebCore::WindowFeatures const&amp;, WebCore::NavigationAction const&amp;)
7   0x18f04d81a WebCore::createWindow(WebCore::LocalFrame&amp;, WebCore::FrameLoadRequest&amp;&amp;, WebCore::WindowFeatures&amp;&amp;)
8   0x18f36dc77 WebCore::LocalDOMWindow::createWindow(WTF::String const&amp;, WTF::AtomString const&amp;, WebCore::WindowFeatures const&amp;, WebCore::LocalDOMWindow&amp;, WebCore::LocalFrame&amp;, WebCore::LocalFrame&amp;, WTF::Function&lt;void (WebCore::LocalDOMWindow&amp;)&gt; const&amp;)
9   0x18f36f24f WebCore::LocalDOMWindow::open(WebCore::LocalDOMWindow&amp;, WebCore::LocalDOMWindow&amp;, WTF::String const&amp;, WTF::AtomString const&amp;, WTF::String const&amp;)
10  0x18f280350 WebCore::DOMWindow::open(WebCore::LocalDOMWindow&amp;, WebCore::LocalDOMWindow&amp;, WTF::String const&amp;, WTF::AtomString const&amp;, WTF::String const&amp;)
11  0x18a5364b5 WebCore::jsDOMWindowInstanceFunction_openBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDOMWindow*)
12  0x18a536046 long long WebCore::IDLOperation&lt;WebCore::JSDOMWindow&gt;::call&lt;&amp;WebCore::jsDOMWindowInstanceFunction_openBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSDOMWindow*), (WebCore::CastedThisErrorBehavior)0&gt;(JSC::JSGlobalObject&amp;, JSC::CallFrame&amp;, 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&amp;, JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
18  0x11d14c9d0 JSC::Interpreter::executeCall(JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
19  0x11d43ef02 JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
20  0x11d43efdd JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
21  0x11d43f2bd JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
22  0x18d4659cc WebCore::JSExecState::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
23  0x18d50720f WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&amp;, WebCore::Event&amp;)
24  0x18e34e0d8 WebCore::EventTarget::innerInvokeEventListeners(WebCore::Event&amp;, WTF::Vector&lt;WTF::RefPtr&lt;WebCore::RegisteredEventListener, WTF::RawPtrTraits&lt;WebCore::RegisteredEventListener&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::RegisteredEventListener&gt;&gt;, 1ul, WTF::CrashOnOverflow, 2ul, WTF::FastMalloc&gt;, WebCore::EventTarget::EventInvokePhase)
25  0x18e34084d WebCore::EventTarget::fireEventListeners(WebCore::Event&amp;, WebCore::EventTarget::EventInvokePhase)
26  0x18f35d995 WebCore::LocalDOMWindow::dispatchEvent(WebCore::Event&amp;, 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()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113702</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-04-28 16:15:44 -0700</bug_when>
    <thetext>&lt;rdar://problem/150231572&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113708</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2025-04-28 16:27:13 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/44642</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113721</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2025-04-28 16:56:25 -0700</bug_when>
    <thetext>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&amp;test=fast%2Fcookie-store%2Fstart-listening-for-change-with-null-url-crash.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113724</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2025-04-28 17:03:41 -0700</bug_when>
    <thetext>This assertion was added in https://commits.webkit.org/263156@main by Ryosuke.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113729</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-04-28 17:13:41 -0700</bug_when>
    <thetext>Test gardening commit 294228@main (552733c3e0b0): &lt;https://commits.webkit.org/294228@main&gt;

Reviewed commits have been landed. Closing PR #44642 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113732</commentid>
    <comment_count>6</comment_count>
    <who name="">rupin</who>
    <bug_when>2025-04-28 17:57:47 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/44648</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113976</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-04-29 10:43:15 -0700</bug_when>
    <thetext>Committed 294286@main (3a087dd0eb87): &lt;https://commits.webkit.org/294286@main&gt;

Reviewed commits have been landed. Closing PR #44648 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>