Commit Graph

523 Commits

Author SHA1 Message Date
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
Jan-Erik Rediger
50555e7773 Bug 1468761 - Migrate external Telemetry tests to handle packed histograms r=chutten
Depends on D9236

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

--HG--
extra : moz-landing-system : lando
2018-11-01 13:46:59 +00:00
Mathieu Leplatre
cf4f74d9bf Bug 1486980 - Fetch tippytop collection in one bulk with getAll() r=asuth,nanj
Iterating an IDB cursor generates a lot of overhead. In this patch, we upgrade the kinto-offline to its latest version that uses `getAll()` when no filter is specified. We leverage this change in tippytop, by omitting the filter and filtering the whole list there instead. This allowed us to go from ~1sec on a 1000 entries to ~70ms.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 17:02:24 +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
Sebastian Hengst
d34c7d9a48 Bug 1490322 - Use new "Toolkit :: Blocklist Implementation" bugzilla component as default for blocklist related files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5570

--HG--
extra : moz-landing-system : lando
2018-09-11 19:25:55 +00:00
Dipen Patel
aeed887ff8 Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=Gijs,snorp,jcj,mcmanus,sfraser,keeler,baku,ato
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

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

--HG--
extra : moz-landing-system : lando
2018-09-11 00:07:30 +00:00
Csoregi Natalia
0400fe7b57 Backed out changeset bd8baf88f373 (bug 1468222) for test_security-info-parser.js failures. CLOSED TREE 2018-09-08 03:16:25 +03:00
Dipen Patel
0679e09a9a Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=snorp,ato,sfraser,keeler,baku,mcmanus,Gijs
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:50:17 +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
Kris Maglione
3a5c05e76f Bug 1484496: Part 5e - Convert remaining nsISimpleEnumerator users to use JS iteration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3733

--HG--
extra : rebase_source : c0fac176d7b3d840c4dbb14f8d95ccfc7f83a5a8
extra : histedit_source : a92c40117d0808a3ad68c972f622a7a42c9ae8ba
2018-08-18 18:13:14 -07:00
Kris Maglione
c50886cf4e Bug 1480327: Part 2 - Modernize what's left of Log.jsm a bit. r=Mossop
MozReview-Commit-ID: H06rpiZuIEF

--HG--
extra : rebase_source : e10781ffdfaa264370ca95a720298dc3607a079b
2018-08-01 23:23:34 -07:00
Kris Maglione
bf729d7e98 Bug 1480327: Part 1 - Get rid of most of Log.jsm. r=Mossop
MozReview-Commit-ID: JVKJtkLhCDS

--HG--
extra : rebase_source : 8b47dbfaa6f279901b99c93c26eee27f719b1d1d
2018-08-01 23:41:01 -07: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
ee7030befa Bug 1471901 - Allow synchronization of custom record IDs in RemoteSettings r=florian
MozReview-Commit-ID: 5LjcZ7Xjjxi

--HG--
extra : rebase_source : a3969670d7d78493e6cc00ca05a4e0668de23f65
2018-07-11 14:50:47 +02:00
Coroiu Cristina
f36bfa8405 Backed out changeset a97d964a2157 (bug 1471901) for xpcshell failures at services/common/tests/unit/test_blocklist_certificates.js on a CLOSED TREE 2018-07-12 14:52:56 +03:00
Mathieu Leplatre
16b4b5172c Bug 1471901 - Allow synchronization of custom record IDs in RemoteSettings r=florian
MozReview-Commit-ID: 5LjcZ7Xjjxi

--HG--
extra : rebase_source : 5e51abfaba7908c977d2f82e6e5b94ebf21d758c
2018-07-11 14:50:47 +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
Pavan Veginati
36621c7632 Bug 1470034 - Remove x-client-state and hawk auth header trace logs. r=markh
MozReview-Commit-ID: GJeLlJ3HajP

