blob: 8f8ebf648ffa9769a324b75d20c14cb0a44b50f7 [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
}
function runTest()
{
var frames = document.getElementsByTagName("iframe");
var dummy = frames[0];
var testFrame = frames[1];
testFrame.contentDocument.adoptNode(dummy);
testFrame.contentDocument.body.appendChild(dummy);
}
window.onload = runTest;
</script>
</head>
<body>
<iframe src="data:text/plain,Frame 1"></iframe>
<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>
</body>
</html>