Граф коммитов

83 Коммитов

Автор SHA1 Сообщение Дата
Coroiu Cristina 6e3840ddec Backed out changeset 7aa8180f36eb (bug 1563180) for ESlint failure 2019-07-06 19:43:30 +03:00
Mathieu Leplatre 4039e268d2 Bug 1563180 - Prevent synchronization to be ran in parallel multiple times r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D36921

--HG--
extra : moz-landing-system : lando
2019-07-06 16:05:12 +00:00
Victor Porof 9d673f1f0f Bug 1561435 - Format services/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 073567e8ded785e46382ba7e402d8da939a69d7b
2019-07-05 10:58:22 +02:00
Mathieu Leplatre 56afa0ab7c Bug 1559514 - Emit sync event when up-to-date if JSON dump is loaded r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D35240

--HG--
extra : moz-landing-system : lando
2019-07-04 15:15:48 +00:00
Mathieu Leplatre 3e347218c9 Bug 1560451 - Fix duplicates in list of created on sync event r=glasserc
Depends on D36171

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:40:24 +00:00
Mathieu Leplatre 0cf601cfff Bug 1559158 - Improve performance of sync for large collections r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D36171

--HG--
extra : moz-landing-system : lando
2019-06-27 13:25:57 +00:00
Noemi Erli 2e091fbe26 Backed out 2 changesets (bug 1559514) for failures in browser_CTP_plugins.js CLOSED TREE
Backed out changeset 157999f49345 (bug 1559514)
Backed out changeset f31cd670c9ac (bug 1559514)
2019-06-21 02:00:18 +03:00
Mathieu Leplatre 4fcd8eaee9 Bug 1559514 - Emit sync event when up-to-date if JSON dump is loaded r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D35240

--HG--
extra : moz-landing-system : lando
2019-06-20 19:02:31 +00:00
Mathieu Leplatre 5a828c9d6d Bug 1559514 - Emit sync event when JSON dump is loaded from .get() r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D35239

--HG--
extra : moz-landing-system : lando
2019-06-20 20:45:55 +00:00
Mathieu Leplatre 94be713565 Bug 1558812 - Upgrade kinto-offline-client to 12.4.3 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D34715

--HG--
extra : moz-landing-system : lando
2019-06-12 14:20:59 +00:00
Mathieu Leplatre 80c3d0b5ca Bug 1553831 - Fetch metadata on sync even if local data is up-to-date r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32769

--HG--
extra : moz-landing-system : lando
2019-06-03 10:02:13 +00:00
Mathieu Leplatre 921d7af3d5 Bug 1553831 - Minor cleanups in Remote Settings client r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32768

--HG--
extra : moz-landing-system : lando
2019-06-03 09:59:29 +00:00
Dorel Luca 5e31d37927 Backed out 2 changesets (bug 1553831) for XPCshell failure in services/settings/test/unit/test_remote_settings.js
Backed out changeset d03a51956262 (bug 1553831)
Backed out changeset 4f62dfaee27f (bug 1553831)
2019-05-31 14:43:50 +03:00
Mathieu Leplatre 365261e7d6 Bug 1553995 - Remote Settings should not throw with dummy server r=glasserc,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D32549

--HG--
extra : moz-landing-system : lando
2019-05-31 09:53:05 +00:00
Mathieu Leplatre f4957e385f Bug 1553831 - Fetch metadata on sync even if local data is up-to-date r=glasserc
Depends on D32768

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

--HG--
extra : moz-landing-system : lando
2019-05-30 19:48:49 +00:00
Mathieu Leplatre 13c9f8aeb9 Bug 1553831 - Minor cleanups in Remote Settings client r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32768

--HG--
extra : moz-landing-system : lando
2019-05-28 13:58:29 +00:00
Mathieu Leplatre 9871d095db Bug 1554178 - Disable events sampling for uptake telemetry tests r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32484

--HG--
extra : moz-landing-system : lando
2019-05-27 07:35:45 +00:00
Narcis Beleuzu b9bb66c9e0 Backed out changeset 204c7f42d427 (bug 1554178) for xpcshell failures on test_remote_settings.js . CLOSED TREE 2019-05-25 02:41:41 +03:00
Mathieu Leplatre daebd4816c Bug 1554178 - Disable events sampling for uptake telemetry tests r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32484

--HG--
extra : moz-landing-system : lando
2019-05-24 16:23:31 +00:00
Mathieu Leplatre a93a98c46e Bug 1552199 - Include records from dump in Remote Settings sync event created data r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D31599

--HG--
extra : moz-landing-system : lando
2019-05-21 07:38:29 +00:00
Bogdan Tara 2c823b0508 Backed out changeset 6519e3500428 (bug 1552199) for test_remote_settings.js failures 2019-05-20 18:55:30 +03:00
Mathieu Leplatre 0c8c03610c Bug 1552199 - Include records from dump in Remote Settings sync event created data r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D31599

--HG--
extra : moz-landing-system : lando
2019-05-20 14:34:10 +00:00
Mathieu Leplatre 64e548abb4 Bug 1549730 - Add guardrails for Remote Settings preferences r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D31043

