NO BUG: JS Debugger: Fix variable name in reportError. r=gijs

This commit is contained in:
Jim Blandy 2013-07-10 16:02:28 -07:00
parent bef69b1b16
commit 8d7610ea0c

View File

@ -2934,7 +2934,7 @@ function convertToUnicode(aString, aCharset=null) {
* An optional prefix for the reported error message.
*/
function reportError(aError, aPrefix="") {
let msg = prefix + aError.message + ":\n" + aError.stack;
let msg = aPrefix + aError.message + ":\n" + aError.stack;
Cu.reportError(msg);
dumpn(msg);
}