Browse Source

remove deprecated method call

Shelley Vohr 7 years ago
parent
commit
276f758560
1 changed files with 2 additions and 2 deletions
  1. 2 2
      spec/fixtures/api/crash-restart.html

+ 2 - 2
spec/fixtures/api/crash-restart.html

@@ -24,8 +24,8 @@ if (process.platform === 'win32') {
 
 setImmediate(() => {
   if (process.platform === 'darwin') {
-    crashReporter.setExtraParameter('extra2', 'extra2')
-    crashReporter.setExtraParameter('extra3', null)
+    crashReporter.addExtraParameter('extra2', 'extra2')
+    crashReporter.removeExtraParameter('extra3')
   } else {
     crashReporter.start({
       productName: 'Zombies',