<!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>
