summaryrefslogtreecommitdiffstats
path: root/dom/events/crashtests/1397711.html
blob: fef4db2fb504362e54856acab53ee7bd5e36e8bc (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<script>
  let code = "x".charCodeAt(0);
  let e = new KeyboardEvent("keypress", {
    keyCode: code,
    charCode: code,
    bubbles: true
  });
  let utils = SpecialPowers.getDOMWindowUtils(window);
  utils.dispatchDOMEventViaPresShellForTesting(document.documentElement, e);
</script>