<?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>263902</bug_id>
          
          <creation_ts>2023-10-30 10:20:45 -0700</creation_ts>
          <short_desc>[content-visibility] Crash under Document::updateIntersectionObservations()</short_desc>
          <delta_ts>2024-01-06 07:54:35 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</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="Tim Nguyen (:ntim)">ntim</reporter>
          <assigned_to name="Rob Buis">rbuis</assigned_to>
          <cc>rbuis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1988553</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-10-30 10:20:45 -0700</bug_when>
    <thetext>rdar://117691391</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1998864</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-12-11 19:35:59 -0800</bug_when>
    <thetext>      50 WTFCrashWithInfo(int, char const*, char const*, int)
 ==&gt; 50 WebCore::Document::updateIntersectionObservations(WTF::Vector&lt;WTF::WeakPtr&lt;WebCore::IntersectionObserver, WTF::DefaultWeakPtrImpl&gt;, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt; const&amp;) &lt;==
          50 WebCore::ContentVisibilityDocumentState::determineInitialVisibleContentVisibility() const
            50 WebCore::Document::updateResizeObservations(WebCore::Page&amp;)
              50 WTF::Function&lt;void (WebCore::Document&amp;)&gt;::operator()(WebCore::Document&amp;) const
                50 WebCore::Page::forEachDocumentFromMainFrame(WebCore::LocalFrame const&amp;, WTF::Function&lt;void (WebCore::Document&amp;)&gt; const&amp;)
                  50 WebCore::Page::forEachDocument(WTF::Function&lt;void (WebCore::Document&amp;)&gt; const&amp;) const
                    50 WebCore::Page::updateRendering()::$_23::operator()(WebCore::RenderingUpdateStep, WTF::Function&lt;void (WebCore::Document&amp;)&gt; const&amp;) const
                      50 WebCore::Page::updateRendering()
                        50 WebKit::WebPage::updateRendering()
                          50 WebKit::RemoteLayerTreeDrawingArea::updateRendering()
                            50 WebCore::ThreadTimers::sharedTimerFiredInternal()
                              50 WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0::operator()() const
                                50 WTF::Detail::CallableWrapper&lt;WebCore::ThreadTimers::setSharedTimer(WebCore::SharedTimer*)::$_0, void&gt;::call()
                                  50 WTF::Function&lt;void ()&gt;::operator()() const
                                    50 WebCore::MainThreadSharedTimer::fired()
                                      50 WebCore::timerFired(__CFRunLoopTimer*, void*)
                                        50 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
                                          50 __CFRunLoopDoTimer
                                            50 __CFRunLoopDoTimers
                                              50 __CFRunLoopRun
                                                50 CFRunLoopRunSpecific
                                                  50 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
                                                    50 -[NSRunLoop(NSRunLoop) run]
                                                      50 _xpc_objc_main
                                                        50 _xpc_main
                                                          50 xpc_main
                                                            50 WebKit::XPCServiceMain(int, char const**)
                                                              50 start</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2003163</commentid>
    <comment_count>2</comment_count>
    <who name="Rob Buis">rbuis</who>
    <bug_when>2024-01-05 07:29:37 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/22433</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2003372</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-01-06 07:54:34 -0800</bug_when>
    <thetext>Committed 272732@main (38e913315a09): &lt;https://commits.webkit.org/272732@main&gt;

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

    </bug>

</bugzilla>