[Webkit-unassigned] [Bug 188672] New: Web Inspector: Provide $event in the console when paused on an event listener
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 16 13:02:36 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=188672
Bug ID: 188672
Summary: Web Inspector: Provide $event in the console when
paused on an event listener
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: drousso at apple.com
CC: inspector-bugzilla-changes at group.apple.com
* SUMMARY
When pausing on events, it's possible that the registered event listener might not have a parameter for the `event` object.
* TEST
<script>
document.body.addEventListnener("click", () => {
debugger;
});
</script>
* STEPS TO REPRODUCE
1. Inspect test page
2. Add event breakpoint for "click"
3. Click anywhere within the page to pause
=> should be able to access the `event` value via `$event` even though there was no named parameter for it
--
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/20180816/8f2be33b/attachment.html>
More information about the webkit-unassigned
mailing list