CONSOLE MESSAGE: Use of window.alert is not allowed while unloading a page.
This test verifies that prompts are forbidden when leaving a webpage.
Prompts include alert, confirm, prompt, and showModalDialog.
If there is no prompt, the test passed.