<p>This test verifies that prompts are forbidden when leaving a webpage.</p>

<p>Prompts include alert, confirm, prompt, and showModalDialog.</p>

<p>If there is no prompt, the test passed.</p>

<script>
if (window.testRunner) {
	testRunner.dumpAsText();
	testRunner.notifyDone();
}
</script>
