зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1266235 - Rename kinto-updater to blocklist-updater. r=mgoodwin
MozReview-Commit-ID: 8bDKbxbIus3 --HG-- rename : services/common/kinto-updater.js => services/common/blocklist-updater.js rename : services/common/tests/unit/test_kinto_updater.js => services/common/tests/unit/test_blocklist_updater.js extra : rebase_source : 4d03542a741cdd38bc048f54fea6a752e8114f40
This commit is contained in:
Родитель
926642e614
Коммит
397e35b6c1
|
@ -15,9 +15,9 @@ EXTRA_COMPONENTS += [
|
|||
|
||||
EXTRA_JS_MODULES['services-common'] += [
|
||||
'async.js',
|
||||
'blocklist-updater.js',
|
||||
'kinto-http-client.js',
|
||||
'kinto-offline-client.js',
|
||||
'kinto-updater.js',
|
||||
'KintoBlocklist.js',
|
||||
'logmanager.js',
|
||||
'observers.js',
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
Cu.import("resource://services-common/kinto-updater.js")
|
||||
Cu.import("resource://testing-common/httpd.js");
|
||||
|
||||
var server;
|
||||
|
@ -52,7 +51,7 @@ add_task(function* test_check_maybeSync(){
|
|||
|
||||
let startTime = Date.now();
|
||||
|
||||
let updater = Cu.import("resource://services-common/kinto-updater.js");
|
||||
let updater = Cu.import("resource://services-common/blocklist-updater.js");
|
||||
|
||||
let syncPromise = new Promise(function(resolve, reject) {
|
||||
// add a test kinto client that will respond to lastModified information
|
|
@ -9,10 +9,11 @@ support-files =
|
|||
# Test load modules first so syntax failures are caught early.
|
||||
[test_load_modules.js]
|
||||
|
||||
[test_kinto.js]
|
||||
[test_kinto_updater.js]
|
||||
[test_blocklist_updater.js]
|
||||
[test_kintoAddonPluginBlocklist.js]
|
||||
[test_kintoCertBlocklist.js]
|
||||
|
||||
[test_kinto.js]
|
||||
[test_storage_adapter.js]
|
||||
|
||||
[test_utils_atob.js]
|
||||
|
|
|
@ -633,7 +633,7 @@ Blocklist.prototype = {
|
|||
// If kinto update is enabled, do the kinto update
|
||||
if (gPref.getBoolPref(PREF_KINTO_UPDATE_ENABLED)) {
|
||||
let KintoUpdater =
|
||||
Components.utils.import("resource://services-common/kinto-updater.js",
|
||||
Components.utils.import("resource://services-common/blocklist-updater.js",
|
||||
{});
|
||||
KintoUpdater.checkVersions().catch(() => {
|
||||
// Before we enable this in release, we want to collect telemetry on
|
||||
|
|
Загрузка…
Ссылка в новой задаче