The second page of this two page test will take 8 seconds to display. First the browser will send the title element, then wait 4 seconds, then it will send a script with an alert inside it, then wait another 4 seconds, then send the body.

On the other hand, this page has an onunload handler that alerts too.

Now go to the second page.