mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
85611a7b6d
--HG-- extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
16 lines
407 B
HTML
16 lines
407 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<script type="text/javascript">
|
|
function init() {
|
|
// This will throw a HierarchyRequestError exception
|
|
var doc = document.implementation.createDocument(null, 'DOC', null);
|
|
doc.documentElement.appendChild(doc);
|
|
}
|
|
window.addEventListener("load", init);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
Testcase for bug 415498. This page should show an exception in Error Console on load
|
|
</body>
|