Commit Graph

304 Commits

Author SHA1 Message Date
Mark Banner
81c86b200c Bug 1834204 - Update more consumers to import ES modules directly. r=kpatenio,geckoview-reviewers,whimboo,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D178590
2023-05-26 11:36:33 +00:00
Mike Conley
19c3af2752 Bug 1835116 - Make it possible to disable payment method import from Chrome via a pref. r=niklas
Differential Revision: https://phabricator.services.mozilla.com/D179122
2023-05-25 20:16:04 +00:00
Katherine Patenio
99d830d71b Bug 1830418 - Convert browser/components/customizableui/CustomizableUI.jsm to ESM r=Standard8,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D177423
2023-05-24 15:52:34 +00:00
Natalia Csoregi
1b67d0b941 Backed out 3 changesets (bug 1834222, bug 1834176) for causing RemoteProcessMonitor failures. CLOSED TREE
Backed out changeset 346d3a1568dd (bug 1834222)
Backed out changeset ea1d8b634bfc (bug 1834176)
Backed out changeset 74d1880272d3 (bug 1834176)
2023-05-24 04:29:45 +03:00
Mark Banner
d1fc869252 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 19:09:29 +00:00
Noemi Erli
1f146f097e Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE
Backed out changeset 57876d77a652 (bug 1834176)
Backed out changeset ae2f0837b528 (bug 1834176)
2023-05-23 12:14:37 +03:00
Mark Banner
08ff6c0ad9 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 08:13:08 +00:00
Mark Banner
0666077666 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
91fde42f7b Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Zach Harris
6dddf3a92c Bug 1393332 - Add infrastructure for importing payment methods from Chrome-based browsers r=mconley,fluent-reviewers,flod
This tries to retrieve the credit card data from Chrome-based browsers using
SQLite queries and then inserts them into the Firefox database.

Differential Revision: https://phabricator.services.mozilla.com/D168434
2023-05-16 19:12:21 +00:00
Norisz Fay
07e81602c7 Backed out changeset b18e7995e7cd (bug 1393332) for causing xpcshell failures on test_Chrome_credit_cards.js CLOSED TREE 2023-05-12 22:28:07 +03:00
Zach Harris
df97f3995a Bug 1393332 - Add infrastructure for importing payment methods from Chrome-based browsers r=mconley,fluent-reviewers,flod
This tries to retrieve the credit card data from Chrome-based browsers using
SQLite queries and then inserts them into the Firefox database.

Differential Revision: https://phabricator.services.mozilla.com/D168434
2023-05-12 13:44:04 +00:00
Cosmin Sabou
1bc54fb9cf Backed out changeset f7f2b8abcf6c (bug 1393332) for causing xpcshell failures on test_Chrome_formdata.js. CLOSED TREE 2023-05-12 04:33:55 +03:00
Zach Harris
b1d7003710 Bug 1393332 - Add infrastructure for importing payment methods from Chrome-based browsers r=mconley,fluent-reviewers,flod
This tries to retrieve the credit card and autofill data from
Chrome using SQLite queries and then insert them into the Firefox
database.

