| testRunner.waitUntilDone(); |
| document.getElementById("testFrame").contentDocument.location = o1; |
| alert("completed o1.toString()"); |
| return "data:text/plain,o1-" + i; |
| document.getElementById("testFrame").contentDocument.location = o2 |
| alert("completed o2.toString"); |
| return function(){ return "data:text/plain,o2-" + i; } |
| tmp = document.getElementById("testFrame"); |
| tmp.contentDocument.location = o1; |
| document.write("<iframe src='about:blank' id='testFrame'/>"); |
| tmp = document.getElementById("testFrame"); |
| tmp.contentDocument.location = o2; |
| <body id="log" onload="test()"> |
| <iframe src="about:blank" id="testFrame"/> |