Skip to content

Commit 34d593f

Browse files
committed
Add a html page for testing BiDi logEntryAdded events
1 parent 6d2a782 commit 34d593f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<html>
2+
3+
<body>
4+
5+
<h1>Long entry added events</h1>
6+
7+
<button id="consoleLog" onclick="helloWorld()">Click me for console logs</button>
8+
9+
<button id="jsException" onclick="createError()">Click me for jsException logs</button>
10+
11+
<button id="logWithStacktrace" onclick="bar()">Click me to get an error with stacktrace</button>
12+
13+
<script>
14+
function helloWorld() {
15+
console.log('Hello, world!')
16+
}
17+
18+
function createError() { throw new Error('Not working') }
19+
20+
function foo() { throw new Error('Not working'); }
21+
22+
function bar() { foo(); }
23+
</script>
24+
25+
</body>
26+
27+
</html>

0 commit comments

Comments
 (0)