blob: 986941a86aebc14aecae505f385262a151602431 [file] [log] [blame]
<iframe src="data:text/html,<div id=foo></div>"></iframe>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function doNothing() {
}
addEventListener("load", function() {
var element = frames[0].document.getElementById("foo");
element.addEventListener("mousewheel", doNothing, false);
element.addEventListener("touchstart", doNothing, false);
document.body.appendChild(element);
element.removeEventListener("mousewheel", doNothing, false);
element.removeEventListener("touchstart", doNothing, false);
}, false);
</script>
This test passes if it doesn't crash.