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

"use strict";

add_task(async function doorhanger_bc_check_cantApply() {
  lockWriteTestFile();

  let params = { checkAttempts: 1, queryString: "&promptWaitTime=0" };
  await runDoorhangerUpdateTest(params, [
    {
      notificationId: "update-manual",
      button: "button",
      checkActiveUpdate: null,
      pageURLs: { whatsNew: gDetailsURL, manual: URL_MANUAL_UPDATE },
    },
  ]);
});