<?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>298416</bug_id>
          
          <creation_ts>2025-09-04 15:13:04 -0700</creation_ts>
          <short_desc>REGRESSION(299195@main?): ASSERTION FAILED: !m_channel on http/tests/websocket/web-socket-loads-captured-in-per-page-domains.html (flaky)</short_desc>
          <delta_ts>2025-09-15 17:07:26 -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>NEW</bug_status>
          <resolution></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="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2141047</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2025-09-04 15:13:04 -0700</bug_when>
    <thetext>The following test is flaky crash in Debug macOS. First instance happened in EWS on 299195@main. 

http/tests/websocket/web-socket-loads-captured-in-per-page-domains.html

stderr:
1   0x3040fd8a8 WebCore::WebSocket::contextDestroyed()
2   0x3056513cc WebCore::ScriptExecutionContext::~ScriptExecutionContext()
3   0x305354884 WebCore::Document::~Document()
4   0x3059d378c WebCore::HTMLDocument::~HTMLDocument()
5   0x3059d37b8 WebCore::HTMLDocument::~HTMLDocument()
6   0x3059d3924 WebCore::HTMLDocument::operator delete(WebCore::HTMLDocument*, std::destroying_delete_t, unsigned long)
7   0x3059d388c WebCore::HTMLDocument::~HTMLDocument()
8   0x305356c34 WebCore::Document::removedLastRef()
9   0x3055e127c WebCore::Node::removedLastRef()
10  0x3001ddb70 WebCore::Node::deref() const
11  0x300a1ec7c WebCore::EventTarget::deref()
12  0x300a1ec0c WTF::DefaultRefDerefTraits&lt;WebCore::EventTarget&gt;::derefIfNotNull(WebCore::EventTarget*)
13  0x300a1eba8 WTF::Ref&lt;WebCore::EventTarget, WTF::RawPtrTraits&lt;WebCore::EventTarget&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::EventTarget&gt;&gt;::~Ref()
14  0x300a1e8f4 WTF::Ref&lt;WebCore::EventTarget, WTF::RawPtrTraits&lt;WebCore::EventTarget&gt;, WTF::DefaultRefDerefTraits&lt;WebCore::EventTarget&gt;&gt;::~Ref()
15  0x3014c57ac WebCore::JSDOMWrapper&lt;WebCore::EventTarget, WTF::RawPtrTraits&lt;WebCore::EventTarget&gt;&gt;::~JSDOMWrapper()
16  0x3014c577c WebCore::JSEventTarget::~JSEventTarget()
17  0x30145970c WebCore::JSEventTarget::~JSEventTarget()
18  0x30145657c WebCore::JSEventTarget::destroy(JSC::JSCell*)
19  0x130d248b4 JSC::JSDestructibleObjectDestroyFunc::operator()(JSC::VM&amp;, JSC::JSCell*) const
20  0x130d2487c JSC::JSDestructibleObjectHeapCellType::destroy(JSC::VM&amp;, JSC::JSCell*) const
21  0x1306646e4 JSC::Subspace::destroy(JSC::VM&amp;, JSC::JSCell*)
22  0x13060a408 JSC::PreciseAllocation::sweep()
23  0x13060a26c JSC::MarkedSpace::sweepPreciseAllocations()
24  0x130544fbc JSC::Heap::sweepInFinalize()
25  0x130544c18 JSC::Heap::finalize()
26  0x1305443f4 JSC::Heap::handleNeedFinalize(unsigned int)
27  0x1305433b4 JSC::Heap::handleNeedFinalize()
28  0x13053f0b0 JSC::Heap::finishChangingPhase(JSC::GCConductor)
29  0x130540c68 JSC::Heap::changePhase(JSC::GCConductor, JSC::CollectorPhase)
30  0x130540bec JSC::Heap::runEndPhase(JSC::GCConductor)
31  0x13053ea18 JSC::Heap::runCurrentPhase(JSC::GCConductor, JSC::CurrentThreadState*)
com.apple.WebKit.WebContent.Development terminated (pid 6878) for reason: crash
LEAK: 1 WebPageProxy

Test results:
https://ews-build.webkit.org/#/builders/122/builds/35096

Test history:
https://results.webkit.org/?suite=layout-tests&amp;test=http%2Ftests%2Fwebsocket%2Fweb-socket-loads-captured-in-per-page-domains.html&amp;style=debug&amp;flavor=wk2&amp;platform=mac</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2141049</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-09-04 15:16:42 -0700</bug_when>
    <thetext>&lt;rdar://problem/159889444&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2141054</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-09-04 15:40:31 -0700</bug_when>
    <thetext>Test gardening commit 299582@main (a561b790b09f): &lt;https://commits.webkit.org/299582@main&gt;

Reviewed commits have been landed. Closing PR #50324 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2141257</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2025-09-05 11:05:58 -0700</bug_when>
    <thetext>ASSERTION FAILED: !m_channel
/Volumes/Data/worker/Apple-Sonoma-Debug-Build/build/Source/WebCore/Modules/websockets/WebSocket.cpp(499) : virtual void WebCore::WebSocket::contextDestroyed()
1   0x36dd274e0 WebCore::WebSocket::contextDestroyed()
2   0x36f2d6100 WebCore::ScriptExecutionContext::~ScriptExecutionContext()
3   0x36efc1688 WebCore::Document::~Document()
4   0x36f66bbc0 WebCore::HTMLDocument::~HTMLDocument()
5   0x36f66bbec WebCore::HTMLDocument::~HTMLDocument()
6   0x36f66bd5c WebCore::HTMLDocument::operator delete(WebCore::HTMLDocument*, std::destroying_delete_t, unsigned long)
7   0x36f66bcc0 WebCore::HTMLDocument::~HTMLDocument()
8   0x36efc3ab4 WebCore::Document::removedLastRef()
9   0x36f2631b4 WebCore::Node::removedLastRef()
10  0x369d1adf8 WebCore::Node::deref() const
11  0x36a591c2c WebCore::EventTarget::deref()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2143132</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-09-15 17:07:26 -0700</bug_when>
    <thetext>Test gardening commit 299990@main (7b44f3c066f2): &lt;https://commits.webkit.org/299990@main&gt;

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

    </bug>

</bugzilla>