Commit Graph

553 Commits

Author SHA1 Message Date
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