blob: 1d0c6fcc4d7792572034a9eb1abdf53f5036a64b [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest() {
var text = document.getElementById('iframe').contentDocument.documentElement.outerText;
result.innerHTML = text;
}
</script>
<setvar id="result">
<script>
document.write('<iframe id="iframe" src="data:text/plain,FAIL" onload="runTest()">')
var oRTE = frames[0].document;
oRTE.write("PASS");
oRTE.close();
</script>