Commit Graph

618 Commits

Author SHA1 Message Date
Barret Rennie
48cd738b02 Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26593

--HG--
extra : moz-landing-system : lando
2019-04-15 19:26:18 +00:00
Barret Rennie
7df18942bd Bug 1536170 - Add unit tests for Async.yieldingForEach() r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26592

--HG--
extra : moz-landing-system : lando
2019-04-15 19:26:16 +00:00
Barret Rennie
46fd11fd0d Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.

Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:

* `Async.yieldingIterator`, which has been rewritten to not create extraneous
  promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
  `Async.jankYielder` in a loop. Instead, it accepts the loop body as a
  function.

Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 03:00:35 +00:00
Csoregi Natalia
7af4153e81 Backed out 3 changesets (bug 1536170) for xpcshell failures on test_bookmark_repair.js. CLOSED TREE
Backed out changeset e41b319d7243 (bug 1536170)
Backed out changeset 0d8c58e90773 (bug 1536170)
Backed out changeset 19c23f03b471 (bug 1536170)
2019-04-13 00:39:14 +03:00
Barret Rennie
f584c090db Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26593

--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:26 +00:00
Barret Rennie
72551e1659 Bug 1536170 - Add unit tests for Async.yieldingForEach() r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26592

--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:08 +00:00
Barret Rennie
27e15849d2 Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.

Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:

* `Async.yieldingIterator`, which has been rewritten to not create extraneous
  promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
  `Async.jankYielder` in a loop. Instead, it accepts the loop body as a
  function.

Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 19:07:00 +00:00
Noemi Erli
aa44fadac3 Backed out 3 changesets (bug 1536170) for xpcshell failures in test_bookmark_duping.js CLOSED TREE
Backed out changeset 57c26f8e0bf7 (bug 1536170)
Backed out changeset ccea2e827d9d (bug 1536170)
Backed out changeset 51a67bffd7d2 (bug 1536170)
2019-04-11 23:05:24 +03:00
Barret Rennie
1a53df3674 Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26593

--HG--
extra : moz-landing-system : lando
2019-04-11 18:40:02 +00:00
Barret Rennie
82b99337ac Bug 1536170 - Add unit tests for Async.yieldingForEach() r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26592

--HG--
extra : moz-landing-system : lando
2019-04-11 18:39:54 +00:00
Barret Rennie
e46873db47 Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.

Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:

* `Async.yieldingIterator`, which has been rewritten to not create extraneous
  promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
  `Async.jankYielder` in a loop. Instead, it accepts the loop body as a
  function.

Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 18:39:43 +00:00
Dana Keeler
a483dcca02 Bug 1539415 - make nsICertStorage (cert_storage) asynchronous for functions called from the main thread r=jcj,mgoodwin
The Set* functions of nsICertStorage (SetRevocationByIssuerAndSerial,
SetRevocationBySubjectAndPubKey, SetEnrollment, and SetWhitelist) are called on
the main thread by the implementations that manage consuming remote security
information. We don't want to block the main thread, so this patch modifies
these functions to take a callback that will be called (on the original thread)
when the operation in question has been completed on a background thread.

The Get* functions of nsICertStorage (GetRevocationState, GetEnrollmentState,
and GetWhitelistState) should only be called off the main thread. For the most
part they are, but there are at least two main-thread certificate verifications
that can cause these functions to be called on the main thread. These instances
are in nsSiteSecurityService::ProcessPKPHeader and
ContentSignatureVerifier::CreateContextInternal and will be dealt with in
bug 1406854 bug 1534600, respectively.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 23:24:19 +00:00
Jan-Erik Rediger
6bc73bc6a2 Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS everywhere r=chutten
Depends on D25934

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:12:11 +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
f12d23ae3d Bug 1539101 - Force extra values to be strings in Uptake Telemetry r=glasserc
Force extra values to be strings in Uptake Telemetry

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

--HG--
extra : moz-landing-system : lando
2019-03-27 14:17:49 +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
Mark Goodwin
50887394d6 Bug 1429796 Cleanup storage in CertBlocklist to allow easy addition of new types of pair (e.g. whitelist entries) r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D17668

--HG--
extra : moz-landing-system : lando
2019-03-20 17:00:47 +00:00
Andreea Pavel
c3cd918c5c Backed out 2 changesets (bug 1429796) for failing xperf on a CLOSED TREE
Backed out changeset b0d08863f7a5 (bug 1429796)
Backed out changeset 1bd54f8dfd9e (bug 1429796)
2019-03-20 00:03:49 +02:00
Mark Goodwin
59e0c373c3 Bug 1429796 Cleanup storage in CertBlocklist to allow easy addition of new types of pair (e.g. whitelist entries) r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D17668

--HG--
extra : moz-landing-system : lando
2019-03-19 17:48:04 +00:00
Edouard Oger
d391c790bc Bug 1532514 - Update sinon to v7.2.7. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D22046

--HG--
extra : moz-landing-system : lando
2019-03-12 19:32:40 +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
Dorel Luca
eb794cd9b8 Backed out changeset 4b280518c7b1 (bug 1532514) for Browser-chrome failures in browser/components/syncedtabs/test/browser/browser_sidebar_syncedtabslist.js. CLOSED TREE 2019-03-12 03:59:56 +02:00
Edouard Oger
565385661c Bug 1532514 - Update sinon to v7.2.7. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D22046

