1
0
Fork 0
firefox/remote/cdp/test/browser/runtime/doc_console_events.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

31 lines
732 B
HTML

<!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>