Commit Graph

6587 Commits

Author SHA1 Message Date
Tooru Fujisawa
be94355f17 Bug 1765319 - Part 4: Stop using global this to access global variable in services/. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D144134
2022-05-13 20:12:27 +00:00
Dana Keeler
351b6fd7fb Bug 1768047 - stop using nsICryptoHMAC in services r=tjr
nsICryptoHMAC is redundant and does its computations on the main thread. JS
code using it should use WebCrypto instead.

Differential Revision: https://phabricator.services.mozilla.com/D145641
2022-05-12 22:24:29 +00:00
Mathieu Leplatre
7529049420 Bug 1767890 - Prevent packaged dump from being loaded r=robwu
Change tests and snippets in documentation to use `Date.now()` instead of an arbitrary number like `42`.
This way, we make sure the packaged dump isn't loaded on top of the tests data. Indeed, since Bug 1718083 we load the packaged dump if it's newer than local data.

Differential Revision: https://phabricator.services.mozilla.com/D145579
2022-05-10 09:51:50 +00:00
ffxbld
8717524b50 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D145877
2022-05-09 13:47:59 +00:00
Mathieu Leplatre
55a0b4f06d Bug 1767458 - Remove performance counters r=gbeckley
Differential Revision: https://phabricator.services.mozilla.com/D145416
2022-05-09 13:21:08 +00:00
Mark Banner
ea89f8460b Bug 1768075 - Stop using the second argument to ChromeUtils.import in kinto-offline-client.js. r=leplatrem
Depends on D145658

Differential Revision: https://phabricator.services.mozilla.com/D145659
2022-05-09 09:42:17 +00:00
Geoff Lankow
df27bbcbfc Bug 1768085 - Point gen_last_modified.py to the right files in Thunderbird builds. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D145678
2022-05-08 22:28:24 +00:00
ffxbld
a5485957a7 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D145585
2022-05-05 12:58:54 +00:00
Mathieu Leplatre
fe9cbc0b10 Bug 1761953 - Prevent deadlock in sync callback when no dump r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D142567
2022-05-05 12:34:35 +00:00
Mathieu Leplatre
a34f322c76 Bug 1718083 - Load dump if newer than local data r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D141955
2022-05-04 10:05:47 +00:00
Cristian Tuns
ffa4c47716 Backed out changeset f691cceafea6 (bug 1718083) for causing mochitest failures in test_autocomplete_autofill_related_realms_no_dupes.html CLOSED TREE 2022-05-03 12:31:24 -04:00
Mathieu Leplatre
1e8942f6d1 Bug 1718083 - Load dump if newer than local data r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D141955
2022-05-03 15:32:48 +00:00
Cristian Tuns
31102d1c1c Backed out changeset 79f782edbda9 (bug 1718083) for causing xpcshell failures in test_supports_filter_expressions CLOSED TREE 2022-05-03 08:06:36 -04:00
Mathieu Leplatre
a7af2dc794 Bug 1718083 - Load dump if newer than local data r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D141955
2022-05-03 11:30:43 +00:00
Tooru Fujisawa
2da8f8d85e Bug 1765167 - Part 11: Stop using Cu.import in services/. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D144104
2022-05-03 06:32:33 +00:00
Butkovits Atila
422f7c4d05 Merge mozilla-central to autoland. CLOSED TREE 2022-05-03 00:51:11 +03:00
Mozilla Releng Treescript
87ecd21d3c Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-05-02 14:42:53 +00:00
ffxbld
dc7cdcb8e8 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D145224
2022-05-02 12:27:06 +00:00
Mathieu Leplatre
0090bdd9bf Bug 1719560 - Collect timestamps for all collections r=robwu
Instead of having complex build scripts that have to introspect which dump is packaged on which platform and in which circumptances, the `last_modified.json` now contains the timestamps of all dumps files present in the source tree.

Depends on D144428

