blob: 3c57746593fee3991215d494c55f19fa4091a24d [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpAsText();
function test() {
try {
var frame = document.getElementById("f");
var childNode = frame.contentDocument.adoptNode(frame);
} catch(ex) {
alert(ex);
}
}
</script>
<iframe id="f" onload="test();" src="data:text/html,<body></body>"></iframe>