Граф коммитов

4563 Коммитов

Автор SHA1 Сообщение Дата
Sammy Khamis cec3591ec7 Bug 1775391 - Normalize bookmarks guid errors to strip them out in telemetry r=markh,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D150060
2022-06-23 18:29:13 +00:00
Tooru Fujisawa 5763b77095 Bug 1772969 - Part 2: Rename ExtensionStorageSync with ExtensionStorageSyncKinto for Kinto implementation. r=markh
Depends on D149707

Differential Revision: https://phabricator.services.mozilla.com/D149708
2022-06-22 07:36:49 +00:00
Mark Banner c6c1957341 Bug 1771173 - Remove unused imports. r=geckoview-reviewers,arai,owlish
Differential Revision: https://phabricator.services.mozilla.com/D149786
2022-06-21 20:42:16 +00:00
Sammy Khamis d357497441 Bug 1773154 - Reduce number of scheduled sync calls in sync-after-tab-change r=markh,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D148871
2022-06-21 20:17:22 +00:00
Mark Banner 44d99b6b8d Bug 1775163 - Move bookmarks_validator.js out of production code as it is no longer required there. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D149857
2022-06-21 09:59:44 +00:00
Mark Hammond ffb927c32a Bug 1773609 - fix many lint warnings in services/ r=skhamis
Differential Revision: https://phabricator.services.mozilla.com/D148883
2022-06-16 01:41:19 +00:00
Tooru Fujisawa 5e0731b2a4 Bug 1608282 - Part 4: Remove Cu.defineLazyGlobalGetters from JSM. r=webdriver-reviewers,extension-reviewers,jdescottes,kmag
Depends on D149196

Differential Revision: https://phabricator.services.mozilla.com/D149197
2022-06-16 00:19:54 +00:00
Butkovits Atila 8218713aac Backed out 4 changesets (bug 1608282) for causing hazard failures. CLOSED TREE
Backed out changeset 32aebc8be201 (bug 1608282)
Backed out changeset 37c970364269 (bug 1608282)
Backed out changeset ced8d82cc2d2 (bug 1608282)
Backed out changeset e26e480c7dd6 (bug 1608282)
2022-06-16 03:10:02 +03:00
Tooru Fujisawa 7962c5d46a Bug 1773829 - Part 7: Stop using lazy getter unnecessarily in services/. r=markh
Depends on D149015

Differential Revision: https://phabricator.services.mozilla.com/D149016
2022-06-15 20:56:24 +00:00
Tooru Fujisawa 8b8d6b141a Bug 1608282 - Part 4: Remove Cu.defineLazyGlobalGetters from JSM. r=webdriver-reviewers,extension-reviewers,jdescottes,kmag
Depends on D149196

Differential Revision: https://phabricator.services.mozilla.com/D149197
2022-06-15 20:34:35 +00:00
Sam Foster b715ef7498 Bug 1768681 - Implement a loading state for tabs-pickup while we wait for remote tabs to sync. r=fluent-reviewers,desktop-theme-reviewers,dao,Gijs
* Add an animated svg loading spinner similar to pdf.js' loading.svg
* Add loading state strings and update string from previous steps
* Show a loading/syncing step when the last tab sync was greater than 30s ago
* Change the loading state to hide the setup steps and show the tabs list with a loading spinner
* Expose TABS_FRESH_ENOUGH_INTERVAL_SECONDS from SyncedTabs.jsm so we can define it in a single place

Differential Revision: https://phabricator.services.mozilla.com/D147565
2022-06-15 01:18:30 +00:00
Mark Hammond b409e25748 Bug 1773219 - more efficent tab syncing on tab opening/switching/etc. r=skhamis
Differential Revision: https://phabricator.services.mozilla.com/D148622
2022-06-08 23:22:07 +00:00
Sammy Khamis 0f37ee0746 Bug 1772956 - only sync after tab changes if the user has more than one client r=markh
Differential Revision: https://phabricator.services.mozilla.com/D148467
2022-06-07 04:32:42 +00:00
Tooru Fujisawa 204beb8ef5 Bug 1772351 - Part 4: Stop calling XPCOMUtils.defineLazyModuleGetters for AppConstants for already converted cases. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D148167
2022-06-06 04:42:09 +00:00
Tooru Fujisawa ab96752a9e Bug 1772313 - Part 9: Stop calling XPCOMUtils.defineLazyModuleGetters for Services in services/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D148162
2022-06-06 04:42:07 +00:00
Tooru Fujisawa 52f97da911 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 04:42:06 +00:00
Molnar Sandor 77402a5caa Backed out 15 changesets (bug 1772313, bug 1772351, bug 1772360) for causing xpc failures in telemetry/tests/unit/test_SocketScalars.js CLOSED TREE
Backed out changeset c8b0a2ed239e (bug 1772360)
Backed out changeset 1922adad6abe (bug 1772351)
Backed out changeset 6d3634cce489 (bug 1772351)
Backed out changeset f03968a9d053 (bug 1772351)
Backed out changeset e7a38ef90fe4 (bug 1772351)
Backed out changeset b389e7654771 (bug 1772313)
Backed out changeset 59a33598ff51 (bug 1772313)
Backed out changeset ab60885a8a93 (bug 1772313)
Backed out changeset aad8efac9d05 (bug 1772313)
Backed out changeset 4378e519a8e7 (bug 1772313)
Backed out changeset 302ac54741f8 (bug 1772313)
Backed out changeset 74c59f9fd51c (bug 1772313)
Backed out changeset 575fb877c56c (bug 1772313)
Backed out changeset 2eaa68f10b19 (bug 1772313)
Backed out changeset 4a8b3ba193dc (bug 1772313)
2022-06-06 07:04:25 +03:00
Tooru Fujisawa 4dc660a4b7 Bug 1772351 - Part 4: Stop calling XPCOMUtils.defineLazyModuleGetters for AppConstants for already converted cases. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D148167
2022-06-06 02:49:13 +00:00
Tooru Fujisawa 0605038c2b Bug 1772313 - Part 9: Stop calling XPCOMUtils.defineLazyModuleGetters for Services in services/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D148162
2022-06-06 02:49:11 +00:00
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
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 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