tenfourfox/dom/inputmethod/mochitest/file_test_sendkey_cancel.html
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

15 lines
310 B
HTML

<!DOCTYPE HTML>
<html>
<body>
<input id="test-input" type="text" value="Yolo"/>
<script type="application/javascript;version=1.7">
let input = document.getElementById('test-input');
input.focus();
input.addEventListener('keydown', function(e) {
e.preventDefault();
});
</script>
</body>
</html>