Commit Graph

6624 Commits

Author SHA1 Message Date
Tooru Fujisawa
39d28332b0 Bug 1772313 - Part 6: Stop calling ChromeUtils.defineModuleGetter for Services, in services/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D148159
2022-06-06 02:49:10 +00:00
Dana Keeler
658b880816 Bug 1769669 - require specifying the trusted root in content signature verifier r=jschanck,leplatrem,robwu,barret
Before this patch, the content signature verifier
(nsIContentSignatureVerifier/ContentSignatureVerifier) would identify the root
it trusted based on the value of a preference. This patch changes the
implementation to require a specified hard-coded root to trust as with add-on
signature verification.

Depends on D146644

Differential Revision: https://phabricator.services.mozilla.com/D146645
2022-06-03 23:26:28 +00:00
Mark Hammond
428e1a95f3 Bug 1772070 - vendor the current application-services. r=janerik,glandium
Differential Revision: https://phabricator.services.mozilla.com/D147833
2022-06-03 12:41:13 +00:00
Tooru Fujisawa
693d9341ff Bug 1772097 - Part 7: Use plain object for lazy getter in services/fxaccounts/FxAccounts.jsm except for fxAccounts in toolkit/components/formautofill/. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D147922
2022-06-02 12:27:45 +00:00
Tooru Fujisawa
adfef21e07 Bug 1772097 - Part 6: Use plain object for lazy getter in services/sync/. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D147921
2022-06-02 12:27:44 +00:00
Tooru Fujisawa
4f3eafb63e Bug 1772097 - Part 5: Use plain object for lazy getter in services/settings/. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D147920
2022-06-02 12:27:44 +00:00
Tooru Fujisawa
b868c9f585 Bug 1772097 - Part 4: Use plain object for lazy getter in services/fxaccounts/. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D147919
2022-06-02 12:27:43 +00:00
Tooru Fujisawa
819c5382fe Bug 1772097 - Part 3: Use plain object for lazy getter in services/crypto/modules/. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D147918
2022-06-02 12:27:42 +00:00
Tooru Fujisawa
f3d348703f Bug 1772097 - Part 2: Use plain object for lazy getter in services/common/. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D147917
2022-06-02 12:27:42 +00:00
Tooru Fujisawa
9b42b427a2 Bug 1772097 - Part 1: Use plain object for lazy getter in services/automation/. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D147916
2022-06-02 12:27:41 +00:00
ffxbld
0dddb4f86b No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D148111
2022-06-02 12:07:31 +00:00
Mathieu Leplatre
f58ddcb239 Bug 1772150 - Reset broken sync status after success r=gbeckley
Differential Revision: https://phabricator.services.mozilla.com/D147879
2022-06-01 16:11:35 +00:00
Tooru Fujisawa
7119718780 Bug 1771463 - Do not export lazy getter "fxAccounts" from services/fxaccounts/FxAccounts.jsm. r=markh,preferences-reviewers,Mardak
Instead of exporting lazy getter, export a function that returns the FxAccount
singleton, lazily creating on the first call, and define the lazy getter on the
consumer side that calls the function.

Differential Revision: https://phabricator.services.mozilla.com/D147634
2022-05-31 14:09:10 +00:00
Cosmin Sabou
290da6c4fc Backed out changeset 697ab99d1c61 (bug 1771463) for causing node newtab failures. CLOSED TREE 2022-05-31 07:16:41 +03:00
Tooru Fujisawa
cb429a0be1 Bug 1771463 - Do not export lazy getter "fxAccounts" from services/fxaccounts/FxAccounts.jsm. r=markh,preferences-reviewers
Instead of exporting lazy getter, export a function that returns the FxAccount
singleton, lazily creating on the first call, and define the lazy getter on the
consumer side that calls the function.

Differential Revision: https://phabricator.services.mozilla.com/D147634
2022-05-31 03:12:22 +00:00
Tooru Fujisawa
261aa45140 Bug 1771478 - Do not use lazy getter to export AddonUtils. r=markh
AddonUtils is immediately accessed when addonutils.js is imported, and it's not
necessarily be a lazy getter.

Depends on D147598

Differential Revision: https://phabricator.services.mozilla.com/D147599
2022-05-30 20:50:24 +00:00
Tooru Fujisawa
9ca702d3ab Bug 1771476 - Do not export lazy getter "PREFS_GUID" from services/sync/modules/engines/prefs.js. r=markh
PREFS_GUID is a lazy getter, and it cannot be exported once ESM-ified.