Differential Revision: https://phabricator.services.mozilla.com/D168434
2023-05-11 20:29:08 +00:00
Johannes J. Schmidt
bffbcd5f2c Bug 1832488 - use addLoginAsync instead of addLogin in test_Chrome_passwords.js r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D177746
2023-05-11 13:08:15 +00:00
Johannes J. Schmidt
0679b59e81 Bug 1824112 - switch to addLoginAsync in tests r=credential-management-reviewers,sync-reviewers,sgalich,markh
Differential Revision: https://phabricator.services.mozilla.com/D175704
2023-05-10 13:52:10 +00:00
Sandor Molnar
84627283e9 Backed out 16 changesets (bug 1824112) for causing mochitest failures in toolkit/components/passwordmgr/test/mochitest/test_autocomplete_tab_between_fields.html CLOSED TREE
Backed out changeset 6830c9a5d1ce (bug 1824112)
Backed out changeset ebfc28fdb638 (bug 1824112)
Backed out changeset ae112f47fdf1 (bug 1824112)
Backed out changeset 7295fad178a2 (bug 1824112)
Backed out changeset 3074e99ee5a0 (bug 1824112)
Backed out changeset a821ff170e11 (bug 1824112)
Backed out changeset 7bfa8564a6b5 (bug 1824112)
Backed out changeset ce59496fc86f (bug 1824112)
Backed out changeset e3f3d730e9fa (bug 1824112)
Backed out changeset b2f3bcc9bf07 (bug 1824112)
Backed out changeset 03447a1935df (bug 1824112)
Backed out changeset fc82a197b868 (bug 1824112)
Backed out changeset 406121a380d9 (bug 1824112)
Backed out changeset 196bb8eb2cc0 (bug 1824112)
Backed out changeset 0948d06a3c2c (bug 1824112)
Backed out changeset bc994ffb1614 (bug 1824112)
2023-05-10 12:07:00 +03:00
Johannes J. Schmidt
364acf3f03 Bug 1824112 - switch to addLoginAsync in tests r=credential-management-reviewers,sync-reviewers,sgalich,markh
Differential Revision: https://phabricator.services.mozilla.com/D175704
2023-05-10 07:47:25 +00:00
Noemi Erli
81fb845a46 Backed out 14 changesets (bug 1824112) for causing mochitest failures in test_autocomplete_password_generation.html CLOSED TREE
Backed out changeset baf6c4c08d47 (bug 1824112)
Backed out changeset 999f8503465f (bug 1824112)
Backed out changeset 4830f780be1e (bug 1824112)
Backed out changeset 73b00f93c2e2 (bug 1824112)
Backed out changeset a53067121b90 (bug 1824112)
Backed out changeset f5d52901dfec (bug 1824112)
Backed out changeset 8b31247f3c94 (bug 1824112)
Backed out changeset 990365a7418d (bug 1824112)
Backed out changeset c3be4f0b5337 (bug 1824112)
Backed out changeset f23b0ce08de1 (bug 1824112)
Backed out changeset 526d53b4a35f (bug 1824112)
Backed out changeset b8010f604733 (bug 1824112)
Backed out changeset 602e53d29d80 (bug 1824112)
Backed out changeset 50e0b57bd30d (bug 1824112)
2023-05-08 10:45:21 +03:00
Johannes J. Schmidt
c2ea52d5bd Bug 1824112 - switch to addLoginAsync in tests r=credential-management-reviewers,sync-reviewers,sgalich,markh
Differential Revision: https://phabricator.services.mozilla.com/D175704
2023-05-08 06:51:46 +00:00
Narcis Beleuzu
81813a40f3 Backed out 12 changesets (bug 1824112) for mochitest failures on test_autocomplete_autofill_related_realms_no_dupes.html . CLOSED TREE
Backed out changeset 1b884731cc88 (bug 1824112)
Backed out changeset a5c59331e797 (bug 1824112)
Backed out changeset fec2998bed4f (bug 1824112)
Backed out changeset 3b86742b481e (bug 1824112)
Backed out changeset fdf4845c5a44 (bug 1824112)
Backed out changeset 378d2832774b (bug 1824112)
Backed out changeset f24f6a88b9a0 (bug 1824112)
Backed out changeset dd3b06a85ac8 (bug 1824112)
Backed out changeset e19d6f69fd8a (bug 1824112)
Backed out changeset e96c54b21c45 (bug 1824112)
Backed out changeset b51f68d02f4c (bug 1824112)
Backed out changeset 30aa8323efcd (bug 1824112)
2023-05-02 15:02:59 +03:00
Johannes J. Schmidt
2dccf786ac Bug 1824112 - switch to addLoginAsync in tests r=credential-management-reviewers,sync-reviewers,sgalich,markh
Differential Revision: https://phabricator.services.mozilla.com/D175704
2023-05-02 09:22:07 +00:00
steven wang
07404a0f13 Bug 1827425 - Import form autofill entries from Chrome-based browsers. r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D175588
2023-05-02 00:41:10 +00:00
Sandor Molnar
8ba3c187c7 Backed out 3 changesets (bug 1824112) for causing failures related in toolkit/components/passwordmgr/<...> CLOSED TREE
Backed out changeset 54334826f02e (bug 1824112)
Backed out changeset 01a71441e86a (bug 1824112)
Backed out changeset 1d21bc78852c (bug 1824112)
2023-04-24 12:20:18 +03:00
Johannes J. Schmidt
da31c33064 Bug 1824112 - switch to addLoginAsync in tests r=credential-management-reviewers,sync-reviewers,sgalich,markh
Differential Revision: https://phabricator.services.mozilla.com/D175704
2023-04-24 07:52:22 +00:00
Mike Conley
a98705b9fd Bug 1828758 - Make Password file migrator only available if importing logins from CSV is enabled. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D175804
2023-04-18 22:36:26 +00:00
Mike Conley
a6b4bb2db1 Bug 1821187 - Add infrastructure for file migrators in the new Migration Wizard. r=fluent-reviewers,kpatenio,flod
This also includes our first file migrator, which imports passwords from CSV/TSV files.

