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

7001 Коммитов

Автор SHA1 Сообщение Дата
Butkovits Atila 99f074b50f Backed out changeset d4dae48f386a (bug 1779326) for causing build bustages. CLOSED TREE 2022-07-27 02:28:37 +03:00
Nika Layzell 155b049ad5 Bug 1779326 - Handle a few more `native` types in rust-xpidl, r=xpcom-reviewers,kmag
This makes the logic for the rust type line up a bit more with the C++
logic for existing types, and adds support for 'char' and 'char16_t'
native types (for 'charPtr').

This specifically enables `nsIInputStream::Read` to be used from Rust.

Differential Revision: https://phabricator.services.mozilla.com/D152715
2022-07-26 23:12:58 +00:00
Charlie Humphreys 3f452797f2 Bug 1719392 - update CLIENTS_TTL to be 180 days instead of 21 r=markh
Differential Revision: https://phabricator.services.mozilla.com/D152713
2022-07-26 03:10:55 +00:00
smolnar d5edb4a453 Merge autoland to mozilla-central. a=merge 2022-07-26 00:30:28 +03:00
Mozilla Releng Treescript 17e7325646 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-07-25 16:15:27 +00:00
ffxbld 6506fc7cf1 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D152635
2022-07-25 13:16:50 +00:00
Mathieu Leplatre d3d0a60154 Bug 1777225 - Clear last_etag preference when server responds with error r=gbeckley
Differential Revision: https://phabricator.services.mozilla.com/D150765
2022-07-21 14:48:51 +00:00
Mark Banner 4bfafd41fa Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 22:34:21 +00:00
smolnar 102b779608 Backed out 8 changesets (bug 1779982, bug 1780017, bug 1780347) for causing doc generate failures. CLOSED TREE
Backed out changeset 3f22c0f99cf1 (bug 1780347)
Backed out changeset 6f20b7e4b21b (bug 1780017)
Backed out changeset ae6062c69aeb (bug 1780017)
Backed out changeset e668d7778d97 (bug 1780017)
Backed out changeset e158fc41594b (bug 1780017)
Backed out changeset d4c69c956271 (bug 1779982)
Backed out changeset 145212fd826d (bug 1779982)
Backed out changeset 54079aaa1857 (bug 1779982)
2022-07-20 22:43:53 +03:00
Sam Foster 889e9a90b6 Bug 1777541 - Remove the requirement for the firefox-view pref to be enabled when handling the firefox_view webchannel message. r=markh,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D151947
2022-07-20 18:40:56 +00:00
Mark Banner 23086da9b9 Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 15:50:40 +00:00
Iulian Moraru 1108246986 Backed out 7 changesets (bug 1779982, bug 1780017) for causing multiple failures. CLOSED TREE
Backed out changeset f33a58aa2f3f (bug 1780017)
Backed out changeset e21c85d61b91 (bug 1780017)
Backed out changeset 213ee5578e7c (bug 1780017)
Backed out changeset ea9b3bf42ea1 (bug 1780017)
Backed out changeset d2d8530f3c4d (bug 1779982)
Backed out changeset 088e5148c307 (bug 1779982)
Backed out changeset 267e08f3868a (bug 1779982)
2022-07-20 15:44:53 +03:00
Mark Banner e84aaa1b85 Bug 1779982 - Migrate places consumers to use ESM imports directly. r=mak,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152005
2022-07-20 10:36:49 +00:00
ffxbld 643780ce3b No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D151817
2022-07-14 11:59:52 +00:00
Tooru Fujisawa 54623364da Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Butkovits Atila 1523b8d3d4 Backed out changeset b456d3e9ffe9 (bug 1772726) for causing linting failures. CLOSED TREE 2022-07-12 07:41:21 +03:00
Barret Rennie b4437118c3 Bug 1772726 - Port osfile.jsm usage to IOUtils in services/sync r=markh
Differential Revision: https://phabricator.services.mozilla.com/D148444
2022-07-12 04:01:04 +00:00
Andreea Pavel 7738a75fdd Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa 8cd6ed7409 Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
ffxbld a57d022de1 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D151486
2022-07-11 13:12:23 +00:00
Tooru Fujisawa fd1c853524 Bug 1667455 - Part 19: Stop importing Services.jsm from generated FxAccountsPairingChannel.js. r=kmag
The source of the file is updated in https://github.com/mozilla/fxa-pairing-channel/issues/74

