[Webkit-unassigned] [Bug 263621] New: Log to the console when preventDefault() is called inside a passive event listener
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 24 15:51:54 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=263621
Bug ID: 263621
Summary: Log to the console when preventDefault() is called
inside a passive event listener
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: a_protyasha at apple.com
CC: a_protyasha at apple.com,
webkit-bug-importer at group.apple.com
The DOM standard makes this recommendation:
```
There are scenarios where invoking preventDefault() has no effect. User agents are encouraged to log the precise cause in a developer console, to aid debugging.
```
We should respect that for the case when preventDefault() is called on an event inside a passive event listener, since that has no effect and might not be what the developer is expecting.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231024/3a7a8624/attachment.htm>
More information about the webkit-unassigned
mailing list