Bug 936101 - Make ObjectActor.onDisplayString not call debuggee code. r=fitzgen

This commit is contained in:
Brandon Benvie
2013-11-18 13:24:54 -08:00
parent d474e32cec
commit 87b8409da2
7 changed files with 333 additions and 75 deletions

View File

@@ -500,12 +500,7 @@ var Scratchpad = {
reject(aResponse);
}
else {
let string = aResponse.displayString;
if (string && string.type == "null") {
string = "Exception: " +
this.strings.GetStringFromName("stringConversionFailed");
}
this.writeAsComment(string);
this.writeAsComment(aResponse.displayString);
resolve();
}
});