[Webkit-unassigned] [Bug 255837] Calling `event.preventDefault()` for the `beforeunload` event doesn't prevent the page from unloading.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 23 17:21:29 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=255837

--- Comment #3 from Tee Ming <chewteeming01 at gmail.com> ---
(In reply to Alexey Proskuryakov from comment #1)
> The attached test case doesn't contain "preventDefault()", is this one that
> you intended to provide? It does behave differently that in Chrome, but I'd
> like to make certain that we are talking about the same issue.

Sorry about that. I forgot to include the `event.preventDefault()` line in the test case. I've uploaded an updated test case that includes the line.

-- 
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/20230424/a46d329a/attachment.htm>


More information about the webkit-unassigned mailing list