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 |