blob: 1cd3c2c709388b29191f6803b56c8a4b1f0526b7 [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFrames();
}
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>