blob: 33855d562b30a5d65c9231a3f181e4da39552184 [file] [log] [blame]
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
alert(1);
var doc = document.implementation.createDocument('http://www.w3.org/1999/xhtml', 'html', null);
alert(2);
var ifr = doc.createElement('iframe');
alert(3);
ifr.setAttribute('src', 'javascript:alert(7)');
alert(4);
var adopted = document.adoptNode(ifr)
alert(5);
document.body.appendChild(adopted);
alert(6);
</script>