summaryrefslogtreecommitdiffstats
path: root/toolkit/components/extensions/test/xpcshell/test_ext_manifest_minimum_opera_version.js
blob: 943e8b7270e6d8af94df4d82f09d83d4c2aaf2c7 (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_opera_version() {
  let normalized = await ExtensionTestUtils.normalizeManifest({
    minimum_opera_version: "48",
  });

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