mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Also upload product name, company name and version in crash report.
This commit is contained in:
@@ -19,6 +19,9 @@ describe 'crash-reporter module', ->
|
||||
assert.equal fields['platform'], process.platform
|
||||
assert.equal fields['extra1'], 'extra1'
|
||||
assert.equal fields['extra2'], 'extra2'
|
||||
assert.equal fields['_productName'], 'Zombies'
|
||||
assert.equal fields['_companyName'], 'Umbrella Corporation'
|
||||
assert.equal fields['_version'], require('remote').require('app').getVersion()
|
||||
assert files['upload_file_minidump']['name']?
|
||||
|
||||
w.destroy()
|
||||
|
||||
3
spec/fixtures/api/crash.html
vendored
3
spec/fixtures/api/crash.html
vendored
@@ -3,7 +3,8 @@
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
var crashReporter = require('crash-reporter');
|
||||
crashReporter.start({
|
||||
productName: 'Something other than Atom-Shell',
|
||||
productName: 'Zombies',
|
||||
companyName: 'Umbrella Corporation',
|
||||
submitUrl: 'http://127.0.0.1:1127',
|
||||
autoSubmit: true,
|
||||
ignoreSystemCrashHandler: true,
|
||||
|
||||
Reference in New Issue
Block a user