Differential Revision: https://phabricator.services.mozilla.com/D150910
2022-07-11 12:41:56 +00:00
Tooru Fujisawa 52c95734e7 Bug 1667455 - Part 9: Stop importing Services.jsm from chrome-priv HTML code, single-line cases. r=kmag,necko-reviewers,geckoview-reviewers,extension-reviewers,m_kato,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150898
2022-07-11 12:41:52 +00:00
Tooru Fujisawa 47c8f80432 Bug 1667455 - Part 6: Stop importing Services.jsm from chrome-priv JS code, non-top-level or multi-line cases. r=kmag,perftest-reviewers,AlexandruIonescu,sparky
Differential Revision: https://phabricator.services.mozilla.com/D150895
2022-07-11 12:41:51 +00:00
Tooru Fujisawa bf93d07148 Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Tooru Fujisawa f3a8c52c53 Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D150893
2022-07-11 12:41:50 +00:00
Mark Hammond 9b94cad40f Bug 1731249 - add an allow-list of prefs that will sync even if the default value. r=skhamis
Differential Revision: https://phabricator.services.mozilla.com/D150095
2022-07-08 06:04:22 +00:00
Mark Banner ab82e73786 Bug 1778155 - Finish enabling no-unused-vars on the global scope for xpcshell files in services/. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D151035
2022-07-07 21:54:34 +00:00
ffxbld 7863aace6c No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D151241
2022-07-07 14:24:35 +00:00
Mathieu Leplatre d1a6aeaddf Bug 1772136 - Add option to throw if .get() fails to obtain records r=gbeckley,barret
Differential Revision: https://phabricator.services.mozilla.com/D148637
2022-07-06 07:31:29 +00:00
Csoregi Natalia 7e2a20405f Backed out changeset 6c542cd8d622 for causing devtools compat issues. CLOSED TREE 2022-07-04 19:39:21 +03:00
ffxbld 8592d3250f No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D150961
2022-07-04 13:49:30 +00:00
Agi Sferro 22154a8e13 Bug 1722341 - Include gfx blocklist in Android dumps. r=Gijs,jnicol,calu
Differential Revision: https://phabricator.services.mozilla.com/D149572
2022-06-30 18:52:01 +00:00
ffxbld d0985bd3cc No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D150742
2022-06-30 14:25:21 +00:00
Sam Foster 268ab300f2 Bug 1776087 - Add a fxa web channel command/handler to open firefoxview. r=markh
* Export new COMMAND_FIREFOX_VIEW from FxAccountsCommon for the command string
* Call a new openFirefoxView method when the feature pref is enabled
* Pass along an entryPoint param - this is speculative: we don't handle this currently but its what the COMMAND_PAIR_PREFERENCES does and seems reasonable
* New test to confirm that this openFirefoxView method will indeed get called when the right web channel message is received. Note, this doesnt confirm that FirefoxViewHandler.openTab actually results in fx-view being opened, but it will at least fail if that moves or gets renamed in the future

Differential Revision: https://phabricator.services.mozilla.com/D150527
2022-06-29 05:29:06 +00:00
Iulian Moraru b7642d0089 Merge autoland to mozilla-central. a=merge 2022-06-28 00:49:18 +03:00
Mozilla Releng Treescript 82769fbd14 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-06-27 15:55:43 +00:00
ffxbld 3ec2694a72 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D150368
2022-06-27 13:04:52 +00:00
Tooru Fujisawa 9acb013882 Bug 1773747 - Part 2: Do not use lazy getter for immediately-used symbol in services/. r=markh
Depends on D149986

Differential Revision: https://phabricator.services.mozilla.com/D149987
2022-06-24 11:03:52 +00:00
Sammy Khamis 2a79625a20 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-24 01:07:08 +00:00
Marian-Vasile Laza aeed637cfe Backed out changeset b876032a0f26 (bug 1775391) for causing xpcshell failures on test_bookmark_kinds.js 2022-06-24 01:21:39 +03:00
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
ffxbld 042ea8b035 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D150103
2022-06-23 13:40:12 +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
ffxbld 9d2837b25e No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D149736
2022-06-20 12:16:01 +00:00
Nicolas Chevobbe d0ec19672d Bug 1770899 - [devtools] Use RemoteSettings devtools-devices collection. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D149405
2022-06-17 06:44:18 +00:00
Zoltán Szatmáry 14a9ff72df Bug 1595635 - FxA's device list now uses the server time for last accessed. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D149450
2022-06-17 03:28:00 +00:00
Mark Banner b813d15395 Bug 1766228 - Add nsICookieService as an acceptable interface for Services.cookies. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D149392
2022-06-16 21:11:24 +00:00
criss bd5fdde02e Backed out changeset 7c0e462cb0ba (bug 1772136) for causing mochitest failures on browser_remotesettingsexperimentloader_remote_defaults.js 2022-06-16 21:58:55 +03:00
Mathieu Leplatre 2447fc9ac2 Bug 1772136 - Add option to throw if .get() fails to obtain records r=gbeckley,barret
Differential Revision: https://phabricator.services.mozilla.com/D148637
2022-06-16 17:34:44 +00:00
Norisz Fay 7cd43cc697 Backed out 5 changesets (bug 1766228) for causing lint failures on test_restrequest.js CLOSED TREE
Backed out changeset 5ff1634cfe18 (bug 1766228)
Backed out changeset 01642c97e7a5 (bug 1766228)
Backed out changeset cbba28151712 (bug 1766228)
Backed out changeset 76a32127865d (bug 1766228)
Backed out changeset 2c7ef1ad380a (bug 1766228)
2022-06-16 16:36:44 +03:00
ffxbld 5d65102622 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D149507
2022-06-16 12:12:32 +00:00
Mark Banner eac3f080b3 Bug 1766228 - Add nsICookieService as an acceptable interface for Services.cookies. r=kmag
Depends on D149391

