зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1486130: Follow-up: Ignore extra console message on OS-X. r=bustage,test-only
This commit is contained in:
Родитель
8c0ed09430
Коммит
670d3e0fff
|
@ -27,6 +27,11 @@ add_task(async function test_unhandled_dom_exception() {
|
|||
await new Promise(executeSoon);
|
||||
});
|
||||
|
||||
// xpcshell tests on OS-X sometimes include an extra warning, which we
|
||||
// unfortunately need to ignore:
|
||||
messages = messages.filter(msg => !msg.message.includes(
|
||||
"No chrome package registered for chrome://branding/locale/brand.properties"));
|
||||
|
||||
equal(messages.length, 1, "Got one console message");
|
||||
|
||||
let [msg] = messages;
|
||||
|
|
Загрузка…
Ссылка в новой задаче