[Webkit-unassigned] [Bug 169789] New: I found one more onbeforeunload event return value coercion edge case
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 16 14:40:34 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=169789
Bug ID: 169789
Summary: I found one more onbeforeunload event return value
coercion edge case
Classification: Unclassified
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Events
Assignee: webkit-unassigned at lists.webkit.org
Reporter: d at domenic.me
The newly-introduced test at http://w3c-test.org/html/browsers/browsing-the-web/unloading-documents/beforeunload-canceling.html named
> Returning false must not cancel the event, because it's coerced to the DOMString "false" which does not cancel CustomEvents: CustomEvent, cancelable
does not pass in Safari Tech Preview 25. Everything else does (except the test "Returning a string must not cancel the event: BeforeUnloadEvent with type "click", cancelable" which is fine since it's best if Safari doesn't implement createEvent("beforeunload"); see https://github.com/whatwg/dom/issues/362.)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170316/25d1a5fc/attachment-0001.html>
More information about the webkit-unassigned
mailing list