summaryrefslogtreecommitdiffstats
path: root/remote/test/browser/runtime/doc_console_events.html
diff options
context:
space:
mode:
Diffstat (limited to 'remote/test/browser/runtime/doc_console_events.html')
-rw-r--r--remote/test/browser/runtime/doc_console_events.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/remote/test/browser/runtime/doc_console_events.html b/remote/test/browser/runtime/doc_console_events.html
new file mode 100644
index 0000000000..63b37ce592
--- /dev/null
+++ b/remote/test/browser/runtime/doc_console_events.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <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>