Bug 263034
| Summary: | Element::dispatchMouseEvent should return whether an event is prevented default | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Abrar Rahman Protyasha <a_protyasha> |
| Component: | UI Events | Assignee: | Abrar Rahman Protyasha <a_protyasha> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | a_protyasha, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Abrar Rahman Protyasha
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
<rdar://problem/116859739>
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/18994
EWS
Committed 269266@main (b5ebe19c2491): <https://commits.webkit.org/269266@main>
Reviewed commits have been landed. Closing PR #18994 and removing active labels.