WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
241782
Remove Quirk dead code: passive mousewheel event hack for smoothscroll.js
https://bugs.webkit.org/show_bug.cgi?id=241782
Summary
Remove Quirk dead code: passive mousewheel event hack for smoothscroll.js
Simon Pieters (:zcorpan)
Reported
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
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-06-27 06:10:13 PDT
<
rdar://problem/95972172
>
Karl Dubost
Comment 2
2023-11-20 04:57:54 PST
Pull request:
https://github.com/WebKit/WebKit/pull/20740
Karl Dubost
Comment 3
2023-11-20 05:02:37 PST
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.
EWS
Comment 4
2023-11-20 14:31:15 PST
Committed
270987@main
(fc500207b6a8): <
https://commits.webkit.org/270987@main
> Reviewed commits have been landed. Closing PR #20740 and removing active labels.
Simon Pieters (:zcorpan)
Comment 5
2023-12-01 03:24:49 PST
There are tests for passive mousewheel in
https://wpt.fyi/results/dom/events/non-cancelable-when-passive?label=master&label=experimental&aligned&q=%2Fdom%2Fevents%2Fnon-cancelable-when-passive%2F
Karl Dubost
Comment 6
2023-12-05 00:07:51 PST
Thanks Simon for the link. These tests are failing with
> promise_test: Unhandled rejection with value: object "Error: action_sequence() is not implemented by testdriver-vendor.js"
which is a bug for something else.
Sam Sneddon [:gsnedders]
Comment 7
2023-12-13 02:22:17 PST
(In reply to Karl Dubost from
comment #6
)
> Thanks Simon for the link. > > These tests are failing with > > > promise_test: Unhandled rejection with value: object "Error: action_sequence() is not implemented by testdriver-vendor.js" > > 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't work, as there's no way for the browser to be controlled externally.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug