21 lines
		
	
	
	
		
			504 B
			
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			504 B
			
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <html>
 | |
| <body>
 | |
| <script type="text/javascript" charset="utf-8">
 | |
| var port = require('url').parse(window.location.href, true).query.port;
 | |
| var crashReporter = require('crash-reporter');
 | |
| 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>
 | 
