4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 testRunner
.dumpChildFramesAsText();
11 var frames
= document
.getElementsByTagName("iframe");
12 var dummy
= frames
[0];
13 var testFrame
= frames
[1];
14 testFrame
.contentDocument
.adoptNode(dummy
);
15 testFrame
.contentDocument
.body
.appendChild(dummy
);
17 window
.onload
= runTest
;
21 <iframe src=
"data:text/plain,Frame 1"></iframe>
22 <iframe src=
"data:text/html,<p>This test PASSED if DRT outputs two %26lt%3Biframe%26gt%3Bs with unique names.</p><iframe src='data:text/plain,Frame 0'></iframe>"></iframe>