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

6922 Коммитов

Автор SHA1 Сообщение Дата
ffxbld 87bde7886c No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D154638
2022-08-15 12:10:00 +00:00
Mark Hammond 7397afc24e Bug 1783991 - ensure newly opened tabs are synced. r=Gijs
This patch takes a bit of a nuclear option: it removes all
dependencies on SessionStore, and instead just inspects the
tab itself. This means that we no longer store the full
"url history", but no sync clients actually leverage that.

A nice side-effect of this is that we now can store more tabs
in the payload, so heavy tab users are likely to see even more
of their tabs synced.

Differential Revision: https://phabricator.services.mozilla.com/D154192
2022-08-12 01:54:48 +00:00
ffxbld fe0b61866f No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D154378
2022-08-11 19:10:20 +00:00
ffxbld 832ff8bc53 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D153942
2022-08-08 12:57:52 +00:00
Geoff Lankow 485319dcdd Bug 1783308 - Skip Sync tests that are irrelevant in Thunderbird. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D153835
2022-08-05 04:29:57 +00:00
ffxbld 9ed83283ae No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D153744
2022-08-04 13:43:03 +00:00
Barret Rennie ec47642ebf Bug 1772726 - Port osfile.jsm usage to IOUtils in services/sync r=markh
Differential Revision: https://phabricator.services.mozilla.com/D148444
2022-08-03 17:05:21 +00:00
Mark Banner 1c23a90c8e Bug 1782008 - Remove now unnecessary ESLint test definitions from other .eslintrc.js files. r=mossop,media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D153216
2022-08-03 11:16:20 +00:00
Sammy Khamis 1103645a32 Bug 1782155 - Switch sync-after-tab-change to be default on r=markh
Differential Revision: https://phabricator.services.mozilla.com/D153136
2022-08-03 01:31:06 +00:00
criss 67f102f480 Backed out changeset 094343eb939b (bug 1772415) as per dev request 2022-08-03 01:53:59 +03:00
ffxbld 1d8c226620 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D153373
2022-08-01 16:51:54 +00:00
Niklas Baumgardner 9e4f9f010b Bug 1774397 - Add notification dot to Firefox View button. r=Gijs,sfoster,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D151401
2022-08-01 15:19:58 +00:00
Cristian Tuns 2ddce1607e Backed out changeset f31065f9f9f0 (bug 1774397) for causing failures on browser_setup_state.js. CLOSED TREE 2022-08-01 11:06:31 -04:00
Niklas Baumgardner 23e86cad1f Bug 1774397 - Add notification dot to Firefox View button. r=Gijs,sfoster,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D151401
2022-08-01 14:00:16 +00:00
Sam Foster 886cd16954 Bug 1776779 - Add mobile promo and success confirmation banner. r=Gijs,markh
* Add mobile promo element to the Fxa/sync setup flow, and logic to show/hide it
* Add success confirmation for the mobile sync connection with logic to show/hide it
* Watch a new pref 'browser.tabs.firefox-view.mobilePromo.dismissed' for the promo
* Add a new notification in FxAccountsDevice when the devicelist cache is updated
* Use the devicelist updated notification drive the state changes in the setup flow manager
* Add test coverage for the mobile promo

Differential Revision: https://phabricator.services.mozilla.com/D151895
2022-07-30 01:30:15 +00:00
Butkovits Atila 9737f1fdf2 Backed out changeset 698658fc606b (bug 1774397) for causing multiple mochitest failures. CLOSED TREE 2022-07-29 17:19:40 +03:00
Niklas Baumgardner 7725b67743 Bug 1774397 - Add notification dot to Firefox View button. r=Gijs,sfoster,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D151401
2022-07-29 12:56:45 +00:00
Tarik Eshaq 0ee439431f Bug 1772415: Filter devices list by 21 days. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D148203
2022-07-29 00:02:20 +00:00
Sammy Khamis 39847e376d Bug 1781135 - Sync mobile device dialog flow improvements r=markh,Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D152698
2022-07-28 18:34:59 +00:00
ffxbld f6e48e8f08 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D153075
2022-07-28 12:41:48 +00:00
Nika Layzell c1e984d0c6 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-27 14:09:52 +00:00
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