summaryrefslogtreecommitdiffstats
path: root/toolkit/components/extensions/test/xpcshell/test_ext_manifest_minimum_chrome_version.js
blob: 39119513fb8501a9f2b61750ff1ed60337b27122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set sts=2 sw=2 et tw=80: */
"use strict";

add_task(async function test_manifest_minimum_chrome_version() {
  let normalized = await ExtensionTestUtils.normalizeManifest({
    minimum_chrome_version: "42",
  });

  equal(normalized.error, undefined, "Should not have an error");
  equal(normalized.errors.length, 0, "Should not have warnings");
});