electron/spec/fixtures/api/crash.html
2013-11-18 18:37:32 +08:00

18 lines
364 B
HTML

<html>
<body>
<script type="text/javascript" charset="utf-8">
var crashReporter = require('crash-reporter');
crashReporter.start({
submitUrl: 'http://127.0.0.1:1127',
autoSubmit: true,
ignoreSystemCrashHandler: true,
extra: {
'extra1': 'extra1',
'extra2': 'extra2',
}
});
setImmediate(function() { process.crash(); });
</script>
</body>
</html>