blob: 5e1e669ad6ca67ae0a46e0d8d2563d62fdf9c67f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Empty page</title>
<script>
function throwError() {
let foo = {};
foo.click();
}
</script>
</head>
<body>
<a id="console-log" href="javascript:console.log('foo')">console.log()</a><br/>
<a id="console-error" href="javascript:console.error('foo')">console.error()</a><br/>
<a id="js-error" onclick="throwError()">Javascript Error</a><br/>
</body>
</html>
|