WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
263034
Element::dispatchMouseEvent should return whether an event is prevented default
https://bugs.webkit.org/show_bug.cgi?id=263034
Summary
Element::dispatchMouseEvent should return whether an event is prevented default
Abrar Rahman Protyasha
Reported
2023-10-11 13:30:44 PDT
Following the changes in
bug 262691
, `Element::dispatchMouseEvent` uses an out param to indicate whether an event is cancelled. This method should instead be changed to return some structure like `std::pair<bool, IsEventPreventDefaulted>` instead, and then have all callers adopt accordingly.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-10-12 06:07:16 PDT
<
rdar://problem/116859739
>
Abrar Rahman Protyasha
Comment 2
2023-10-12 06:18:55 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/18994
EWS
Comment 3
2023-10-12 12:42:34 PDT
Committed
269266@main
(b5ebe19c2491): <
https://commits.webkit.org/269266@main
> Reviewed commits have been landed. Closing PR #18994 and removing active labels.
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