<!DOCTYPE html>
<body>
<script src="../../../../resources/js-test.js"></script>
<script>
(function() {
(function() {
var theElement = document.createElement("details");
document.body.appendChild(theElement);
theElement.addEventListener("DOMNodeRemovedFromDocument", function () { eventSender.keyDown("\t"); }, false);
theElement.parentNode.removeChild(theElement);
})();
gc();
debug("PASS unless crash");
})();
</script>
</body>