<?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>256298</bug_id>
          
          <creation_ts>2023-05-03 23:19:48 -0700</creation_ts>
          <short_desc>Avoid reentrancy of layout within LocalFrameView::adjustViewSize()</short_desc>
          <delta_ts>2023-05-11 13:40:39 -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>Layout and Rendering</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=242550</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=256296</see_also>
          <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>
          
          <blocked>256660</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1952835</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-05-03 23:19:48 -0700</bug_when>
    <thetext>e.g.
4   0x81512d715 WebCore::LocalFrameViewLayoutContext::updateStyleForLayout()
5   0x81512ceb4 WebCore::LocalFrameViewLayoutContext::performLayout()
6   0x81510b6c6 WebCore::LocalFrameViewLayoutContext::layout()
7   0x81511f104 WebCore::LocalFrameView::updateContentsSize()
8   0x81538eaa4 WebCore::ScrollView::updateScrollbars(WebCore::IntPoint const&amp;)
9   0x81539046a WebCore::ScrollView::setContentsSize(WebCore::IntSize const&amp;)
10  0x81510ee16 WebCore::LocalFrameView::setContentsSize(WebCore::IntSize const&amp;)
11  0x815108f76 WebCore::LocalFrameView::adjustViewSize()
12  0x81512d206 WebCore::LocalFrameViewLayoutContext::performLayout()
13  0x81510b6c6 WebCore::LocalFrameViewLayoutContext::layout()
14  0x8143220e5 WebCore::Document::implicitClose()
15  0x814ed596b WebCore::FrameLoader::checkCallImplicitClose()
16  0x814ed5431 WebCore::FrameLoader::checkCompleted()
17  0x814ed36cb WebCore::FrameLoader::finishedParsing()
18  0x814338556 WebCore::Document::finishedParsing()
19  0x814a36a18 WebCore::HTMLConstructionSite::finishedParsing()
20  0x814a8f210 WebCore::HTMLTreeBuilder::finished()
21  0x814a3ddf3 WebCore::HTMLDocumentParser::end()
22  0x814a3bd91 WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd()
23  0x814a3bac9 WebCore::HTMLDocumentParser::prepareToStopParsing()
24  0x814a3de5f WebCore::HTMLDocumentParser::attemptToEnd()
25  0x814a3df2b WebCore::HTMLDocumentParser::finish()
26  0x814e7485a WebCore::DocumentWriter::end()
27  0x814e735cc WebCore::DocumentLoader::finishedLoading()
28  0x814e7302b WebCore::DocumentLoader::notifyFinished(WebCore::CachedResource&amp;, WebCore::NetworkLoadMetrics const&amp;)
29  0x8150055b8 WebCore::CachedResource::checkNotify(WebCore::NetworkLoadMetrics const&amp;)
30  0x8150012dd WebCore::CachedResource::finishLoading(WebCore::FragmentedSharedBuffer const*, WebCore::NetworkLoadMetrics const&amp;)
31  0x81500299d WebCore::CachedRawResource::finishLoading(WebCore::FragmentedSharedBuffer const*, WebCore::NetworkLoadMetrics const&amp;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952994</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-05-04 13:34:03 -0700</bug_when>
    <thetext>`updateScrollbars` explicitly does 2-3 passes of layout.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1954618</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-05-10 23:20:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/109191363&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>