Bug 241782 - Remove dead code: passive mousewheel event hack for smoothscroll.js
Summary: Remove dead code: passive mousewheel event hack for smoothscroll.js
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-06-20 06:09 PDT by Simon Pieters (:zcorpan)
Modified: 2022-06-27 06:10 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pieters (:zcorpan) 2022-06-20 06:09:56 PDT
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 'mousewheel' and event target is window.

See https://github.com/whatwg/dom/issues/1088#issuecomment-1158593953
Comment 1 Radar WebKit Bug Importer 2022-06-27 06:10:13 PDT
<rdar://problem/95972172>