Bug 1702330 - Remove lazy notification deck creation test r=mconley

This test no longer passes with proton enabled by default, since the
deck would've been created already during startup.

Differential Revision: https://phabricator.services.mozilla.com/D111310
This commit is contained in:
Mark Striemer 2021-04-09 15:26:26 +00:00
Родитель d31dded190
Коммит abe181d764
1 изменённых файлов: 0 добавлений и 16 удалений

Просмотреть файл

@ -42,22 +42,6 @@ add_task(async function setup() {
});
});
add_task(async function testNotificationDeckIsLazy() {
let deck = document.getElementById("tab-notification-deck");
ok(!deck, "There is no tab notification deck");
await BrowserTestUtils.withNewTab("about:blank", async browser => {
createNotification({
browser,
label: "First notification",
value: "first-notification",
priority: "PRIORITY_INFO_LOW",
});
deck = document.getElementById("tab-notification-deck");
ok(deck, "Creating a notification created the deck");
});
});
add_task(async function testNotificationInBackgroundTab() {
let firstTab = gBrowser.selectedTab;