Bug 1697588 - avoid leaking about:blank windows in browser_modal_print.js by waiting a bit before closing the dialog, r=emalysz.

Depends on D108020

Differential Revision: https://phabricator.services.mozilla.com/D108021
This commit is contained in:
Florian Quèze committed 2021-03-17 17:39:34 +00:00
1 parent 0c64151597
commit 1576602359
1 file changed
+1
@@ -51,6 +51,7 @@ add_task(async function testPrintMultiple() {
assertExpectedPrintPage(helper);
// Make sure we clean up, ideally this would be handled by the helper.
await TestUtils.waitForTick();
await helper.closeDialog();
});
});