summaryrefslogtreecommitdiffstats
path: root/toolkit/components/printing/tests/browser_preview_print_link_modulepreload.js
blob: 90e35947a5bbbac11a08fa87a6b737a00f404869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

const TEST_PATH = getRootDirectory(gTestPath).replace(
  "chrome://mochitests/content",
  "https://example.com"
);

add_task(async function testLinkModulePreload() {
  await PrintHelper.withTestPage(async helper => {
    await helper.startPrint();
    ok(true, "We did not crash.");
    await helper.closeDialog();
  }, "file_link_modulepreload.html");
});