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.