<html>
<body>
<script type="text/javascript" charset="utf-8">
var port = require('url').parse(window.location.href, true).query.port;
var crashReporter = require('electron').crashReporter;
crashReporter.start({
  productName: 'Zombies',
  companyName: 'Umbrella Corporation',
  submitURL: 'http://127.0.0.1:' + port,
  autoSubmit: true,
  ignoreSystemCrashHandler: true,
  extra: {
    'extra1': 'extra1',
    'extra2': 'extra2',
  }
});

setImmediate(function() { process.crash(); });
</script>
</body>
</html>