gecko/toolkit/components/startup/tests/browser/beforeunload.html

11 lines
171 B
HTML

<html>
<script>
window.onbeforeunload = function(event){
event.returnValue = 'Test beforeunload handler';
}
</script>
<body>
Test page
</body>
</html>