Commit 31bcb9ab authored by Emilio Cobos Álvarez's avatar Emilio Cobos Álvarez
Browse files

Bug 1789439 - Fix browser_modal_print.js after previous patch. a=pascalc

MANUAL PUSH: Orange fix CLOSED TREE
parent 6d5378a6
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -40,12 +40,15 @@ add_task(async function testPrintMultiple() {
    assertExpectedPrintPage(helper);

    // Trigger the command a few more times, verify the overlay still exists.
    ignoreAllUncaughtExceptions(true);
    for (let i = 0; i < 3; ++i) {
      try {
        await helper.startPrint();
      } finally {
        helper.assertDialogOpen();
    await helper.startPrint();
    helper.assertDialogOpen();
    await helper.startPrint();
    helper.assertDialogOpen();
      }
    }
    ignoreAllUncaughtExceptions(false);

    // Verify it's still the correct page.
    assertExpectedPrintPage(helper);