Commit Graph

4542 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Mozilla Releng Treescript
b9bcf6abd9 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-04-04 15:55:18 +00:00
Gijs Kruitbosch
7298feb0ee Bug 1753696 - move common setup/init tasks in head.js files to use add_setup, r=Standard8
Without this, changing to add_setup in individual test files causes the tasks to be reordered, which causes tests to fail.

I also had to adjust an enterprise policy test that was expecting setup tests to run inbetween tasks.

Differential Revision: https://phabricator.services.mozilla.com/D142457
2022-03-30 16:16:43 +00:00
Mark Banner
2d563feacc Bug 1758476 - Remove some unnecessary uses of the target object argument to ChromeUtils.import. r=mossop,webdriver-reviewers,perftest-reviewers,robwu,whimboo,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D140518
2022-03-17 22:13:08 +00:00
Cristian Tuns
e8374bd569 Backed out changeset 528295e7cb0c (bug 1758476) for causing tabswitch failures CLOSED TREE 2022-03-14 12:27:48 -04:00
Mark Banner
0ce30e3008 Bug 1758476 - Remove some unnecessary uses of the target object argument to ChromeUtils.import. r=mossop,webdriver-reviewers,perftest-reviewers,robwu,whimboo,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D140518
2022-03-14 10:19:40 +00:00
Mark Banner
8bb4667fae Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-11 16:41:29 +00:00
Sammy Khamis
5449cda06a Bug 1559349 - Change Sync startup to be after browser idle r=markh,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140577
2022-03-11 02:03:15 +00:00
smolnar
e89faa903f Backed out changeset 5018856d8fee (bug 1758474) for causing node eslint failure. CLOSED TREE 2022-03-10 11:58:45 +02:00
Mark Banner
fe937b78bd Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-10 09:25:28 +00:00
Mozilla Releng Treescript
5c2afb69bf Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-03-08 10:07:48 +00:00
Sammy Khamis
8b622a5cb6 Bug 1756252: Collect telemetry on synced tabs usage r=markh
Differential Revision: https://phabricator.services.mozilla.com/D139221
2022-02-23 02:39:26 +00:00
Sergey Galich
2924bdb35f Bug 1653486 - Replace all non-user-facing references to "master" password. r=dimi,tgiles,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D138113
2022-02-17 17:29:57 +00:00
Sammy Khamis
2a1602c0ab Bug 1754899: Call sync after location change r=markh,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D138505
2022-02-15 07:06:51 +00:00
lougeniac64
d72675f1aa Bug 1713137 - Fixed sync TPS tests r=markh
Differential Revision: https://phabricator.services.mozilla.com/D137921
2022-02-08 23:46:03 +00:00
Sammy Khamis
cf62b56b2a Bug 1752664 - sync shortly after a tab change event r=Gijs,markh
Differential Revision: https://phabricator.services.mozilla.com/D137376
2022-02-08 20:52:14 +00:00
criss
16a44fbabc Backed out changeset 05eb7d590700 (bug 1752664) for causing failures on test_tab_tracker.js. CLOSED TREE 2022-02-08 09:44:52 +02:00
Sammy Khamis
ed1c30cfbf Bug 1752664 - sync shortly after a tab change event r=Gijs,markh
Differential Revision: https://phabricator.services.mozilla.com/D137376
2022-02-08 01:20:49 +00:00
Mozilla Releng Treescript
1d08ac73a7 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-02-07 15:33:08 +00:00
Sylvestre Ledru
caaedeee98 Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D137741
2022-02-03 18:34:58 +00:00
Sammy Khamis
974c74eff2 Bug 1749815 - Syncing tabs now syncs recently opened tabs r=markh
Differential Revision: https://phabricator.services.mozilla.com/D137240
2022-01-31 20:26:24 +00:00
Mozilla Releng Treescript
b1c26ef50c Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-01-10 17:50:37 +00:00
Nika Layzell
aa59bfed6b Bug 1748718 - Part 2: Use the specified type for rust xpidl constants, r=emilio
Previously all xpidl constants were specified as `i64` which means they require
casts before being passed to any xpcom methods. The lack of typing was not an
issue in c++ due to implicit casts from enums to integer types, but using the
correct type is much more valuable in Rust.

Differential Revision: https://phabricator.services.mozilla.com/D135165
2022-01-07 20:35:15 +00:00
Sammy Khamis
253ae246f6 Bug 1702492 - Fix sync tabs not showing updated device name r=markh
Differential Revision: https://phabricator.services.mozilla.com/D134755
2022-01-03 23:57:31 +00:00
Mark Hammond
5f4fff5ef8 Bug 1745683 - add documentation for the webext-storage implementation. r=rpl,firefox-source-docs-reviewers,ahal,bdk DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D133595
2021-12-29 03:53:00 +00:00
Mark Banner
07f6cf42b9 Bug 1745977 - Stop using the second argument to ChromeUtils.import in various files in services/. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D133776
2021-12-15 10:05:35 +00:00
Mike Hommey
1674b86019 Bug 1744668 - Upgrade other application-services crates. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D133026
2021-12-08 05:23:05 +00:00
Sandor Molnar
40b66aba95 Backed out 3 changesets (bug 1744668) for causing multiple failures. CLOSED TREE
Backed out changeset 46c822b70a3f (bug 1744668)
Backed out changeset a1b048e394fe (bug 1744668)
Backed out changeset 49b593d05354 (bug 1744668)
2021-12-08 04:18:29 +02:00