Commit Graph

52 Commits

Author SHA1 Message Date
Mathieu Leplatre
6ac6c635da Bug 1540141 - Distinguish broadcast trigger from startup trigger in Remote Settings Uptake events r=glasserc,lina
Distinguish broadcast trigger from startup trigger in Remote Settings Uptake events

Differential Revision: https://phabricator.services.mozilla.com/D25585

--HG--
extra : moz-landing-system : lando
2019-04-10 16:55:52 +00:00
Mathieu Leplatre
5d817cbe77 Bug 1541428 - Improve invalidation of polling when adding new Remote Settings client r=glasserc
Improve invalidation of polling when adding new Remote Settings client

Differential Revision: https://phabricator.services.mozilla.com/D26690

--HG--
extra : moz-landing-system : lando
2019-04-09 17:43:47 +00:00
Mathieu Leplatre
9fc31364f2 Bug 1523313 - Monitor Remote Settings synchronization duration r=glasserc
Monitor Remote Settings synchronization duration

Differential Revision: https://phabricator.services.mozilla.com/D25402

--HG--
extra : moz-landing-system : lando
2019-04-01 20:04:25 +00:00
Ethan Glasser-Camp
cf4788faef Bug 1535962: Introduce a sample rate for reporting uptake telemetry events r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D23814

--HG--
extra : moz-landing-system : lando
2019-03-20 14:30:39 +00:00
Mathieu Leplatre
a041a9d9d6 Bug 1523311 - Report age of Remote Settings data in Uptake telemetry r=glasserc
Report age of Remote Settings data in Uptake telemetry

Differential Revision: https://phabricator.services.mozilla.com/D23135

--HG--
extra : moz-landing-system : lando
2019-03-12 15:13:31 +00:00
Mathieu Leplatre
b6bf5b0bbc Bug 1533668 - Distinguish manual sync from sync via .get() in uptake Telemetry r=glasserc
Distinguish manual sync from sync via .get() in uptake Telemetry

Differential Revision: https://phabricator.services.mozilla.com/D22661

--HG--
extra : moz-landing-system : lando
2019-03-08 19:57:46 +00:00
Mathieu Leplatre
f3d65462af Bug 1523310 - Distinguish broadcast from scheduled sync in Remote Settings r=glasserc
Distinguish broadcast from scheduled sync in Remote Settings

Differential Revision: https://phabricator.services.mozilla.com/D22339

--HG--
extra : moz-landing-system : lando
2019-03-07 14:44:52 +00:00
Mathieu Leplatre
d19b2d9d78 Bug 1529584 - Distinguish Remote Settings errors when reporting uptake r=glasserc
Distinguish Remote Settings errors when reporting uptake

Differential Revision: https://phabricator.services.mozilla.com/D20836

--HG--
extra : moz-landing-system : lando
2019-02-25 20:22:16 +00:00
Mathieu Leplatre
c8bbaf4887 Bug 1517469 - Enable Events Telemetry for Uptake monitory r=janerik
Enable Events Telemetry for Uptake monitoring

Differential Revision: https://phabricator.services.mozilla.com/D19496

--HG--
extra : moz-landing-system : lando
2019-02-15 09:38:18 +00:00
Kris Maglione
e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Mathieu Leplatre
51cdff0ef9 Bug 1471524 - Add start/end notifications on RemoteSettings.pollChanges() r=glasserc
Add start/end notifications on RemoteSettings.pollChanges()

Differential Revision: https://phabricator.services.mozilla.com/D16674

--HG--
extra : moz-landing-system : lando
2019-01-16 14:19:27 +00:00
Ethan Glasser-Camp
549ac75f78 Bug 1518292: use env instead of environment in JEXL context r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D15951

--HG--
extra : moz-landing-system : lando
2019-01-08 23:52:35 +00:00
Mathieu Leplatre
57a0b8ae80 Bug 1509066 - Sync on RemoteSettings.get() when local db is empty r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D13099