--HG--
extra : rebase_source : 00ae3f991478408ca2904e56290350b77c4dce7c
2018-06-29 23:54:15 +05:30
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
Kris Maglione
1cd42622dd Bug 1464548: Fix linux32 xpcshell bustage. r=bustage
--HG--
extra : rebase_source : 2b2b530fad43fe9d340c75437fca39475e2f108f
2018-06-07 18:24:57 -07: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
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
Coroiu Cristina
02de96494b Backed out changeset b9bf5db54805 (bug 1463750) for ESlint failure at test_remote_settings.js on a 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-05-31 04:48:38 +03:00
Mathieu Leplatre
af1ced8604 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 : 67b2fdbf7b4230ba9e9858ea7a0409a6f4d5ec75
2018-05-24 15:32:40 +02:00
Mathieu Leplatre
879ca70d0f Bug 1464798 - RemoteSettings should lookup same JEXL field as Normandy r=mythmon
MozReview-Commit-ID: I84nrAG278k

--HG--
extra : rebase_source : ad40e47310e04a67acfe5e9a080887cb2a830a1a
2018-05-28 13:45:27 +02:00
Carol Ng
eaa5aa23b5 Bug 1435000 - Refactor client engine queue to use AsyncQueueCaller r=eoger
MozReview-Commit-ID: JRWHktfqGMQ

--HG--
extra : rebase_source : ac39e2ff9fb1aa2bc10504aad5f018114902145e
2018-05-29 14:30:22 -04:00
Mathieu Leplatre
868b5e43db Bug 1460525 - Execute every Remote Settings event listeners when one fails r=mgoodwin
MozReview-Commit-ID: KOqESGbzapC

--HG--
extra : rebase_source : 997be7ca098703044716db5553f34a55163c8384
2018-05-28 16:10:27 +02:00
Mathieu Leplatre
e2fc12b175 Bug 1464006 - Move Normandy FilterExpressions to toolkit/components/utils r=mythmon
MozReview-Commit-ID: 98SsHd2jZi8

--HG--
rename : toolkit/components/normandy/lib/FilterExpressions.jsm => toolkit/components/utils/FilterExpressions.jsm
rename : toolkit/components/normandy/lib/PreferenceFilters.jsm => toolkit/components/utils/PreferenceFilters.jsm
rename : toolkit/components/normandy/lib/Sampling.jsm => toolkit/components/utils/Sampling.jsm
rename : toolkit/components/normandy/vendor/mozjexl.js => toolkit/components/utils/mozjexl.js
rename : toolkit/components/normandy/test/browser/browser_FilterExpressions.js => toolkit/components/utils/test/unit/test_FilterExpressions.js
rename : toolkit/components/normandy/test/unit/test_Sampling.js => toolkit/components/utils/test/unit/test_Sampling.js
extra : rebase_source : 6d767860b0ec7fc328d7589aba5f31b0337bbe5b
2018-05-24 10:48:00 +02:00
Carol Ng
ac0db61cc2 Bug 694735 - Change default Accept header to json in Sync API requests r=eoger
--HG--
extra : rebase_source : 5ac59d2cfcae572a1c971bd2164f03f567c5f39a
2018-05-24 15:04:11 -04:00
Gijs Kruitbosch
286e8f602d Bug 1463782 - allow toolkit apps in kinto blocklist, r=leplatrem
MozReview-Commit-ID: G1uqNw1Njni

--HG--
extra : rebase_source : 31637d596df1a9e85d0f21cfaced08508139037b
2018-05-23 18:01:36 +01:00
Mark Banner
127c1ce9e9 Bug 1463499 - Enable ESLint rule require-expected-throws-or-rejects for services/. r=markh
MozReview-Commit-ID: LBGpRrw3zTx

--HG--
extra : rebase_source : 28353d39dd495114d987df36fd0ea1bd10ede1a3
2018-05-16 19:06:24 +01:00
Mathieu Leplatre
62ab89f1ab Bug 1451031 - Add JEXL filter support in Remote Settings r=mythmon
MozReview-Commit-ID: DwVdW1G3yZG

