Files
sousa-gecko/dom/console/tests/xpcshell/xpcshell.toml
T
Julian Descottes ac85f12daf Bug 2015711 - [devtools-logger] Fix inconsistent Assert log levels r=devtools-reviewers,nchevobbe
In `ConsoleMethodNameToMozLog`, `console.assert` is assigned to `LogLevel::Error`, same as `console.error` or `console.exception`.
But in `ConsoleMethodNameToInteger`, `console.assert` is assigned to the level `3`, which translates to `LogLevel::Info`.

We keep duplicated maps because those methods are on console hot paths, but we should make sure the levels set are consistent.

Differential Revision: https://phabricator.services.mozilla.com/D284032
2026-02-20 14:05:45 +00:00

28 lines
584 B
TOML

[DEFAULT]
head = "head.js"
support-files = ""
["test_basic.js"]
["test_console_shouldLog.js"]
environment = ["MOZ_LOG=shouldlogtest_0:0,shouldlogtest_1:1,shouldlogtest_2:2,shouldlogtest_3:3,shouldlogtest_4:4,shouldlogtest_5:5"]
["test_consoleMethod_levels.js"]
["test_failing_console_listener.js"]
skip-if = [
"os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11' && tsan",
]
["test_formatting.js"]
["test_reportForServiceWorkerScope.js"]
["test_worker.js"]
support-files = [
"worker.mjs",
]
run-if = [
"os != 'android'", # Uses ChromeWorker.
]