From 47bf8f7b4094c8f960ad3325b2e91ac8845ed01d Mon Sep 17 00:00:00 2001 From: Jonathan Griffin Date: Thu, 18 Apr 2013 03:04:13 -0700 Subject: [PATCH] Bug 863185 - Define variable in order to use it, r=dburns --- testing/marionette/marionette-actors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/marionette/marionette-actors.js b/testing/marionette/marionette-actors.js index b589072a2a51..98572c732a92 100644 --- a/testing/marionette/marionette-actors.js +++ b/testing/marionette/marionette-actors.js @@ -262,7 +262,7 @@ MarionetteDriverActor.prototype = { default: break; } - code = error.hasOwnProperty('code') ? e.code : 500; + let code = error.hasOwnProperty('code') ? e.code : 500; this.sendError(error.toString(), code, error.stack, commandId); } }