Differential Revision: https://phabricator.services.mozilla.com/D144169
2022-04-29 08:07:26 +00:00
Mathieu Leplatre
04b6b45a7f Bug 1725660 - Include timestamps in packaged dumps r=robwu
Since the dumps don't contain tombstones, this prevents situations where the dump would not be reloaded (with `loadDumpIfNewer`) if the last operation on the collection is a delete.

Differential Revision: https://phabricator.services.mozilla.com/D144428
2022-04-29 08:07:25 +00:00
ffxbld
984056514e No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D144938
2022-04-28 14:40:34 +00:00
Noemi Erli
24d64734ac Backed out 2 changesets (bug 1719560, bug 1725660) for causing build bustages CLOSED TREE
Backed out changeset 63407a7e0e90 (bug 1719560)
Backed out changeset 3c455478efb6 (bug 1725660)
2022-04-28 13:49:54 +03:00
Mathieu Leplatre
4e4cb627e7 Bug 1719560 - Collect timestamps for all collections r=robwu
Instead of having complex build scripts that have to introspect which dump is packaged on which platform and in which circumptances, the `last_modified.json` now contains the timestamps of all dumps files present in the source tree.

Differential Revision: https://phabricator.services.mozilla.com/D144169
2022-04-28 06:21:19 +00:00
Mathieu Leplatre
fb73f4ab3d Bug 1725660 - Include timestamps in packaged dumps r=robwu
Since the dumps don't contain tombstones, this prevents situations where the dump would not be reloaded (with `loadDumpIfNewer`) if the last operation on the collection is a delete.

Differential Revision: https://phabricator.services.mozilla.com/D144428
2022-04-28 06:21:19 +00:00
Butkovits Atila
04a3fefa59 Backed out 2 changesets (bug 1725660, bug 1719560) for causing build bustages. CLOSED TREE
Backed out changeset 6e11829eec98 (bug 1719560)
Backed out changeset 66571899587f (bug 1725660)
2022-04-27 22:59:47 +03:00
Mathieu Leplatre
a1fc30b552 Bug 1719560 - Collect timestamps for all collections r=robwu
Instead of having complex build scripts that have to introspect which dump is packaged on which platform and in which circumptances, the `last_modified.json` now contains the timestamps of all dumps files present in the source tree.

Differential Revision: https://phabricator.services.mozilla.com/D144169
2022-04-27 16:47:25 +00:00
Mathieu Leplatre
10780e5f26 Bug 1725660 - Include timestamps in packaged dumps r=robwu
Since the dumps don't contain tombstones, this prevents situations where the dump would not be reloaded (with `loadDumpIfNewer`) if the last operation on the collection is a delete.

Differential Revision: https://phabricator.services.mozilla.com/D144428
2022-04-27 16:47:24 +00:00
Tooru Fujisawa
d5ccb8ec5f Bug 1766099 - Part 4: Explicitly specify import or imported symbol for importScripts in services/. r=Standard8
Depends on D144673

Differential Revision: https://phabricator.services.mozilla.com/D144674
2022-04-27 11:40:41 +00:00
Mark Banner
5185d87a50 Bug 1766238 - Stop using the target argument for ChromeUtils.import in services. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D144558
2022-04-27 08:38:33 +00:00
Mathieu Leplatre
8262ccf2d5 Bug 1634323 - Document and catch server error on attachment download r=gbeckley
Differential Revision: https://phabricator.services.mozilla.com/D142059
2022-04-26 17:38:43 +00:00
Mark Hammond
236be5487e Bug 1765743 - fix how TPS validates pings. r=LougeniaBailey
Differential Revision: https://phabricator.services.mozilla.com/D144388
2022-04-25 23:51:22 +00:00
ffxbld
328d4f7be2 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D144553
2022-04-25 20:51:16 +00:00
ffxbld
5b92babb0a No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D144275
2022-04-21 11:42:29 +00:00
Mathieu Leplatre
e5519cc11b Bug 1634127 - Download attachments in IndexedDB by default r=necko-reviewers,robwu,dragana
This patch changes the default behaviour of `download()`.

