<html class="reftest-wait"> <head> <script> function boom() { document.getElementById("frameset").removeChild(document.getElementById("frame")); document.documentElement.removeAttribute("class"); } </script> </head> <frameset id="frameset" onload="setTimeout(boom, 100)"> <frame id="frame" src="data:text/html,<body onUnload="location = 'http://www.mozilla.org/'">This frame's onunload tries to load another page."> </frameset> </html>