Depends on D174537

Differential Revision: https://phabricator.services.mozilla.com/D173033
2023-04-13 20:15:03 +00:00
Butkovits Atila
08ba617ed0 Backed out 2 changesets (bug 1821187) for causing failures at browser_file_migration.js. CLOSED TREE
Backed out changeset 8402100dfc12 (bug 1821187)
Backed out changeset 2a7196e34b3d (bug 1821187)
2023-04-13 05:28:27 +03:00
Mike Conley
cd18f710fc Bug 1821187 - Add infrastructure for file migrators in the new Migration Wizard. r=fluent-reviewers,kpatenio,flod
This also includes our first file migrator, which imports passwords from CSV/TSV files.

Differential Revision: https://phabricator.services.mozilla.com/D173033
2023-04-13 01:28:38 +00:00
Mike Conley
40cfbea3c0 Bug 1827431 - Make sure to select the appropriate profile when choosing what resource data is available for migration. r=niklas
We weren't passing the appropriate profile object to getMigrateData, and thanks to mocking,
we didn't catch this in automated testing.

This patch fixes the issue, and updates our mocking helpers to ensure that the expected
profile object gets passed to the `getResources` calls during mochitest-browser tests.

Differential Revision: https://phabricator.services.mozilla.com/D175144
2023-04-12 16:01:41 +00:00
Ebilite Uchenna
ed5dc481d8 Bug 1824611 - Convert consumers of toolkit/components/passwordmgr to import ES modules directly. r=Standard8,credential-management-reviewers,settings-reviewers,fxview-reviewers,sclements,sgalich,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D174446
2023-04-11 19:06:24 +00:00
Tooru Fujisawa
18d749f6ff Bug 1821308 - Part 2: Convert ctypes.jsm consumers to use ESM. r=Standard8,geckoview-reviewers,application-update-reviewers,credential-management-reviewers,sgalich,bytesized,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D173811
2023-04-11 01:25:15 +00:00
Angel_V129
d4af15e01a Bug 1819423 - Add support for importing synced bookmarks for Chrome-based browsers. r=kpatenio.
Differential Revision: https://phabricator.services.mozilla.com/D173391
2023-04-05 15:34:01 +00:00
Mike Conley
e893ea3c9b Bug 1825632 - Collect migration interaction telemetry for each resource type, not just the last one migrated. r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D174165
2023-04-03 20:47:12 +00:00
CanadaHonk
de0de3489c Bug 1801379 - Migrate Sinon.jsm to an ES module r=extension-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,fxview-reviewers,devtools-reviewers,Standard8,nchevobbe,sclements,dimi,mconley,bytesized,robwu
Migrated `testing/modules/Sinon.sys.mjs` to an ES module.

