<?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>255886</bug_id>
          
          <creation_ts>2023-04-24 13:43:27 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: scrollerImp == scroller-&gt;scrollerImp() if closing a window while scrolling</short_desc>
          <delta_ts>2023-05-01 14:00:18 -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>Scrolling</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nikos Mouchtaris">nmouchtaris</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1950856</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-04-24 13:43:27 -0700</bug_when>
    <thetext>scroller-&gt;scrollerImp() is nil, scrollerImp is not.

ASSERTION FAILED: scrollerImp == scroller-&gt;scrollerImp()
/Volumes/Data/Development/system/webkit/OpenSource/Source/WebCore/page/scrolling/mac/ScrollerPairMac.mm(103) : -[WebScrollerImpPairDelegateMac scrollerImpPair:convertContentPoint:toScrollerImp:]
1   0x1398d4ef9 WTFCrash
2   0x14fad106b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x151716a1b -[WebScrollerImpPairDelegateMac scrollerImpPair:convertContentPoint:toScrollerImp:]
4   0x7ff80d06e119 -[NSScrollerImpPair _updateOverlayScrollersStateWithReason:forcingVisibilityForHorizontalKnob:verticalKnob:]
5   0x151725569 WebCore::ScrollerPairMac::updateValues()::$_7::operator()() const
6   0x1517254a9 WTF::Detail::CallableWrapper&lt;WebCore::ScrollerPairMac::updateValues()::$_7, void&gt;::call()
7   0x14faf0532 WTF::Function&lt;void ()&gt;::operator()() const
8   0x151727a69 WebCore::ScrollerPairMac::ensureOnMainThreadWithProtectedThis(WTF::Function&lt;void ()&gt;&amp;&amp;)::$_12::operator()()
9   0x151727879 WTF::Detail::CallableWrapper&lt;WebCore::ScrollerPairMac::ensureOnMainThreadWithProtectedThis(WTF::Function&lt;void ()&gt;&amp;&amp;)::$_12, void&gt;::call()
10  0x1398ff6d2 WTF::Function&lt;void ()&gt;::operator()() const
11  0x13999639e WTF::RunLoop::performWork()
12  0x13999a38e WTF::RunLoop::performWork(void*)
13  0x7ff809dc806a __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
14  0x7ff809dc800c __CFRunLoopDoSource0
15  0x7ff809dc7de5 __CFRunLoopDoSources0
16  0x7ff809dc6a6f __CFRunLoopRun
17  0x7ff809dc6071 CFRunLoopRunSpecific
18  0x7ff81382dfcd RunCurrentEventLoopInMode
19  0x7ff81382ddde ReceiveNextEventCommon
20  0x7ff81382db38 _BlockUntilNextEventMatchingListInModeWithFilter
21  0x7ff80ce578c0 _DPSNextEvent
22  0x7ff80ce5676a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
23  0x7ff80ce48dd8 -[NSApplication run]
24  0x7ff80ce1cff2 NSApplicationMain
25  0x106da6366 main
26  0x7ff80999241f start
(lldb)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950857</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-04-24 13:43:46 -0700</bug_when>
    <thetext>&lt;rdar://problem/108469342&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950894</commentid>
    <comment_count>2</comment_count>
    <who name="Nikos Mouchtaris">nmouchtaris</who>
    <bug_when>2023-04-24 15:59:06 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/13123</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952224</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-05-01 14:00:15 -0700</bug_when>
    <thetext>Committed 263557@main (f719f87b0747): &lt;https://commits.webkit.org/263557@main&gt;

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

    </bug>

</bugzilla>