haikuwebkit/LayoutTests/fast/frames/iframe-set-inner-html.html

19 lines
499 B
HTML

<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 &lt;iframe&gt; elements using innerHTML actually causes two frames with unique names to be created.</div>
</body>
</html>