summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/dom/events/resources/event-global-is-still-set-when-coercing-beforeunload-result-frame.html
blob: 5df4fa279363798f2f471467ed674c092c7a1749 (plain)
1
2
3
4
5
6
<!doctype html>
<meta charset="utf-8">
<body>
<script>
window.onbeforeunload = () => ({ toString: () => { parent.currentEventInToString = window.event; } });
</script>