mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
17 lines
366 B
HTML
17 lines
366 B
HTML
<!DOCTYPE HTML><html><head>
|
|
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
|
</head>
|
|
<body>
|
|
<textarea maxlength="3"></textarea>
|
|
<script>
|
|
var t = document.querySelector("textarea");
|
|
t.focus();
|
|
|
|
synthesizeKey("a", {});
|
|
synthesizeKey("b", {});
|
|
synthesizeKey("VK_ENTER", {});
|
|
synthesizeKey("c", {});
|
|
</script>
|
|
</body>
|
|
</html>
|