2 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=14968">bug 14968</a>:
3 document.open() erroneously returns void instead of the new Document.</p>
4 <div id=result>FAILURE</div>
7 testRunner.dumpAsText();
11 var d = frames[0].document.open();
12 d.write("<p>SUCCESS</p>");
14 document.getElementById("result").innerHTML = d.body.innerHTML;
17 <iframe src="data:text/html,FAILURE"></iframe>