blob: 89ba30df90029d6d12ce8bea61f6b3965367d8a8 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description('This test checks for crashes in setting an event handler on a document element created by '
+ 'document.implementation.createDocument.');
var doc = document.implementation.createDocument('', '', null);
doc.onload = function() { };
testPassed('Attached onload event handler to created document.');
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>