15 lines
337 B
HTML
15 lines
337 B
HTML
<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>
|
|
<object id="f" onload="test();" data="data:text/html,<body></body>"></object>
|