blob: 02a392c935e6471465603386bf84657af954d952 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<p id="description">Test passes if no crash.</p>
<script>
if (window.testRunner) {
window.testRunner.dumpAsText();
function crash() {
var div = document.createElement('div');
div.ontouchstart = function() { };
document.body.appendChild(div);
window.internals.touchEventHandlerCount(document);
div.parentNode.removeChild(div);
div = 0;
if (window.GCController)
GCController.collect();
window.internals.touchEventHandlerCount(document);
}
crash();
}
</script>
</body>