--HG--
extra : moz-landing-system : lando
2018-11-29 17:35:20 +00:00
Mathieu Leplatre
b0e604c32f Bug 1469564 - Split RemoteSettings client into dedicated module r=glasserc
Take RemoteSettingsClient code out of remote-settings.js

Differential Revision: https://phabricator.services.mozilla.com/D12775

--HG--
extra : moz-landing-system : lando
2018-11-27 10:34:16 +00:00
Mathieu Leplatre
8a1e241dd1 Bug 1509003 - Document advanced Remote Settings options r=glasserc
Documents options that will be used by the Normandy client

Differential Revision: https://phabricator.services.mozilla.com/D12631

--HG--
extra : moz-landing-system : lando
2018-11-26 21:39:24 +00:00
Mathieu Leplatre
2cc780ec8e Bug 1502146 - Reduce impact of RemoteSettings synchronization on main thread r=Gijs
Move JSON dump loading and CanonicalJSON serialization to a worker to reduce impact on main thread

Differential Revision: https://phabricator.services.mozilla.com/D10064

--HG--
extra : moz-landing-system : lando
2018-11-20 14:00:06 +00:00
Andreea Pavel
ec618b5047 Backed out changeset 81abb539b39c (bug 1502146) for failing services/settings/test/unit/test_remote_settings_worker.js on a CLOSED TREE 2018-11-20 02:13:24 +02:00
Mathieu Leplatre
7c4c9e8608 Bug 1502146 - Reduce impact of RemoteSettings synchronization on main tread r=Gijs
Move JSON dump loading and CanonicalJSON serialization to a worker to reduce impact on main thread

Differential Revision: https://phabricator.services.mozilla.com/D10064

--HG--
extra : moz-landing-system : lando
2018-11-19 21:56:28 +00:00
Mathieu Leplatre
cb1dac2232 Bug 1493709 - Do not report error of dump load in RemoteSettings.get() r=glasserc
If the collection has no local dump, it should not report any error while trying to load the dump.

Differential Revision: https://phabricator.services.mozilla.com/D7889

--HG--
extra : moz-landing-system : lando
2018-10-11 13:53:54 +00:00
Mathieu Leplatre
db4631f13b Bug 1497159 - Use Megaphone payload for cache busting r=glasserc
Pass the expected timestamp along in querystring

Differential Revision: https://phabricator.services.mozilla.com/D8002

--HG--
extra : moz-landing-system : lando
2018-10-09 14:05:01 +00:00
Mathieu Leplatre
c8ed5791e4 Bug 1483948 - Upgrade vendored kinto.js to v12.0.0 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D3610

--HG--
extra : moz-landing-system : lando
2018-09-19 10:16:41 +00:00
Mathieu Leplatre
b9a29ce72d Bug 1475487 - Restartless preference change r=Gijs,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D2951

--HG--
extra : moz-landing-system : lando
2018-09-18 06:46:06 +00:00
Mathieu Leplatre
ce3c80f96d Bug 1481348 - Prevent intermittent failures with fake RemoteSettings server r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D3537

--HG--
extra : moz-landing-system : lando
2018-09-04 09:26:11 +00:00
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Mathieu Leplatre
ac50fda66b Bug 1483831 - Add a localFields option r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D3524

--HG--
extra : moz-landing-system : lando
2018-08-16 16:50:07 +00:00
Mathieu Leplatre
299d4c3234 Bug 1471503 - Add ability to remove event listeners r=glasserc
MozReview-Commit-ID: Jovcuz0UgCa

--HG--
extra : rebase_source : 52402e94ed89f439909d3cac2f42a2059a0c4b52
2018-07-27 18:55:37 +02:00
Mathieu Leplatre
7d0021f371 Bug 1469525 - Remove blocklist clients files from profile r=Gijs
MozReview-Commit-ID: Fm5Pegz5LcU

--HG--
extra : rebase_source : 4cf1de6b60399ab5092bf01ab4c64b255fdfb068
2018-08-06 17:34:28 +02:00
Mathieu Leplatre
beee0352c1 Bug 1478336 - Reset sync status when new Remote Settings client is registered r=glasserc
MozReview-Commit-ID: 6lx90PmNRiz

