blob: 136a9a85e6a8057ef982f7e948c8e5e8ab9a1a4e [file] [log] [blame]
1
<script>
if (window.testRunner)
testRunner.dumpAsText();
function doubleWrite(number)
{
document.write("<script>document.write(" + number + ")</scr" +
"ipt> <script>document.write(" + (number + 1) + ")</scr" + "ipt> ")
}
</script>
2
<script
onbeforeload="doubleWrite(3)"
src="data:text/javascript,doubleWrite(5)">
</script>
7