<?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>256354</bug_id>
          
          <creation_ts>2023-05-04 23:12:37 -0700</creation_ts>
          <short_desc>InViewSizeAdjust LayoutPhase should have ScriptDisallowedScope</short_desc>
          <delta_ts>2023-05-08 18:18:20 -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>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>
          <dependson>256386</dependson>
    
    <dependson>256403</dependson>
          <blocked>256296</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</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>1953108</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-05-04 23:12:37 -0700</bug_when>
    <thetext>Deploy ScriptDisallowedScope::InMainThread in LayoutPhase::InViewSizeAdjust.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1953109</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-05-04 23:16:02 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/13486</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1953119</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-05-05 01:17:42 -0700</bug_when>
    <thetext>Hm... we have a problem:

#0  0x00007f84453d299e in WTFCrash () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#1  0x00007f8446ab7cd4 in WebCore::Document::updateLayout() () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#2  0x00007f8446ab8662 in WebCore::Document::updateLayoutIgnorePendingStylesheets(WebCore::Document::RunPostLayoutTasks) () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#3  0x00007f844721a42d in WebCore::Page::pageCount() const () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#4  0x00007f8443d53978 in WebKit::WebPage::mainFrameDidLayout() () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#5  0x00007f84472054d2 in WebCore::LocalFrameView::performPostLayoutTasks() () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#6  0x00007f844720602c in WebCore::LocalFrameViewLayoutContext::runOrScheduleAsynchronousTasks() () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#7  0x00007f8447205ab3 in WebCore::LocalFrameViewLayoutContext::performLayout() () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#8  0x00007f8447205e19 in WebCore::LocalFrameViewLayoutContext::layout() () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#9  0x00007f8447207afc in non-virtual thunk to WebCore::LocalFrameView::updateContentsSize() () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#10 0x00007f8447335d57 in WebCore::ScrollView::updateScrollbars(WebCore::IntPoint const&amp;) () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#11 0x00007f8447336054 in WebCore::ScrollView::setContentsSize(WebCore::IntSize const&amp;) () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#12 0x00007f84471fa190 in WebCore::LocalFrameView::setContentsSize(WebCore::IntSize const&amp;) () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#13 0x00007f84471fa41b in WebCore::LocalFrameView::adjustViewSize() () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#14 0x00007f8447205d8d in WebCore::LocalFrameViewLayoutContext::performLayout() () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1
#15 0x00007f8447205e19 in WebCore::LocalFrameViewLayoutContext::layout() () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-2.0.so.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1953913</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-05-08 18:17:04 -0700</bug_when>
    <thetext>Committed 263843@main (ecfaca4e0bf4): &lt;https://commits.webkit.org/263843@main&gt;

Reviewed commits have been landed. Closing PR #13486 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1953914</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-05-08 18:18:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/109070233&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>