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

// Test for about:preferences foreground check for updates which fails,
// because it is impossible to connect to the update server.
add_task(async function aboutPrefs_foregroundCheck_network_failure() {
  let params = {
    baseURL: "https://localhost:7777",
  };
  await runAboutPrefsUpdateTest(params, [
    {
      panelId: "checkingFailed",
    },
  ]);
});