2 if (window
.testRunner
) {
3 testRunner
.dumpAsText();
4 testRunner
.waitUntilDone();
8 document
.getElementById('result').textContent
= 'PASS';
10 testRunner
.notifyDone();
13 <p>This test ensures that setting the srcdoc attribute iframe causes the
14 document to change to the current value of the srcdoc attribute on the
16 <div id=
"result">Waiting...
</div>
19 window.frameElement.srcdoc = '<script>top.pass();<\/script>';