autoSubmit -> uploadToServer
This commit is contained in:
parent
f3756ccf29
commit
a4bbad03c2
2 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ describe('crashReporter module', function () {
|
||||||
crashReporter.start({
|
crashReporter.start({
|
||||||
companyName: 'Umbrella Corporation',
|
companyName: 'Umbrella Corporation',
|
||||||
submitURL: 'http://127.0.0.1/crashes',
|
submitURL: 'http://127.0.0.1/crashes',
|
||||||
autoSubmit: true
|
uploadToServer: true
|
||||||
})
|
})
|
||||||
assert.equal(crashReporter.getUploadToServer(), true)
|
assert.equal(crashReporter.getUploadToServer(), true)
|
||||||
crashReporter.setUploadToServer(false)
|
crashReporter.setUploadToServer(false)
|
||||||
|
|
2
spec/fixtures/api/crash.html
vendored
2
spec/fixtures/api/crash.html
vendored
|
@ -7,7 +7,7 @@ crashReporter.start({
|
||||||
productName: 'Zombies',
|
productName: 'Zombies',
|
||||||
companyName: 'Umbrella Corporation',
|
companyName: 'Umbrella Corporation',
|
||||||
submitURL: 'http://127.0.0.1:' + port,
|
submitURL: 'http://127.0.0.1:' + port,
|
||||||
autoSubmit: true,
|
uploadToServer: true,
|
||||||
ignoreSystemCrashHandler: true,
|
ignoreSystemCrashHandler: true,
|
||||||
extra: {
|
extra: {
|
||||||
'extra1': 'extra1',
|
'extra1': 'extra1',
|
||||||
|
|
Loading…
Reference in a new issue