blob: f52fcfa5559ccd118f70bfae52e1f439d10e2c44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Empty page</title>
<script>
function throwError() {
let foo = {};
foo.click();
}
function runLogParent() {
function runLogCaller() {
console.trace("foo");
}
function runLogChild() {
runLogCaller();
}
runLogChild();
}
</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/>
<a id="log-wrapper" onclick="runLogParent()">console.log() in function wrappers</a><br/>
</body>
</html>
|