<?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>241782</bug_id>
          
          <creation_ts>2022-06-20 06:09:56 -0700</creation_ts>
          <short_desc>Remove Quirk dead code: passive mousewheel event hack for smoothscroll.js</short_desc>
          <delta_ts>2023-12-13 02:22:17 -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>New Bugs</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=207040</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters (:zcorpan)">zcorpan</reporter>
          <assigned_to name="Karl Dubost">karlcow</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>karlcow</cc>
    
    <cc>koivisto</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1876774</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters (:zcorpan)">zcorpan</who>
    <bug_when>2022-06-20 06:09:56 -0700</bug_when>
    <thetext>This is dead code and can be removed:

https://github.com/WebKit/WebKit/blob/dd956d5e74249681ddf904e0bbe401f308b65e0f/Source/WebCore/page/Quirks.cpp#L929-L946

The code above will return something when the event type is &apos;mousewheel&apos; and event target is window.

See https://github.com/whatwg/dom/issues/1088#issuecomment-1158593953</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1878477</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-27 06:10:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/95972172&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1993863</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-11-20 04:57:54 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20740</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1993864</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-11-20 05:02:37 -0800</bug_when>
    <thetext>Thanks Ahmad for adding me!
I had missed that bug.

Simon is there a way to test this, to make extra-sure we are not breaking anything else.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1993986</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-20 14:31:15 -0800</bug_when>
    <thetext>Committed 270987@main (fc500207b6a8): &lt;https://commits.webkit.org/270987@main&gt;

Reviewed commits have been landed. Closing PR #20740 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996174</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Pieters (:zcorpan)">zcorpan</who>
    <bug_when>2023-12-01 03:24:49 -0800</bug_when>
    <thetext>There are tests for passive mousewheel in https://wpt.fyi/results/dom/events/non-cancelable-when-passive?label=master&amp;label=experimental&amp;aligned&amp;q=%2Fdom%2Fevents%2Fnon-cancelable-when-passive%2F</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1997029</commentid>
    <comment_count>6</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-12-05 00:07:51 -0800</bug_when>
    <thetext>
Thanks Simon for the link. 

These tests are failing with 

&gt; promise_test: Unhandled rejection with value: object &quot;Error: action_sequence() is not implemented by testdriver-vendor.js&quot;

which is a bug for something else.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999225</commentid>
    <comment_count>7</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-12-13 02:22:17 -0800</bug_when>
    <thetext>(In reply to Karl Dubost from comment #6)
&gt; Thanks Simon for the link. 
&gt; 
&gt; These tests are failing with 
&gt; 
&gt; &gt; promise_test: Unhandled rejection with value: object &quot;Error: action_sequence() is not implemented by testdriver-vendor.js&quot;
&gt; 
&gt; which is a bug for something else.

when running them how? if you just load them in your browser it is expected that testdriver doesn&apos;t work, as there&apos;s no way for the browser to be controlled externally.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>