blob: a48272385c49fb327889e380da131086e41e076c [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../resources/js-test-pre.js"></script>
</head>
<body id="body">
<div id="content" role="group">
<div role="menu" id="menu">
<div role="menuitem" id="item">a</div>
<div role="menuitem">a</div>
</div>
<script>
description("This tests that deleting a ARIA menu and children do not cause a crash.");
if (window.accessibilityController) {
var content = accessibilityController.accessibleElementById("item");
// Don't crash!
document.getElementById("content").innerHTML = "";
debug("PASS - There was no crash when removing the ARIA menu from the DOM.");
}
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>