зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1581434 - Convert new console message arguments into the proper format, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D45967 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
52bb5d1e45
Коммит
c5861a20a0
|
@ -1586,8 +1586,10 @@ function handleResumeManifestResponse({
|
||||||
getCheckpointInfo(point.checkpoint).point = point;
|
getCheckpointInfo(point.checkpoint).point = point;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gDebugger && gDebugger.onConsoleMessage) {
|
if (gDebugger) {
|
||||||
consoleMessages.forEach(msg => gDebugger.onConsoleMessage(msg));
|
consoleMessages.forEach(msg => {
|
||||||
|
gDebugger._newConsoleMessage(msg);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gDebugger) {
|
if (gDebugger) {
|
||||||
|
|
|
@ -753,6 +753,12 @@ ReplayDebugger.prototype = {
|
||||||
return message;
|
return message;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
_newConsoleMessage(message) {
|
||||||
|
if (this.onConsoleMessage) {
|
||||||
|
this.onConsoleMessage(this._convertConsoleMessage(message));
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
findAllConsoleMessages() {
|
findAllConsoleMessages() {
|
||||||
const messages = this._sendRequestMainChild({
|
const messages = this._sendRequestMainChild({
|
||||||
type: "findConsoleMessages",
|
type: "findConsoleMessages",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче