зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1531826 Part 3 - Convert source IDs in console message stack traces, r=lsmyth.
--HG-- extra : rebase_source : ab3baebb3d16d2d467cc1a574e27a0ea62fae2bb
This commit is contained in:
Родитель
02ef503dea
Коммит
194035443a
|
@ -1701,6 +1701,12 @@ WebConsoleActor.prototype =
|
||||||
delete result.innerID;
|
delete result.innerID;
|
||||||
delete result.consoleID;
|
delete result.consoleID;
|
||||||
|
|
||||||
|
if (result.stacktrace) {
|
||||||
|
result.stacktrace = Array.map(result.stacktrace, (frame) => {
|
||||||
|
return { ...frame, sourceId: this.getActorIdForInternalSourceId(frame.sourceId) };
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
result.arguments = Array.map(message.arguments || [], (obj) => {
|
result.arguments = Array.map(message.arguments || [], (obj) => {
|
||||||
const dbgObj = this.makeDebuggeeValue(obj, useObjectGlobal);
|
const dbgObj = this.makeDebuggeeValue(obj, useObjectGlobal);
|
||||||
return this.createValueGrip(dbgObj);
|
return this.createValueGrip(dbgObj);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче