blob: 98691bfe697f58ac980c00d6e214f705c21473fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Storing type of `KeyboardEvent.initKeyEvent`</title>
<script>
document.documentElement.setAttribute(
"data-initKeyEvent-before",
typeof window.KeyboardEvent.prototype.initKeyEvent
);
window.addEventListener("load", () => {
document.documentElement.setAttribute(
"data-initKeyEvent-after",
typeof window.KeyboardEvent.prototype.initKeyEvent
);
}, { capture: false, once: true });
</script>
</head>
<body>
</body>
</html>
|