3 if (window
.testRunner
) {
4 testRunner
.waitUntilDone();
5 testRunner
.setCanOpenWindows();
6 testRunner
.dumpAsText();
10 var w
= window
.open('window-open-then-write.html');
11 w
.document
.write('<img src="resources/compass.jpg" onload="if (window.testRunner) setTimeout(\'testRunner.notifyDone()\', 100);">');
15 <body onload=
"runTest();">
16 <div>This tests that calling window.open() with a URL and then writing to the window using document.write still causes the WebFrame in question to have a correct WebDataSource.
</div>
17 <div>SUCCESS! Did not assert!
</div>