blob: 8bb5a30c1f9fe42adfdaacf26392d157d9cc9c55 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="../../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("Test that non-Roman keys get proper non-null key codes.");
window.jsTestIsAsync = true;
document.onkeydown = function(event) {
shouldBe("event.charCode", "0");
shouldBe("event.keyCode", "70");
finishJSTest()
}
if (window.eventSender) {
eventSender.keyDown("cyrillicSmallLetterA");
}
</script>
<script src="../../../../resources/js-test-post.js"></script>
</body>
</html>