electron/spec/fixtures/api/crash.html

21 lines
429 B
HTML
Raw Normal View History

2013-11-14 16:10:43 +00:00
<html>
<body>
<script type="text/javascript" charset="utf-8">
var crashReporter = require('crash-reporter');
crashReporter.start({
productName: 'Zombies',
companyName: 'Umbrella Corporation',
submitUrl: 'http://127.0.0.1:1127',
2013-11-14 16:10:43 +00:00
autoSubmit: true,
ignoreSystemCrashHandler: true,
extra: {
'extra1': 'extra1',
'extra2': 'extra2',
}
2013-11-14 16:10:43 +00:00
});
setImmediate(function() { process.crash(); });
</script>
</body>
</html>