`testing` should now be 100% ESM 🎉

Differential Revision: https://phabricator.services.mozilla.com/D173643
2023-03-29 07:34:10 +00:00
Mike Conley
034a782282 Bug 1794617 - Record interaction preferences when bookmarks, history, or passwords are imported. data-review=jhirsch,r=Gijs
These preferences are sent via Telemetry through TelemetryEnvironment.

For the FirefoxProfileMigrator, which is used for profile resets, we don't
set these prefs during the migration of those resources. Instead, during
OTHERDATA, we examine the prefs.js of the old profile for the prefs and
attempt to migrate them to a new prefs file in the new profile.

Differential Revision: https://phabricator.services.mozilla.com/D173481
2023-03-27 17:25:26 +00:00
Mike Conley
e8af8e6305 Bug 1820790 - Generalize the 180 day history import limit, and apply it to IE and Edge (EdgeHTML) migrators. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D172718
2023-03-21 15:18:34 +00:00
Angel_V129
df90d47fcf Bug 1814941 - Chrome - Don't list resources for import when those resources won't actually bring things over. r=kpatenio.
Differential Revision: https://phabricator.services.mozilla.com/D169034
2023-03-16 14:07:52 +00:00
Alvin Lew
cc50311702 Bug 326701 - Favicons should be imported from Safari r=mconley
Depends on D162361

Differential Revision: https://phabricator.services.mozilla.com/D161306
2023-03-13 16:54:59 +00:00
BryanMacoy
622a092b6f Bug 711995 - Favicons should be imported from Chrome. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D162361
2023-03-13 16:54:58 +00:00
Barret Rennie
81b53ac824 Bug 1818868 - Port osfile.jsm usage to IOUtils in browser/components/migration/ r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D170976
2023-02-27 16:28:57 +00:00
achris16
270ad398ef Bug 1467094 - Import from Chromium Snap Profile r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D169497
2023-02-22 15:49:00 +00:00
Andi-Bogdan Postelnicu
d016916382 Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium
Updated with clang-format version 15.0.5 (taskcluster-MKK8dHUpQkGfPLA793lizg)
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D168658
2023-02-13 15:02:07 +00:00
steven wang
c3c050ab64 Bug 1801051 - Remove cookies migration (except for FirefoxProfileMigrator). r=mconley.
Differential Revision: https://phabricator.services.mozilla.com/D168348
2023-02-07 20:11:42 +00:00
Marco Bonardo
275a5e4803 Bug 1760074 - Frequent failure of test_MigrationUtils_timedRetry.js. r=Gijs
For how much it may sound strange, sometimes all the reads just happen before
the write, so they won't see the table.
Also fixes a wrong check on previousException.

Differential Revision: https://phabricator.services.mozilla.com/D167478
2023-01-23 15:44:10 +00:00
Mark Banner
2bd093b567 Bug 1811334 - Automatically replace Cu.reportError with console.error (most of browser/components). r=settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D167297
2023-01-20 17:49:21 +00:00
Ben Hearsum
01f485b050 Bug 1805919: disable tests that are currently failing against MSIX packages. r=jmaher,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D165754
2023-01-11 14:45:03 +00:00
brian
ec76ee9539 Bug 1619090 - Clean up crypto modules that are used/referenced from various platforms. r=mconley,credential-management-reviewers,dimi.
Differential Revision: https://phabricator.services.mozilla.com/D164831
2023-01-05 15:38:11 +00:00
Marco Bonardo
c4325e1a9b Bug 1457131 - Remove no longer necessary PlacesUtils.toolbarFolderId. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D165769
2023-01-04 13:16:10 +00:00
Mike Conley
b194903466 Bug 718280 - Part 3: Get rid of some leftover wrappedJSObject usage now that the migrators aren't acquired through XPCOM. r=NeilDeakin
Depends on D164139

Differential Revision: https://phabricator.services.mozilla.com/D164140
2022-12-13 17:01:25 +00:00