<html> | |
<script> | |
function runTest() { | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.dumpChildFramesAsText(); | |
} | |
var c = document.getElementById('container'); | |
c.innerHTML = "<span><iframe></iframe><iframe></iframe></span>" | |
} | |
</script> | |
<body onload="runTest()"> | |
<div id="container"></div> | |
<div>This tests that inserting two <iframe> elements using innerHTML actually causes two frames with unique names to be created.</div> | |
</body> | |
</html> |