blob: 9f5fe3ef15b7e0de017660e83cb3acbabc9a314f [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../js/resources/js-test-pre.js"></script>
</head>
<body>
Test passes if it does not crash.
<div id="console"></div>
<script>
if (window.layoutTestController)
layoutTestController.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="../js/resources/js-test-post.js"></script>
</body>
</html>