generated from electron/electron-quick-start-typescript
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (50 loc) · 2.34 KB
/
index.html
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>my-electron-crasher</title>
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'"/>
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'"/> -->
<link rel="stylesheet" href="./src/assets/css/styles.css">
</head>
<body>
<div class="container">
<a id="bugsplat_logo_url" href="https://www.bugsplat.com"><img class="logo" src="./src/assets/img/bugsplat-logo.png"></a>
<div class="content">
<h1>
Welcome to my-electron-crasher!
</h1>
<p>
This is a sample application that demonstrates <a id="bugsplat_url" href="https://www.bugsplat.com">BugSplat</a>
error reporting for <a id="electron_url" href="https://www.electronjs.org">Electron</a> applications build with JavaScript
or TypeScript.
</p>
<div class="errors">
<h2>Errors</h2>
<button class="error" id="main-error-button">
<h2>Main Error</h2>
<p>unhandled rejected promise</p>
<h4>WILL TERMINATE APP</h4>
</button>
<button class="error" id="renderer-error-button">
<h2>Renderer Error</h2>
<p>uncaught exception</p>
</button>
<button class="error" id="native-crash-button">
<h2>Native Crash</h2>
<p>Calls process.crash</p>
<h4>WILL TERMINATE APP</h4>
</button>
<button class="error" id="addon-crash-button">
<h2>Native (Addon) Crash</h2>
<p>dereference null pointer in native code</p>
<p>requires you configure cmake.js and run npm run build:all</p>
<h4>WILL TERMINATE APP</h4>
</button>
</div>
</div>
</div>
<script src="./dist/src/renderer.js"></script>
</body>
</html>