- Previous file-based behaviour was moved to `downloadToDisk()` and `deleteFromDisk()`. Existing consumers were migrated to avoid behaviour change.
- `download()` has now `{useCache: true}` by default, option was dropped, and `deleteCached()` is now `deleteDownloaded()`

Differential Revision: https://phabricator.services.mozilla.com/D141980
2022-04-20 13:07:50 +00:00
Tarik Eshaq
b022bfa53d Bug 1752609 - Adds autorecovery from outdated sendtab keys. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D139455
2022-04-19 17:04:42 +00:00
Barret Rennie
9f670d6f7f Bug 1762501 - Replace Ajv with JsonSchema.jsm in services/sync r=markh
Differential Revision: https://phabricator.services.mozilla.com/D142879
2022-04-19 16:28:29 +00:00
ffxbld
4d04e703d2 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D143907
2022-04-18 12:07:42 +00:00
ffxbld
af69886f69 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D143703
2022-04-14 12:46:50 +00:00
Marian-Vasile Laza
4d42714957 Backed out changeset c43b947f03b0 (bug 1634127) for causing newtab failures. CLOSED TREE 2022-04-12 05:29:27 -07:00
Mathieu Leplatre
0f0d959c83 Bug 1763622 - Prevent telemetry to be sampled in uptake test r=gbeckley
Since Bug 1620175, we only send telemetry via events, which are sampled in ESR and Release.

When the test suite is ran via a *Beta-as-release simulation*, the telemetry is sampled and tests fail.
This patch fixes the failing test by forcing it to run as the Nightly channel

Differential Revision: https://phabricator.services.mozilla.com/D143191
2022-04-12 11:07:09 +00:00
Mathieu Leplatre
1dec4a6bda Bug 1634127 - Download attachments in IndexedDB by default r=necko-reviewers,robwu,dragana
This patch changes the default behaviour of `download()`.

- Previous file-based behaviour was moved to `downloadToDisk()` and `deleteFromDisk()`. Existing consumers were migrated to avoid behaviour change.
- `download()` has now `{useCache: true}` by default, option was dropped, and `deleteCached()` is now `deleteDownloaded()`

Differential Revision: https://phabricator.services.mozilla.com/D141980
2022-04-12 10:50:47 +00:00
ffxbld
c7e2f47014 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D143360
2022-04-11 11:54:25 +00:00
ffxbld
ed0b2fca21 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D143149
2022-04-07 13:20:44 +00:00
Molnar Sandor
22f56cefb4 Backed out changeset 5284cdd33fc1 (bug 1762501) on devs request. CLOSED TREE 2022-04-06 22:59:41 +03:00
Barret Rennie
eb2370ed95 Bug 1762501 - Replace Ajv with JsonSchema.jsm in services/sync r=markh
Differential Revision: https://phabricator.services.mozilla.com/D142879
2022-04-06 17:07:36 +00:00
Barret Rennie
8e2d2d800d Bug 1762494 - Replace Ajv with JsonSchema.jsm in TPS.jsm r=markh
Differential Revision: https://phabricator.services.mozilla.com/D142878
2022-04-06 17:07:35 +00:00
Sammy Khamis
5b24a9270d Bug 1759786 - Send tab should not send or receive file:// uris r=markh
Differential Revision: https://phabricator.services.mozilla.com/D142746
2022-04-05 21:39:40 +00:00
Mathieu Leplatre
70a40c9542 Bug 1732056 - Keep track of sync statuses r=gbeckley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D141729
2022-04-05 11:09:18 +00:00
Marian-Vasile Laza
7ec18081e6 Backed out changeset c3d972ef37f4 (bug 1759786) for causing xpcshell failures on test_BrowserUtils.js. CLOSED TREE 2022-04-04 18:02:37 -07:00
Sammy Khamis
631c25c933 Bug 1759786 - Send tab should not send or receive file:// uris r=markh
Differential Revision: https://phabricator.services.mozilla.com/D142746
2022-04-04 23:25:59 +00:00