Depends on D147597

Differential Revision: https://phabricator.services.mozilla.com/D147598
2022-05-30 20:50:23 +00:00
Tooru Fujisawa
5452bd8e37 Bug 1771460 - Part 4: Do not impot fxAccounts eagerly. r=markh
Lazy getter is defined for fxAccounts.

Depends on D147594

Differential Revision: https://phabricator.services.mozilla.com/D147595
2022-05-30 20:50:22 +00:00
criss
cfdd8e542e Merge mozilla-central to autoland. a=merge CLOSED TREE 2022-05-30 23:42:51 +03:00
Tooru Fujisawa
3242540ef5 Bug 1610653 - Part 18: Do not store lexical variable also to global this property in services/common. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D144125
2022-05-30 15:19:42 +00:00
Tooru Fujisawa
b2f0fcf3c4 Bug 1610653 - Part 8: Do not use global this property assignment to define global variable in services/sync. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D144115
2022-05-30 15:19:38 +00:00
Tooru Fujisawa
be59015b9b Bug 1610653 - Part 7: Do not use global this property assignment to define global variable in services/fxaccounts. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D144114
2022-05-30 15:19:38 +00:00
ffxbld
cc2bc83283 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D147641
2022-05-30 12:51:23 +00:00
Mozilla Releng Treescript
8e705edc38 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-05-30 11:42:22 +00:00
Mark Hammond
2f9c449142 Bug 1769679 - have sync telemetry report nserrors with NS_ERROR_MODULE_NETWORK as a httperror r=skhamis
Differential Revision: https://phabricator.services.mozilla.com/D146527
2022-05-27 01:18:55 +00:00
Mark Hammond
396dfffa25 Bug 1770879 - Sanitize OS errors in the sync ping for better grouping and analysis r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D147126
2022-05-26 21:55:20 +00:00
ffxbld
2d77e262c4 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D147417
2022-05-26 12:05:17 +00:00
Mark Hammond
97d81f421f Bug 1771079 - fix TPS when sync ping validation is disabled. r=LougeniaBailey
Differential Revision: https://phabricator.services.mozilla.com/D147264
2022-05-25 21:55:00 +00:00
Mathieu Leplatre
0f8ea5f41e Bug 1702759 - Remove load_dump preference r=robwu
This is a breaking change. It is not possible to control the loading of dumps from a preference anymore.

Dumps are only loaded if server is pointed at PROD. The recommended way to prevent dumps loading in tests is to store a high timestamp in the local DB.

Differential Revision: https://phabricator.services.mozilla.com/D146049
2022-05-23 16:24:58 +00:00
Mathieu Leplatre
caf000e948 Bug 1702759 - Remove bucket name preference r=robwu
This introduces a breaking change: the buckets cannot be changed via preferences anymore.

Before landing this patch, we should have a released a new version of the Remote Settings DevTools that is compatible with this new API.

Differential Revision: https://phabricator.services.mozilla.com/D145455
2022-05-23 16:24:57 +00:00
Mathieu Leplatre
f07763259c Bug 1702759 - Remove collection and signer preferences r=gbeckley
These preferences were cargo culted from our initial prototypes, and users should not be able to change them

Differential Revision: https://phabricator.services.mozilla.com/D145453
2022-05-23 16:24:56 +00:00
ffxbld
478176c97b No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D147079
2022-05-23 11:43:45 +00:00
ffxbld
1677fb63f8 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D146796
2022-05-19 11:57:24 +00:00
Mark Banner
7c198e01fd Bug 1769569 - Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146452
2022-05-18 08:13:19 +00:00
Sebastian Hengst
c552340e0c Backed out 5 changesets (bug 1769569) for causing devtools' browser/browser_page_redirection.js to fail. CLOSED TREE
Backed out changeset 66a42eb3a366 (bug 1769569)
Backed out changeset d3cc9629cd9a (bug 1769569)
Backed out changeset edcd3dade079 (bug 1769569)
Backed out changeset 29d8dd058b7a (bug 1769569)
Backed out changeset 1aed34fdf2d3 (bug 1769569)
2022-05-17 19:49:17 +02:00
Mark Banner
5865f044db Bug 1769569 - Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146452
2022-05-17 16:50:33 +00:00
ffxbld
9a53228116 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D146422
2022-05-16 13:40:00 +00:00
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