--HG--
extra : moz-landing-system : lando
2019-03-12 00:18:16 +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
Dana Keeler
42d436a5eb bug 1531928 - remove unnecessary use of nsIBadCertListener2 in RESTRequest r=lina
RESTRequest's use of nsIBadCertListener2 does nothing at this point.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 22:18:04 +00:00
Marco Bonardo
5c4e44ce0a Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D20753

--HG--
extra : moz-landing-system : lando
2019-02-28 08:39:33 +00:00
Jonathan Kingston
f6680698bd Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881

--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Jonathan Kingston
dd4c731d8c Bug 1525319 - Changing js to remove context from onStartRequest and onStopRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20771

--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:54 +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
Dorel Luca
4a4dcd57fa Backed out 4 changesets (bug 1525319) for Android failures in dom/base/test/test_progress_events_for_gzip_data.html
Backed out changeset b73f033efb41 (bug 1525319)
Backed out changeset 1d318d5c6b98 (bug 1525319)
Backed out changeset 6d73418988d4 (bug 1525319)
Backed out changeset 84ca79bd2dc3 (bug 1525319)
2019-02-25 04:06:11 +02:00
Jonathan Kingston
63ab2bd8aa Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881

--HG--
extra : moz-landing-system : lando
2019-02-24 20:27:55 +00:00
Jonathan Kingston
147e351e0b Bug 1525319 - Changing js to remove context from onStartRequest and onStopRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20771

--HG--
extra : moz-landing-system : lando
2019-02-25 00:07:42 +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
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
Jonathan Kingston
3421b8fcff Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin
Replacing js and text occurences of asyncOpen2
Replacing open2 with open

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

--HG--
rename : layout/style/test/test_asyncopen2.html => layout/style/test/test_asyncopen.html
extra : moz-landing-system : lando
2019-02-12 16:08:25 +00:00
J.C. Jones
21080eeacd Bug 1404934 - Wire-up Intermediate Preloading r=keeler
This patch:

* Classifies RemoteSecuritySettings as production.
* Add detailed logging controlled by the browser.policies.loglevel pref.
* Generally make RemoteSecuritySettings match other services better.
* Move to hex-encoded hashes to match Kinto.
* Adds RemoteSecuritySettings to blocklist-clients. This may not be the
  permanent home.
* Adds a preference for how many certs to download at once.
* Adds an Observer interface.

    (This makes the tests more predictable, but it also avoids having a
    duplicate call when the full "sync" is called.)

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

--HG--
extra : moz-landing-system : lando
2019-02-08 00:08:54 +00:00
Mathieu Leplatre
0f39fbecd3 Bug 1525253 - Document how to unit test Remote Settings r=glasserc
Document how to unit test Remote Settings

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

--HG--
extra : moz-landing-system : lando
2019-02-07 20:25:47 +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
Edouard Oger
f35506cf5d Bug 1518300 - Refactor CryptoUtils and add JWK/JWE methods to jwcrypto. r=rfkelly,tjr
Differential Revision: https://phabricator.services.mozilla.com/D15868

--HG--
extra : moz-landing-system : lando
2019-01-18 20:58:42 +00: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
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
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
Jan-Erik Rediger
b07e153ff0 Bug 1498173 - Migrate external tests to changed histogram API r=chutten
Depends on D12557

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

--HG--
extra : moz-landing-system : lando
2018-11-22 23:35:43 +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
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
Mathieu Leplatre
2414383617 Bug 1458920 - Update RemoteSettings documentation r=Gijs
MozReview-Commit-ID: JUKlnwZOIH8

--HG--
extra : rebase_source : 7d98d9c94cde1aab553fd1c6a41d97f28b21b36e
2018-05-07 18:34:58 +02:00
Mathieu Leplatre
377f047761 Bug 1459243 - Always store last check pref in RemoteSettings r=mgoodwin
MozReview-Commit-ID: 2CvYBKoOOaE

--HG--
extra : rebase_source : d438de6e14e5dc0db34548ba25b82e5e0e9bb5c0
2018-05-09 14:19:02 +02:00
Mathieu Leplatre
5aa6d86d41 Bug 1453690 - Fail nicely when RemoteSetting collection is not signed r=mgoodwin
MozReview-Commit-ID: ESP7GXfmYzU

--HG--
extra : rebase_source : 659f97e6d5317a5662c5d7f09fcf770d5928b444
2018-05-08 18:41:50 +02:00
Mark Banner
2ff4ec85fb Bug 1458235 - Drop cases of Components.stack.caller passed as the msg to Assert.* as it isn't necessary as we already work out the stack correctly for these cases. r=Gijs
MozReview-Commit-ID: BfFIzLr1sXv

--HG--
extra : rebase_source : 7f966ea034f269454a5b6206974734fdce106138
2018-05-04 11:26:59 +01:00
Mathieu Leplatre
4295b31449 Bug 1458827 - Add more information about RemoteSettings for developers r=Gijs,glasserc
MozReview-Commit-ID: 7LEZa6ICBB5

--HG--
extra : rebase_source : 2018f3fc52f1606ee43be8cebb6b072c1091c66f
2018-05-03 18:54:40 +02:00