--HG--
extra : moz-landing-system : lando
2019-05-14 20:45:03 +00:00
Mathieu Leplatre 78ecdc82c5 Bug 1546912 - Dedicated signature tests for Remote Settings r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D30650

--HG--
rename : services/common/tests/moz.build => services/settings/test/unit/moz.build
rename : services/common/tests/unit/test_blocklist_signatures.js => services/settings/test/unit/test_remote_settings_signatures.js
rename : services/common/tests/unit/test_blocklist_signatures/collection_signing_ee.pem.certspec => services/settings/test/unit/test_remote_settings_signatures/collection_signing_ee.pem.certspec
rename : services/common/tests/unit/test_blocklist_signatures/collection_signing_int.pem.certspec => services/settings/test/unit/test_remote_settings_signatures/collection_signing_int.pem.certspec
rename : services/common/tests/unit/test_blocklist_signatures/collection_signing_root.pem.certspec => services/settings/test/unit/test_remote_settings_signatures/collection_signing_root.pem.certspec
rename : services/common/tests/unit/test_blocklist_signatures/moz.build => services/settings/test/unit/test_remote_settings_signatures/moz.build
extra : moz-landing-system : lando
2019-05-13 17:04:26 +00:00
Mathieu Leplatre 1b7f443dab Bug 1547995 - Add option to Remote Settings get() to verify signatures on read r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D30357

--HG--
extra : moz-landing-system : lando
2019-05-13 09:31:18 +00:00
Mathieu Leplatre 268d77c37f Bug 1547995 - Upgrade kinto-offline-client.js to v12.4.0 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D30356

--HG--
extra : moz-landing-system : lando
2019-05-13 09:30:54 +00:00
Narcis Beleuzu 035ea12dc3 Backed out 2 changesets (bug 1547995) for xpcshell failures on /test_remote_settings.js . CLOSED TREE
Backed out changeset 0bcfcc0bbc65 (bug 1547995)
Backed out changeset 411f5783f046 (bug 1547995)
2019-05-12 14:18:35 +03:00
Mathieu Leplatre ef330e79c1 Bug 1547995 - Add option to Remote Settings get() to verify signatures on read r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D30357

--HG--
extra : moz-landing-system : lando
2019-05-09 16:38:57 +00:00
Mathieu Leplatre 62f3958c34 Bug 1547995 - Upgrade kinto-offline-client.js to v12.4.0 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D30356

--HG--
extra : moz-landing-system : lando
2019-05-09 16:38:56 +00:00
Mathieu Leplatre a66d81bdb1 Bug 1501214 - Reusable helper to download Remote Settings attachments r=nanj,glasserc,Gijs
Reusable helper to download Remote Settings attachments

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

--HG--
extra : moz-landing-system : lando
2019-05-10 22:57:40 +00:00
Andreea Pavel 67007aabfa Backed out changeset 7e1942ace2b2 (bug 1501214) for failing test_attachments_downloader.js on a CLOSED TREE 2019-05-08 21:12:06 +03:00
Mathieu Leplatre 54094a0078 Bug 1501214 - Reusable helper to download Remote Settings attachments r=nanj,glasserc,Gijs
Reusable helper to download Remote Settings attachments

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

--HG--
extra : moz-landing-system : lando
2019-05-08 16:18:07 +00:00
Mathieu Leplatre 3f60f66f05 Bug 1547994 - Remove preference that can disable Remote Settings signature verification r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D29656

--HG--
extra : moz-landing-system : lando
2019-05-07 14:16:22 +00:00
Mathieu Leplatre 7cedc72b0d Bug 1539452 - Use TelemetryTestUtils.assertEvents() in Remote Settings tests r=glasserc
Use TelemetryTestUtils.assertEvents() in Remote Settings tests

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

--HG--
extra : moz-landing-system : lando
2019-04-11 18:39:52 +00:00
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
Mark Banner dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +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 742e5c134a Bug 1530346 - Upgrade kinto-offline-client and report IndexedDB errors properly r=glasserc
- Upgrade kinto-offline-client to v12.3.0
- Make sure IndexedDB errors are not reported as unknown errors

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

--HG--
extra : moz-landing-system : lando
2019-02-26 16:15:05 +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 7007063816 Bug 1528704 - Add option to disable sync on RemoteSettings().get() r=glasserc
Add option to disable sync on RemoteSettings().get()

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

--HG--
extra : moz-landing-system : lando
2019-02-20 15:15:00 +00:00
Mathieu Leplatre 6192972883 Bug 1528979 - Fix loading of empty JSON dump in Remote Settings r=glasserc
Fix loading of empty JSON dump

Storing an empty JSON dump should prevent .get() to initiate a sync.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 16:41:20 +00:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +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
Jason Orendorff 4499193a01 Backed out 2 changesets (bug 1488417, bug 1259822) for web compat issues.
Backed out changeset b58b7cd29a0b (bug 1488417)
Backed out changeset f0c6e521429c (bug 1259822)

--HG--
extra : rebase_source : 8c06ed65ee33eddad7131694beb9740abeca82cb
2018-12-10 10:47:47 -06: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 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