--HG--
extra : rebase_source : 81dfc6ee9a0d9880f68233a17ef3280b0f8c9f32
2018-07-25 17:43:08 +02:00
Mathieu Leplatre
4300c52ada Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : f6932e5c3014ce0bb8e29e08468e4e533130273e
2018-06-14 20:54:19 +02:00
Noemi Erli
d218f98059 Backed out changeset 101f97abc1d4 (bug 1458917) for Talos failures on a CLOSED TREE 2018-07-11 05:11:11 +03:00
Mathieu Leplatre
068afbc416 Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : 171ed0ff11e2b60a17055412c64584dfe5ab90d5
2018-06-14 20:54:19 +02:00
Margareta Eliza Balazs
b7abfb1fa3 Backed out changeset 9aa9b21d0108 (bug 1458917) for android reftest failures @ mozilla::net::nsSocketTransport::InitiateSocket on a CLOSED TREE 2018-06-28 15:47:07 +03:00
Mathieu Leplatre
028d1b3c75 Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : 772245debd83d36396b8f37de5374af44908079b
2018-06-14 20:54:19 +02:00
Dorel Luca
cb4cac9822 Backed out changeset 23948209664a (bug 1458917) for Eslint failure and reftest crashes. CLOSED TREE 2018-06-27 17:48:57 +03:00
Mathieu Leplatre
ecf7e33ee7 Bug 1458917 - Register dedicated timer for Remote Settings r=Gijs
MozReview-Commit-ID: K5Rf1McJUHy

--HG--
extra : rebase_source : fd52d047a5355b3b454bf4171402b949b8e084e3
2018-06-14 20:54:19 +02:00
Mathieu Leplatre
5b0728e07a Bug 1453692 - Add RemoteSettings inspect() method r=Gijs
MozReview-Commit-ID: FRHvXnGzBq0

--HG--
extra : rebase_source : d33911689d1a8e0c9aa4eb5fbcf2a9dc946f6ed7
2018-06-08 17:08:33 +02:00
Ethan Glasser-Camp
5c4b4a744b Bug 1440022: hook up remote-settings to broadcast messages r=lina
MozReview-Commit-ID: 3TYBqH94rSD

--HG--
extra : rebase_source : a529993dd94eca2f66566892839c64a4a9bcfb8f
2018-05-08 11:53:06 -04:00
Mathieu Leplatre
c49986bc8b Bug 1464346 - Skip RemoteSettings changes that were already processed r=mgoodwin
MozReview-Commit-ID: FBe7JLwA0ld

--HG--
extra : rebase_source : 53b315b926d642810af92226206dd196d479c08d
2018-05-28 16:21:09 +02:00
Bogdan Tara
3719c11a02 Backed out 4 changesets (bug 1440022) for nsSocketTransport crashes when trying to access the internet CLOSED TREE
Backed out changeset 9fa127e6df56 (bug 1440022)
Backed out changeset 4f84a6745a51 (bug 1440022)
Backed out changeset 00cf71bb3861 (bug 1440022)
Backed out changeset b7d5b0db60ad (bug 1440022)
2018-06-11 22:17:53 +03:00
Ethan Glasser-Camp
373f29fd9d Bug 1440022: hook up remote-settings to broadcast messages r=lina
MozReview-Commit-ID: 3TYBqH94rSD

--HG--
extra : rebase_source : 64da9efe122bae6225bdb66e087ef234b8c2ce3c
2018-05-08 11:53:06 -04:00
Kris Maglione
7b7264f453 Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
MozReview-Commit-ID: 9APGewiDDYB

--HG--
extra : rebase_source : 2931dd0eec0e4206414b698a9700fc20d922eb3a
2018-05-25 17:02:29 -07:00
Mathieu Leplatre
e7002517a5 Bug 1397061 - Adjust clock skew according to CDN cache age r=mgoodwin
MozReview-Commit-ID: 9HPiNIp8bJM

--HG--
extra : rebase_source : 1e19a75e1dd5aa7752d511fcf3256e460dbd9e55
2018-05-30 23:26:59 +02:00
shindli
be67d85ff3 Backed out changeset 633f31aef218 (bug 1397061) for X clock skew failures on a CLOSED TREE
--HG--
extra : amend_source : 35f9bce724859e13d4d514560440c6a12b04ee2c
2018-06-06 18:33:35 +03:00
Mathieu Leplatre
dd30c35e2c Bug 1397061 - Adjust clock skew according to CDN cache age r=mgoodwin
MozReview-Commit-ID: 9HPiNIp8bJM

--HG--
extra : rebase_source : c01ec8c17034a8173c46e9507613b88df65e47ba
2018-05-30 23:26:59 +02:00
Mathieu Leplatre
1d0866780c Bug 1454970 - Decouple Remote Settings synchronization from initialization order r=glasserc,mgoodwin
MozReview-Commit-ID: LSwFflrFBMn

--HG--
extra : rebase_source : f9a11de0976c872136cdd11261500cd2f601e0d9
2018-05-24 23:55:23 +02:00
Dorel Luca
aa3639e57e Backed out changeset eadf17764c12 (bug 1454970) for XPCShell Failure on services/settings/test/unit/test_remote_settings_poll.js. CLOSED TREE 2018-06-05 02:32:32 +03:00
Mathieu Leplatre
da2ef1eb06 Bug 1454970 - Decouple Remote Settings synchronization from initialization order r=glasserc,mgoodwin
MozReview-Commit-ID: LSwFflrFBMn

--HG--
extra : rebase_source : 2d761d915ce55432f073dcae59483826ce139ce1
2018-05-24 23:55:23 +02:00
Mathieu Leplatre
d3baae5bb1 Bug 1463750 - Move RemoteSettings to services/settings/ r=mgoodwin
MozReview-Commit-ID: 7IwUysPBHZu

--HG--
rename : services/common/remote-settings.js => services/settings/remote-settings.js
rename : services/common/tests/unit/test_remote_settings.js => services/settings/test/unit/test_remote_settings.js
rename : services/common/tests/unit/test_remote_settings_jexl_filters.js => services/settings/test/unit/test_remote_settings_jexl_filters.js
rename : services/common/tests/unit/test_remote_settings_poll.js => services/settings/test/unit/test_remote_settings_poll.js
extra : rebase_source : 1940db50b675c935ff3a01b4e6ec99b0fc98df00
2018-05-24 15:32:40 +02:00
Csoregi Natalia
0301ddcd57 Backed out changeset 750295aad764 (bug 1463750) for xpcshell failures on Android on security/manager/ssl/tests/unit/test_cert_blocklist.js. CLOSED TREE
--HG--
rename : services/settings/remote-settings.js => services/common/remote-settings.js
rename : services/settings/test/unit/test_remote_settings.js => services/common/tests/unit/test_remote_settings.js
rename : services/settings/test/unit/test_remote_settings_jexl_filters.js => services/common/tests/unit/test_remote_settings_jexl_filters.js
rename : services/settings/test/unit/test_remote_settings_poll.js => services/common/tests/unit/test_remote_settings_poll.js
2018-06-02 04:15:12 +03:00
Mathieu Leplatre
5d67782ca2 Bug 1463750 - Move RemoteSettings to services/settings/ r=mgoodwin
MozReview-Commit-ID: 7IwUysPBHZu

--HG--
rename : services/common/remote-settings.js => services/settings/remote-settings.js
rename : services/common/tests/unit/test_remote_settings.js => services/settings/test/unit/test_remote_settings.js
rename : services/common/tests/unit/test_remote_settings_jexl_filters.js => services/settings/test/unit/test_remote_settings_jexl_filters.js
rename : services/common/tests/unit/test_remote_settings_poll.js => services/settings/test/unit/test_remote_settings_poll.js
extra : rebase_source : 19384aaa4f1598bccdb856d164a96b66d36d1a39
2018-05-24 15:32:40 +02:00