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 : transplant_source : %95%FD%CDf%12%84%F5%AA8%8C%E4CQ%DB%40P%91%EC%C2%B4
This commit is contained in:
Mathieu Leplatre 2016-04-21 17:22:01 +02:00
parent bc20d8239b
commit 012488413a
5 changed files with 6 additions and 6 deletions

View File

@ -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',

View File

@ -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

View File

@ -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]

View File

@ -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