зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1546277 - Remove the className for the console.assert element. r=nchevobbe.
The className was making the color purple, although we want it to be red. Removing the className makes it red. Differential Revision: https://phabricator.services.mozilla.com/D28616 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
240b24fbe1
Коммит
150d7412e1
|
@ -82,7 +82,7 @@ function ConsoleApiCall(props) {
|
||||||
];
|
];
|
||||||
} else if (type === "assert") {
|
} else if (type === "assert") {
|
||||||
const reps = formatReps(messageBodyConfig);
|
const reps = formatReps(messageBodyConfig);
|
||||||
messageBody = dom.span({ className: "cm-variable" }, "Assertion failed: ", reps);
|
messageBody = dom.span({}, "Assertion failed: ", reps);
|
||||||
} else if (type === "table") {
|
} else if (type === "table") {
|
||||||
// TODO: Chrome does not output anything, see if we want to keep this
|
// TODO: Chrome does not output anything, see if we want to keep this
|
||||||
messageBody = dom.span({className: "cm-variable"}, "console.table()");
|
messageBody = dom.span({className: "cm-variable"}, "console.table()");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче