mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Add spec for crash-reporter
This commit is contained in:
14
spec/fixtures/api/crash.html
vendored
Normal file
14
spec/fixtures/api/crash.html
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<html>
|
||||
<body>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
var crashReporter = require('crash-reporter');
|
||||
crashReporter.start({
|
||||
submitUrl: 'http://127.0.0.1:901007',
|
||||
autoSubmit: true,
|
||||
ignoreSystemCrashHandler: true
|
||||
});
|
||||
|
||||
setImmediate(function() { process.crash(); });
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user