gecko-dev/docshell/base/crashtests/432114-2.html

26 lines
802 B
HTML
Raw Permalink Blame History

<html class="reftest-wait">
<head>
<title>testcase2 Bug 432114 <20> Crash [@ PL_DHashTableOperate] with DOMNodeInserted event listener removing window and frameset contenteditable</title>
</head>
<body onload="SpecialPowers.pushPrefEnv({'set': [['dom.mutation_events.enabled', true]]}, run);">
<script>
window.addEventListener("DOMNodeRemoved", function() {
setTimeout(function() {
document.documentElement.removeAttribute("class");
}, 0);
});
function run() {
var iframe = document.getElementById("content");
iframe.onload=function() {
dump("iframe onload\n");
console.log("iframe onload");
};
iframe.src = "file_432114-2.xhtml";
}
</script>
<iframe id="content" style="width:1000px;height: 200px;"></iframe>
</body>
</html>