Differential Revision: https://phabricator.services.mozilla.com/D149392
2022-06-16 12:09:27 +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
Tooru Fujisawa 4842565434 Bug 1608282 - Part 3: Remove Cu.importGlobalProperties from JSM. r=extension-reviewers,kmag
Depends on D149195

Differential Revision: https://phabricator.services.mozilla.com/D149196
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
Tooru Fujisawa 26d5bfebf1 Bug 1608282 - Part 3: Remove Cu.importGlobalProperties from JSM. r=extension-reviewers,kmag
Depends on D149195

Differential Revision: https://phabricator.services.mozilla.com/D149196
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
Mathieu Leplatre 7f21eb51d0 Bug 1658597 - Destroy local DB when synchronization is broken r=barret
Differential Revision: https://phabricator.services.mozilla.com/D147755
2022-06-13 15:53:43 +00:00
Mathieu Leplatre 22743e39d4 Bug 1658597 - Distinguish API errors from local errors r=gbeckley
Differential Revision: https://phabricator.services.mozilla.com/D147753
2022-06-13 15:53:43 +00:00
ffxbld d7e147a70e No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D149134
2022-06-13 14:06:30 +00:00
ffxbld b7aed3fa69 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D148769
2022-06-09 12:00:37 +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 df213cad55 Bug 1772351 - Part 2: Stop calling ChromeUtils.defineModuleGetter for AppConstants in services/. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D148165
2022-06-06 04:42:08 +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 d1342f6a5c Bug 1772351 - Part 2: Stop calling ChromeUtils.defineModuleGetter for AppConstants in services/. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D148165
2022-06-06 02:49:12 +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
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
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
Narcis Beleuzu 86241816f2 Merge mozilla-central to autoland 2022-04-05 00:52:03 +03:00
ffxbld 60c112e758 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D142811
2022-04-04 18:15:12 +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
ffxbld 285c54810e No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D142541
2022-03-31 15:06:24 +00:00
Narcis Beleuzu b4d2645547 Backed out changeset 95e58730e6bb (bug 1759786) for causing xpcshell failures on test_BrowserUtils.js. CLOSED TREE 2022-03-31 02:45:28 +03:00
Sammy Khamis 737ba3e171 Bug 1759786 - Send tab should not send or receive file:// uris r=markh for conflicting with the backout of 1759786
Differential Revision: https://phabricator.services.mozilla.com/D141174
2022-03-31 02:43:53 +03:00
Marian-Vasile Laza 7374c42e81 Backed out changeset 95e58730e6bb (bug 1759786) for causing xpcshell failures on test_BrowserUtils.js. CLOSED TREE 2022-03-30 15:40:16 -07:00
Sammy Khamis 9ff273b600 Bug 1759786 - Send tab should not send or receive file:// uris r=markh
Differential Revision: https://phabricator.services.mozilla.com/D141174
2022-03-30 21:52:13 +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
Gijs Kruitbosch 8e67201171 Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 16:16:42 +00:00
Norisz Fay acdd6851cd Backed out 2 changesets (bug 1753696) for causing multiple dt and bc failures CLOSED TREE
Backed out changeset 67fd9edfbcea (bug 1753696)
Backed out changeset a9d957ea887b (bug 1753696)
2022-03-30 12:17:55 +03:00
Gijs Kruitbosch 27039e2946 Bug 1753696 - Automatic rewrite: replace add_task(setup with add_setup in browser mochitest, r=Standard8,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D141437
2022-03-30 08:18:51 +00:00
ffxbld 24f567753c No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D142198
2022-03-28 13:03:48 +00:00
ffxbld f222aa0e79 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D141952
2022-03-24 12:55:16 +00:00
ffxbld 2c8ee764d5 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D141587
2022-03-22 21:16:41 +00:00
Mathieu Leplatre accd329474 Bug 1620175 - Get rid of Telemetry histograms r=gbeckley
Differential Revision: https://phabricator.services.mozilla.com/D141389
2022-03-22 16:46:10 +00:00
Butkovits Atila d07fe98979 Backed out changeset d656b8bf9cd2 for causing Xpcshell failures. CLOSED TREE 2022-03-21 19:35:39 +02:00
ffxbld 3ad2043646 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D141587
2022-03-21 13:45:03 +00:00
mcheang f78e0a4455 Bug 1752178 - Add organic:none field for search telemetry. r=Standard8
This patch adds a new field, expectedOrganicCodes to search-telemetry-v2. It
is an array of strictly matched partner codes.

Searches can be reported as organic:none for Telemetry when the search is
truely organic, when the user searches by visiting the DuckDuckGo's website
rather than through one of our Search Access Points.

Differential Revision: https://phabricator.services.mozilla.com/D140969
2022-03-18 19:32:32 +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
ffxbld 91ea4f78c1 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D141339
2022-03-17 16:33:07 +00:00
ffxbld 39212588cc No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D140957
2022-03-15 16:18:49 +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
ffxbld 9cbbc57fb9 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D140905
2022-03-12 02:15:24 +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
Barret Rennie 3dbb1c4049 Bug 1753369 - Use sync PathUtils directory getters on mainthread in services/ r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140137
2022-03-10 15:16:41 +00:00
ffxbld 65a682de7f No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D140720
2022-03-10 14:28:10 +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
Julian Descottes cf6c6f16a3 Bug 1758645 - Check new env variable MOZ_REMOTE_SETTINGS_DEVTOOLS to allow overriding the remote settings server URL r=Gijs,leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D140635
2022-03-09 15:14:15 +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
ffxbld db387700ea No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D140491
2022-03-07 12:48:38 +00:00
ffxbld 2d09a94c14 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D140176
2022-03-03 14:10:26 +00:00
ffxbld afffec69b7 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D139826
2022-02-28 13:13:10 +00:00
ffxbld 88111eadd6 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D139581
2022-02-24 13:59:41 +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
ffxbld a78cf21c03 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D139273
2022-02-22 15:05:34 +00:00
Nicolas Chevobbe f7b02564e0 Bug 1754946 - [devtools] Set initial data for the devtools-compatibility-browsers collection. r=jdescottes.
This is simply a dump of what is stored in Remote Settings, that will be used
when no sync happened yet, and in tests as well.
The file will then be automatically updated with what's in Remote Settings periodically.

Differential Revision: https://phabricator.services.mozilla.com/D138533
2022-02-22 08:59:11 +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
ffxbld fd59e8d9be No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D139007
2022-02-17 13:37:52 +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
ffxbld 79d6ccf336 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D138643
2022-02-14 17:57:46 +00:00
ffxbld 2420fb4c51 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D138425
2022-02-10 13:42:48 +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
Julian Descottes 2112ed6708 Bug 1272255 - Check MOZ_DISABLE_NONLOCAL_CONNECTIONS from services/settings/Utils.jsm r=Gijs
Depends on D137691

We check the environment variable MOZ_DISABLE_NONLOCAL_CONNECTIONS instead of:

- checking Cu.isInAutomation: Cu.isInAutomation implies MOZ_DISABLE_NONLOCAL_CONNECTIONS. All scenarios where isInAutomation was true will still behave the same
- checking an xpcshell specific env variable called XPCSHELL_TEST_PROFILE_DIR. This variable is set for all xpcshell tests from https://searchfox.org/mozilla-central/source/testing/xpcshell/runxpcshelltests.py#495 . XPCShell tests also set MOZ_DISABLE_NONLOCAL_CONNECTIONS in the same file slightly earlier

This allows to never force the real firefox settings URL in environments which crash upon network connections.
Such environments usually override this URL with another preference and should be allowed to use it in all channels.

Differential Revision: https://phabricator.services.mozilla.com/D137982
2022-02-08 11:00:07 +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
Iulian Moraru 2a0b0ababd Merge autoland to mozilla-central. a=merge 2022-02-07 23:55:08 +02: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
ffxbld cca27e2e77 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D137993
2022-02-07 14:00:06 +00:00
ffxbld 8eeb283be2 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D137731
2022-02-04 19:26:02 +00:00
Tarik Eshaq 552b42d4e0 Bug 1752609: Recover if persisted send tab keys are lost. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D137701
2022-02-04 05:00:31 +00:00
Marian-Vasile Laza eac85c4fd0 Backed out changeset f1cb395e11d5 (bug 1752609) for causing build bustages on FuzzingFunctions.cpp. CLOSED TREE 2022-02-04 07:24:33 +02:00
Tarik Eshaq db3697888c Bug 1752609: Recover if persisted send tab keys are lost. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D137701
2022-02-04 05:00:31 +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
ffxbld ebd97d7fe2 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D137436
2022-01-31 14:29:01 +00:00
ffxbld 963405e466 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D137130
2022-01-27 14:52:04 +00:00
Mathieu Leplatre 76afa0f737 Bug 1751283 - Compute age from timestamp for Telemetry r=gbeckley
Differential Revision: https://phabricator.services.mozilla.com/D136536
2022-01-27 08:22:56 +00:00
Mark Banner f02b118c81 Bug 1751746 - Change search-telemetry to use strict partner code matching. r=daleharvey,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D136768
2022-01-25 19:41:24 +00:00
ffxbld f340974921 No Bug, mozilla-central repo-update HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D136719
2022-01-24 22:46:16 +00:00
ffxbld 5a1297e35b No Bug, mozilla-central repo-update HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D136506
2022-01-20 17:50:51 +00:00
ffxbld 8a40305182 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D136115
2022-01-18 15:18:18 +00:00
ffxbld 60d27d6358 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D135850
2022-01-13 13:41:59 +00:00
Alexandru Michis 7271a078fa Merge autoland to mozilla-central a=merge 2022-01-10 23:30:47 +02: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
ffxbld 75f8385828 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D135493
2022-01-10 13:51:30 +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
Dana Keeler 740734288a Bug 1748409 - regenerate expiring test certificates for 2022 r=jschanck
* the certificates were regenerated using `./mach generate-test-certs`
* the build/pgo/certs/ changes were made using
  `./mach python build/pgo/genpgocert.py`
* the zip files in security/manager/ssl/tests/unit/test_signed_apps/ were
  updated per the directions in the corresponding moz.build file
* security/manager/ssl/tests/unit/test_cert_override_read.js needed manual
  updating

Differential Revision: https://phabricator.services.mozilla.com/D135283
2022-01-07 02:13:06 +00:00
ffxbld 0ccecaefc0 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D135204
2022-01-06 14:09:41 +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
ffxbld ce4a36bacc No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D134945
2022-01-03 13:44:49 +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
Shane Caraveo 83c1783d55 Bug 1733481 retry telemetry requests when a proxy fails r=chutten,robwu,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127170
2021-12-23 18:48:09 +00:00
Butkovits Atila 408d492613 Backed out 2 changesets (bug 1733481, bug 1738345) for causing failures at test_remote_settings_utils_telemetry.js. CLOSED TREE
Backed out changeset 48dc0b288686 (bug 1738345)
Backed out changeset a23df06197e1 (bug 1733481)
2021-12-23 20:29:41 +02:00
Shane Caraveo 2bc8c36515 Bug 1733481 retry telemetry requests when a proxy fails r=chutten,robwu,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D127170
2021-12-23 17:32:53 +00:00
ffxbld 0c74571b6a No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D134279
2021-12-20 13:37:10 +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
ffxbld fd626fb02c No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D133624
2021-12-13 18:37:07 +00:00
Kershaw Chang b9f0306faa Bug 1743079 - Remove ResetUserPrefs(), r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D133468
2021-12-13 09:27:56 +00:00
ffxbld cd45866888 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D133356
2021-12-09 15:07:56 +00:00
Florian Quèze 969ec01ebd Bug 1744993 - avoid leaving about:robots open at the end of browser-chrome mochitests, r=Gijs.
Depends on D132055

Differential Revision: https://phabricator.services.mozilla.com/D133205
2021-12-09 11:27:41 +00:00
Alexandru Michis 9028b0458c Backed out 2 changesets (bug 1707963) for causing bc failures in browser_xpcom_graph_wait.js
CLOSED TREE

Backed out changeset 4e7eac659186 (bug 1707963)
Backed out changeset 5d86acaf84da (bug 1707963)
2021-12-09 09:05:07 +02:00
Jens Stutte c05fc0f8b4 Bug 1707963: Let the PermissionManager be initialized lazily but not after shutdown started. r=permissions-reviewers,timhuang,janv
Differential Revision: https://phabricator.services.mozilla.com/D132088
2021-12-08 22:10:18 +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
Mike Hommey e935b21fac Bug 1744668 - Upgrade other application-services crates. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D133026
2021-12-07 21:25:30 +00:00
Alexandru Michis d8d98946cd Merge mozilla-central to autoland. a=merge
CLOSED TREE
2021-12-06 23:55:53 +02:00
ffxbld d6d157ed1e No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D132932
2021-12-06 21:21:07 +00:00
Mozilla Releng Treescript a97268ae9e Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-12-06 19:18:29 +00:00
Mark Banner 4d26cd3ddd Bug 1742839 - Improve handling of missing last modified dates in remote settings database. r=robwu,leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D132053
2021-11-30 10:11:50 +00:00
Mark Banner 94a260ca9b Bug 1742788 - Enable loading from the local dump if it is newer for the search-config remote settings collection. r=robwu,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D132033
2021-11-30 10:11:50 +00:00
Tarik Eshaq ff085d5916 Bug 1738898: Persist encrypted sendtab keys. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D131538
2021-11-29 16:47:32 +00:00
ffxbld aac1ce7369 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D132345
2021-11-29 15:03:20 +00:00
ffxbld 22362d9482 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D131775
2021-11-22 14:38:03 +00:00
Barret Rennie f803923b47 Bug 1736175 - Use PathUtils for generating paths in sync engines r=markh
In bug 1649604, JSONFile was rewritten to use IOUtils and PathUtils for file IO
and path management. This means that all path operations go through nsIFile
methods. However, sync engines were generating paths that always contained a
forward slash. If that file is a UNC path (i.e., if your profile is located on
a network drive), all IOUtils and PathUtils operations on that drive will fail
due to nsLocalFile::InitWithPath on Windows rejecting paths contaiing a forward
slash with NS_ERROR_FILE_UNRECOGNIZED_PATH. This only occurred with UNC paths
because OS.Path.normalize would normalize forward slashes to backslashes,
except when the path is a UNC path. This meant that you could not use FxA sync
with a profile on a network drive.

Updating these engines to use PathUtils to join the paths instead of hardcoding
forward slashes fixes this issue and allows sync to work with profiles on
network drives.

Differential Revision: https://phabricator.services.mozilla.com/D131166
2021-11-19 18:37:22 +00:00
Norisz Fay 828cab15c7 Backed out changeset 4731d510c904 (bug 1736175) for causing xpcshell failures on test_tracker_addChanged.js CLOSED TREE 2021-11-18 23:44:33 +02:00
Barret Rennie 171dfc226e Bug 1736175 - Use PathUtils for generating paths in sync engines r=markh
In bug 1649604, JSONFile was rewritten to use IOUtils and PathUtils for file IO
and path management. This means that all path operations go through nsIFile
methods. However, sync engines were generating paths that always contained a
forward slash. If that file is a UNC path (i.e., if your profile is located on
a network drive), all IOUtils and PathUtils operations on that drive will fail
due to nsLocalFile::InitWithPath on Windows rejecting paths contaiing a forward
slash with NS_ERROR_FILE_UNRECOGNIZED_PATH. This only occurred with UNC paths
because OS.Path.normalize would normalize forward slashes to backslashes,
except when the path is a UNC path. This meant that you could not use FxA sync
with a profile on a network drive.

Updating these engines to use PathUtils to join the paths instead of hardcoding
forward slashes fixes this issue and allows sync to work with profiles on
network drives.

Differential Revision: https://phabricator.services.mozilla.com/D131166
2021-11-18 18:17:13 +00:00
ffxbld a7ed70886d No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D131481
2021-11-18 13:33:04 +00:00
Alexandru Michis 2d0c990efe Backed out 3 changesets (bug 1741247, bug 1723082, bug 1736175) for causing PathUtils.normalize failures.
CLOSED TREE

Backed out changeset 55165cf4b7bb (bug 1736175)
Backed out changeset 492f5ca3b592 (bug 1723082)
Backed out changeset ce199e98a0c5 (bug 1741247)
2021-11-17 03:12:07 +02:00
Barret Rennie e3dee31698 Bug 1736175 - Use PathUtils for generating paths in sync engines r=markh
In bug 1649604, JSONFile was rewritten to use IOUtils and PathUtils for file IO
and path management. This means that all path operations go through nsIFile
methods. However, sync engines were generating paths that always contained a
forward slash. If that file is a UNC path (i.e., if your profile is located on
a network drive), all IOUtils and PathUtils operations on that drive will fail
due to nsLocalFile::InitWithPath on Windows rejecting paths contaiing a forward
slash with NS_ERROR_FILE_UNRECOGNIZED_PATH. This only occurred with UNC paths
because OS.Path.normalize would normalize forward slashes to backslashes,
except when the path is a UNC path. This meant that you could not use FxA sync
with a profile on a network drive.

Updating these engines to use PathUtils to join the paths instead of hardcoding
forward slashes fixes this issue and allows sync to work with profiles on
network drives.

Differential Revision: https://phabricator.services.mozilla.com/D131166
2021-11-17 00:28:59 +00:00
ffxbld 42035ddc2c No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D131121
2021-11-15 16:59:48 +00:00
ffxbld 1a1b639d54 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D130973
2021-11-11 17:39:17 +00:00
Rob Wu 1c885477eb Bug 1739463 - Skip test_remote_settings_utils_telemetry.js on Android release r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D130492
2021-11-09 16:49:57 +00:00
ffxbld 4acc092a76 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D130621
2021-11-08 16:54:40 +00:00
Sebastian Hengst d21e359bd2 Merge autoland to mozilla-central. a=merge 2021-11-01 22:58:34 +01:00
ffxbld 77b1c7801c No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D130015
2021-11-01 16:11:24 +00:00
Mathieu Leplatre 3201f280fe Bug 1738277 - Remove packaged pinning/pins.json. r=ryanvm on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D129822
2021-10-28 14:36:46 +00:00
ffxbld e156d378d8 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D129802
2021-10-28 13:15:42 +00:00
Rob Wu 4575c02ab2 Bug 1732792 - Record telemetry for fallback in Utils.fetch r=mixedpuppy
Telemetry definition and data review is in bug 1733481

Note: The implementation/test here treats ServiceRequest.logProxySource
as an optional method, in case D127170 hasn't landed yet when this patch
lands. In a follow-up this will be removed.

Differential Revision: https://phabricator.services.mozilla.com/D129683
2021-10-27 22:13:03 +00:00
Rob Wu beed7765a1 Bug 1732792 - Fall back to direct request upon fetch failure in RemoteSettings r=leplatrem,mixedpuppy
Depends on D127170

Differential Revision: https://phabricator.services.mozilla.com/D129645
2021-10-27 22:13:03 +00:00
Alexandru Michis 363dc1e112 Backed out 3 changesets (bug 1732792, bug 1733481) for causing talos crashes in ConditionVariableImpl and xpcshell failures in test_remote_settings_utils.js.
CLOSED TREE

Backed out changeset 309190b4a49d (bug 1732792)
Backed out changeset 600e6dfd7436 (bug 1732792)
Backed out changeset 834441a08cc0 (bug 1733481)
2021-10-27 22:37:07 +03:00
Rob Wu f80d90ffef Bug 1732792 - Record telemetry for fallback in Utils.fetch r=mixedpuppy
Telemetry definition and data review is in bug 1733481

Differential Revision: https://phabricator.services.mozilla.com/D129683
2021-10-27 18:23:31 +00:00
Rob Wu 353d0086a4 Bug 1732792 - Fall back to direct request upon fetch failure in RemoteSettings r=leplatrem,mixedpuppy
Depends on D127170

Differential Revision: https://phabricator.services.mozilla.com/D129645
2021-10-27 18:23:30 +00:00
ffxbld 162bc0c338 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D129377
2021-10-25 13:04:02 +00:00
ffxbld b9fcc3a375 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D129142
2021-10-21 13:15:44 +00:00
ffxbld e3470aac9e No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D128723
2021-10-19 13:04:19 +00:00
Evgenia Kotovich 0d0980ee0d Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-18 09:26:33 +00:00
Daisuke Akatsuka b3393c1f45 Bug 1678607: Apply bookmark-tags-changed event. r=mak
Depends on D128326

Differential Revision: https://phabricator.services.mozilla.com/D128327
2021-10-18 04:43:44 +00:00
Alexandru Michis 5b0d89d8d6 Backed out 3 changesets (bug 1678607) for causing bc failures in browser_bookmark_add_tags.js
Backed out changeset bf20be578758 (bug 1678607)
Backed out changeset fd3fbf15e95d (bug 1678607)
Backed out changeset 2688fa3d2bc2 (bug 1678607)
2021-10-18 03:10:58 +03:00
Daisuke Akatsuka 2254fb5019 Bug 1678607: Apply bookmark-tags-changed event. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D128327
2021-10-17 22:47:37 +00:00
Noemi Erli 2bba3cec69 Backed out changeset 2ab6bb03dcc1 (bug 1576768) for causing failures in test_double_submit.html CLOSED TREE 2021-10-18 02:05:57 +03:00
Evgenia Kotovich 3e3dff109c Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-17 14:59:14 +00:00
Alexandru Michis dac6815201 Backed out changeset 7c08aa027893 (bug 1576768) for causing multiple failures.
CLOSED TREE
2021-10-15 16:52:43 +03:00
Evgenia Kotovich a8b32926fa Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-15 12:58:11 +00:00
ffxbld 52ae48b688 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D128468
2021-10-14 18:52:14 +00:00
Andrei Oprea c73cc990d7 Bug 1730924 - Upgrade ajv.js from 4.1.1 to 6.12.6 r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D127625
2021-10-12 19:41:05 +00:00
Alexandru Michis ba57f54149 Backed out changeset 837ba61b9975 (bug 1730924) for causing xpcshell failures in services/sync.
CLOSED TREE
2021-10-12 20:13:05 +03:00
Andrei Oprea db4ace8177 Bug 1730924 - Upgrade ajv.js from 4.1.1 to 6.12.6 r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D127625
2021-10-12 14:43:02 +00:00
ffxbld cd949b6356 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D128060
2021-10-11 13:09:31 +00:00
Daisuke Akatsuka 02b0c14c3a Bug 1678627: Apply bookmark-time-changed event. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D125925
2021-10-07 22:10:20 +00:00
ffxbld 518bed94e6 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D127793
2021-10-07 17:17:12 +00:00
Rob Wu bab8d4c04d Bug 1734396 - Use Utils.fetch to fetch x5u r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D127660
2021-10-06 14:30:38 +00:00
Daisuke Akatsuka 1ed954d051 Bug 1678626: Apply bookmark-guid-changed event. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D125771
2021-10-05 00:53:46 +00:00
Daisuke Akatsuka d7a6c2a610 Bug 1678624: Apply bookmark-url-changed event. r=mak
Depends on D103883

Differential Revision: https://phabricator.services.mozilla.com/D103884
2021-10-05 00:53:45 +00:00
Cristian Tuns 9bc5dcea99 Merge autoland to mozilla-central. a=merge 2021-10-04 17:48:21 -04:00
Mozilla Releng Treescript 19cb195529 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-10-04 18:58:55 +00:00
ffxbld 37e818c16c No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D127414
2021-10-04 13:08:14 +00:00
ffxbld 83e68e8168 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D127083
2021-10-01 12:44:02 +00:00
Daisuke Akatsuka fc88113055 Bug 1678623: Apply bookmark-title-changed event. r=mak
Depends on D103147

Differential Revision: https://phabricator.services.mozilla.com/D103148
2021-10-01 12:01:29 +00:00
Niklas Baumgardner 0b00664094 Bug 1730953 - Migrate strings from browser.dtd to Fluent and remove file. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D126372
2021-09-28 21:19:29 +00:00
criss fd452e339e Backed out changeset 828a968d0d1d (bug 1730953) for causing browser-chrome failures. CLOSED TREE 2021-09-27 21:00:19 +03:00
Niklas Baumgardner 37ce398627 Bug 1730953 - Migrate strings from browser.dtd to Fluent and remove file. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D126372
2021-09-27 16:49:45 +00:00
ffxbld 90a178e4f2 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D126655
2021-09-27 13:31:34 +00:00
ffxbld acd813f1dd No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D126479
2021-09-23 15:38:10 +00:00
ffxbld 92e7975dba No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D126089
2021-09-20 13:59:31 +00:00
ffxbld bd20b46872 No Bug, mozilla-central repo-update remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D125971
2021-09-17 14:41:48 +00:00
ffxbld e4c4aa44cc No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D125820
2021-09-16 15:49:00 +00:00
ffxbld fb7c66cb59 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D125385
2021-09-13 15:09:05 +00:00
Rob Wu d68f1f3940 Bug 1729009 - Improve reliability of attachment downloader + tests r=leplatrem
- Replace `services.settings.server` pref with `Utils.SERVER_URL` for
  consistency with the whole RemoteSettings client.

- Replace `fetch` with `Utils.fetch` to fetch more reliably.

- Change implementation of `Utils.fetch` to not mangle the response,
  which would particularly be problematic for binary attachments.

Differential Revision: https://phabricator.services.mozilla.com/D124475
2021-09-10 13:33:12 +00:00
Mark Banner 14aedbb785 Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 12:09:49 +00:00
Noemi Erli e0f4b9b5fe Backed out 2 changesets (bug 1729460) for causing newtab failures CLOSED TREE
Backed out changeset 5617839462be (bug 1729460)
Backed out changeset 6d52fde3ee0e (bug 1729460)
2021-09-10 13:14:12 +03:00
Mark Banner 3cfdb5c41a Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 09:38:42 +00:00
ffxbld a9b982bfec No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D125057
2021-09-09 14:38:12 +00:00
ffxbld a166f59fba No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D124611
2021-09-07 14:25:19 +00:00
Sandor Molnar 139d70be03 Merge mozilla-central to autoland. a=merge CLOSED TREE 2021-09-06 18:26:52 +03:00
Mozilla Releng Treescript 781375a23c Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-09-06 13:14:48 +00:00
Mark Banner 11bfa90d06 Bug 1602940 - Automated replacements to use Services.uuid. r=Gijs,necko-reviewers,preferences-reviewers,kershaw
Depends on D124391

Differential Revision: https://phabricator.services.mozilla.com/D124392
2021-09-06 09:53:52 +00:00
Marian-Vasile Laza c6b30230dd Backed out changeset f4a35daa5ed7 for causing build bustages. CLOSED TREE 2021-09-02 16:17:10 +03:00
ffxbld 2102d03a39 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D124331
2021-09-02 12:55:49 +00:00
ffxbld 06c451e911 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D123933
2021-08-30 13:12:48 +00:00
ffxbld 628d087420 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D123745
2021-08-26 12:33:25 +00:00
Mathieu Leplatre f225d7e930 Bug 1727487 - Notify observers of synchronization errors (r=mixedpuppy)
Differential Revision: https://phabricator.services.mozilla.com/D123597
2021-08-25 16:45:42 +00:00
ffxbld 80863c10b2 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D123322
2021-08-23 11:37:13 +00:00
ffxbld c7cfba7954 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D123079
2021-08-19 12:19:55 +00:00
ffxbld e16e09b8e7 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D122719
2021-08-16 12:17:21 +00:00
Mathieu Leplatre 16d61e674e Bug 1724971 - Do not use conservative wrapper to fetch resources URLs r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D122319
2021-08-11 19:31:32 +00:00
Mathieu Leplatre e552281894 Bug 1654693 - Make sure Remote Settings doesn't use HTTP3 r=mixedpuppy,jwhitlock
This patch upgrades the kinto-http.js library to add a `fetchFunc` hook.

We then replace calls to `fetch()` everywhere by `Utils.fetch()` which will leverage ServiceRequest, a derivative of XMLHTTPRequest that sets the beConservative flag.

Differential Revision: https://phabricator.services.mozilla.com/D121531
2021-08-10 14:54:04 +00:00
Sebastian Hengst c136a57852 Merge mozilla-central to autoland. CLOSED TREE 2021-08-09 19:13:59 +02:00
Mozilla Releng Treescript a536ab927f Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-08-09 16:20:45 +00:00
ffxbld 7bf613163a No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D122093
2021-08-09 11:49:10 +00:00
ffxbld 3b0b1c9a9a No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D121852
2021-08-05 12:14:03 +00:00
Gijs Kruitbosch 4fa576deda Bug 1723723 - stop using getURLSpecFromFile from JS code to avoid mainthread IO, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D121620
2021-08-03 18:32:50 +00:00
Emma Malysz d61a9b0565 Bug 1649604, remove OS.File usage from JSONFile.jsm r=Gijs,robwu
Differential Revision: https://phabricator.services.mozilla.com/D102041
2021-08-03 15:14:18 +00:00
ffxbld 2831cbf797 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D121518
2021-08-02 11:35:31 +00:00
ffxbld 293f05bd5a No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D121171
2021-07-29 13:29:32 +00:00
ffxbld 24499204c2 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=pascalc
Differential Revision: https://phabricator.services.mozilla.com/D120836
2021-07-26 15:45:06 +00:00
ffxbld 10795c51f3 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D120594
2021-07-22 11:55:25 +00:00
ffxbld 42e26fb23c No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D120208
2021-07-19 11:41:05 +00:00
ffxbld 3ea69315a0 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D119964
2021-07-15 12:19:52 +00:00
Tarik Eshaq 9f2a55c5bc Bug 1587228 - Removes support for old send-tab clients. r=markh
* Removes the fallback to the old sent-tab
* Deletes the api to send URIs using commands
* Modifies tests that depended on that api to now use
   other commands, namely the wipeEngine command

Differential Revision: https://phabricator.services.mozilla.com/D118086
2021-07-14 16:50:26 +00:00
Alexandru Michis 4163c8f09b Merge autoland to mozilla-central. a=merge 2021-07-13 00:55:10 +03:00
Mozilla Releng Treescript abd155b8ec Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-07-12 12:48:42 +00:00