blob: b21e2b9dc5bb079e790042f12d624c64300c09a9 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
Test passes if it does not crash.
<div id="console"></div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
iframe1 = document.createElement('iframe');
document.body.appendChild(iframe1);
document1 = iframe1.contentDocument.implementation.createHTMLDocument("document");
var body1 = document1.body;
document1.alinkColor = "blue";
var body2 = body1.cloneNode(true);
document1.body = document1.createElement('body');
delete document1;
gc();
body2.vLink = 1;
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>