layout/html/tests/printer/js/change_while_in printdialog.html
author Robert O'Callahan <robert@ocallahan.org>
Sat, 14 Aug 2010 02:27:26 +1200
changeset 50432 5c4ea1bbffad227b6804af73055458972da84804
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
Dummy commit

<html><head>
<title>Second Page</title>
<script language="JavaScript">
function doLoad()
{
  window.setTimeout("loadNewPage()", 5000);
  window.print();
}

function loadNewPage()
{
  window.location.href = "http://www.mozilla.org";
}
</script>
</head>
<body bgcolor="#ffffff" onload="doLoad();">
This will print this page and then 5 seconds later it will change the URL of this page while Print Dialog up.
</body></html>