--HG--
extra : rebase_source : e030d29b915de8a1cbaa6f11f70231d1015febdf
2018-05-11 17:09:44 +02:00
Cosmin Sabou
a6fd990875 Backed out changeset 2dc86982439a (bug 1451031) for xpcshell failures on services/common/tests/unit/test_blocklist_clients.js. 2018-05-22 19:51:34 +03:00
Mathieu Leplatre
8bddf3d2c9 Bug 1451031 - Add JEXL filter support in Remote Settings r=mythmon
MozReview-Commit-ID: DwVdW1G3yZG

--HG--
extra : rebase_source : 19e17e2af94afda999e557e89b786f7049a1fdc6
2018-05-11 17:09:44 +02:00
Mathieu Leplatre
12404fede5 Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs
MozReview-Commit-ID: FwD92fataAy

--HG--
rename : services/blocklists/addons.json => services/settings/dumps/blocklists/addons.json
rename : services/blocklists/certificates.json => services/settings/dumps/blocklists/certificates.json
rename : services/blocklists/gfx.json => services/settings/dumps/blocklists/gfx.json
rename : services/blocklists/plugins.json => services/settings/dumps/blocklists/plugins.json
rename : services/blocklists/moz.build => services/settings/dumps/moz.build
rename : services/blocklists/pins.json => services/settings/dumps/pinning/pins.json
rename : services/blocklists/readme.md => services/settings/dumps/readme.md
extra : rebase_source : f659d946227db7b4266202283f44c1b3eadf53f1
2018-05-10 15:27:21 +02:00
Margareta Eliza Balazs
895a18e365 Backed out changeset be23dc007b53 (bug 1451050) for bustage [automation/package] Error 2 on a CLOSED TREE
--HG--
rename : services/settings/dumps/blocklists/addons.json => services/blocklists/addons.json
rename : services/settings/dumps/blocklists/certificates.json => services/blocklists/certificates.json
rename : services/settings/dumps/blocklists/gfx.json => services/blocklists/gfx.json
rename : services/settings/dumps/moz.build => services/blocklists/moz.build
rename : services/settings/dumps/pinning/pins.json => services/blocklists/pins.json
rename : services/settings/dumps/blocklists/plugins.json => services/blocklists/plugins.json
rename : services/settings/dumps/readme.md => services/blocklists/readme.md
2018-05-16 13:24:53 +03:00
Mathieu Leplatre
be075da5f4 Bug 1451050 - Generalize loading of packaged remote settings dumps r=Gijs
MozReview-Commit-ID: FwD92fataAy

--HG--
rename : services/blocklists/addons.json => services/settings/dumps/blocklists/addons.json
rename : services/blocklists/certificates.json => services/settings/dumps/blocklists/certificates.json
rename : services/blocklists/gfx.json => services/settings/dumps/blocklists/gfx.json
rename : services/blocklists/plugins.json => services/settings/dumps/blocklists/plugins.json
rename : services/blocklists/moz.build => services/settings/dumps/moz.build
rename : services/blocklists/pins.json => services/settings/dumps/pinning/pins.json
rename : services/blocklists/readme.md => services/settings/dumps/readme.md
extra : rebase_source : 9aa249dae91408da483be23371f6f106ad6a47ca
2018-05-10 15:27:21 +02:00
Mathieu Leplatre
2136d2066e Bug 1458920 - Filter RemoteSettings sync event data r=Gijs,mgoodwin
MozReview-Commit-ID: Hw9CA5W2J26

--HG--
extra : rebase_source : 689aae16d007c19f1d9c73c3be95bd5618b0fe36
2018-05-08 16:30:40 +02:00
Mathieu Leplatre
6e44c0840d Bug 1458920 - Add RemoteSettings custom filtering function r=Gijs
MozReview-Commit-ID: 1fxfg1MRww3

--HG--
extra : rebase_source : d2aba30ca2d5787d9fbf75c53ab299b71cea844a
2018-05-09 22:53:04 +02:00