Bug 1282978 - Accept and ignore the minimum_chrome_version manifest property. r=kmag

MozReview-Commit-ID: C9AlxpQDCnC
***
Bug 1282978 - Fixed tabs and spacing issues

MozReview-Commit-ID: 3SSpQpvZY2B

--HG--
extra : rebase_source : e1f8e0378c7c78f01fff7251463af0715c3a3abe
This commit is contained in:
Shubheksha Jalan 2016-08-30 00:40:33 +05:30
Родитель 138f1eba9a
Коммит 63373e4352
3 изменённых файлов: 19 добавлений и 0 удалений

Просмотреть файл

@ -13,6 +13,11 @@
"maximum": 2
},
"minimum_chrome_version":{
"type": "string",
"optional": true
},
"applications": {
"type": "object",
"optional": true,

Просмотреть файл

@ -0,0 +1,13 @@
/* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set sts=2 sw=2 et tw=80: */
"use strict";
add_task(function* test_manifest_minimum_chrome_version() {
let normalized = yield ExtensionTestUtils.normalizeManifest({
"minimum_chrome_version": "42",
});
equal(normalized.error, undefined, "Should not have an error");
equal(normalized.errors.length, 0, "Should not have warnings");
});

Просмотреть файл

@ -39,6 +39,7 @@ skip-if = release_build
[test_ext_management.js]
[test_ext_manifest_content_security_policy.js]
[test_ext_manifest_incognito.js]
[test_ext_manifest_minimum_chrome_version.js]
[test_ext_onmessage_removelistener.js]
[test_ext_runtime_connect_no_receiver.js]
[test_ext_runtime_getPlatformInfo.js]