summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_network_failure.js
blob: 8e25b96d7feea095c10ee1c678f4aa4b60777a0a (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";

// Test for About Dialog foreground check for updates which fails, because it is
// impossible to connect to the update server
add_task(async function aboutDialog_foregroundCheck_network_failure() {
  let params = {
    baseURL: "https://localhost:7777",
  };

  await runAboutDialogUpdateTest(params, [
    {
      panelId: "checkingFailed",
    },
  ]);
});