Bug 936101 - Make ObjectActor.onDisplayString not call debuggee code. r=fitzgen
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user