<?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>223729</bug_id>
          
          <creation_ts>2021-03-24 21:56:04 -0700</creation_ts>
          <short_desc>REGRESSION(r 274381) [WPE] css3/scroll-snap/scroll-snap-wheel-event.html is flaky failing in release mode</short_desc>
          <delta_ts>2021-12-22 15:41:47 -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>UI Events</component>
          <version>WebKit Nightly 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=222594</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=234526</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1743669</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2021-03-24 21:56:04 -0700</bug_when>
    <thetext>css3/scroll-snap/scroll-snap-wheel-event.html

Usually the first assertion fails, but occasionally the second one fails too. Modifying the test to print the actual values:

-PASS horizontalContainer.scrollLeft is 200
-PASS verticalContainer.scrollTop is 185
+FAIL horizontalContainer.scrollLeft should be 200. Was 0.
+FAIL verticalContainer.scrollTop should be 185. Was 200.
 PASS successfullyParsed is true
+Some tests failed.

Checking the event dispatcher, the debug build ScrollingTree::determineWheelEventProcessing always returns in the isSynchronousDispatchRegion (~95) check when determining the processing steps for both events, thus handling the event in the main thread.

Meanwhile, in the Release build, most of the time, during the handling of the first event, the ScrollingTree&apos;s m_treeState.eventTrackingRegions is empty and the method returns only ScrollingThread in the processing steps. Rarely it has the same behavior as the debug build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1826425</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-12-22 15:41:26 -0800</bug_when>
    <thetext>I had to skip this test for Win and GTK in https://trac.webkit.org/changeset/287376/webkit because it times out; for some reaon WheelEventTestMonitor doesn&apos;t work as it does on macOS. The log channel would help diagnose.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>