зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1444605 - Fix perma-orange browser_active_document.js r=johannh
Reviewers: johannh Reviewed By: johannh Bug #: 1444605 Differential Revision: https://phabricator.services.mozilla.com/D706 --HG-- extra : amend_source : f84c2e30200b9afe42defa8eeca1dcbe828061b1
This commit is contained in:
Родитель
84ca5e70ae
Коммит
43fb829da9
|
@ -85,6 +85,9 @@ add_task(async function test_background_window() {
|
|||
let tab_bg = await BrowserTestUtils.openNewForegroundTab(gBrowser, TEST_URL);
|
||||
let win = await BrowserTestUtils.openNewBrowserWindow();
|
||||
|
||||
// Wait until the new window is really focused.
|
||||
await new Promise(resolve => SimpleTest.waitForFocus(resolve, win));
|
||||
|
||||
// Requests from selected tabs not in the active window must fail.
|
||||
await promiseMakeCredential(tab_bg)
|
||||
.then(arrivingHereIsBad)
|
||||
|
|
Загрузка…
Ссылка в новой задаче