electron/spec/fixtures/api/crash.html
2013-11-15 00:10:43 +08:00

14 lines
302 B
HTML

<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>