Marco Bonardo
6d23aad6ea
Bug 1818461 - Remove the synchronous PlacesUtils.getChildCountForFolder().r=daisuke,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D175532
2023-05-19 12:17:17 +00:00
Zach Harris
8b433920dc
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
37c6686b83
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
599ccd4b12
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
2258e7d928
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
2a855f845f
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
Mike Conley
d9c70f322c
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
54c533e94a
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
b3d86515cb
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
Ebilite Uchenna
8c931cb313
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
Mike Conley
96eca252ac
Bug 1825854 - Add a preference to control the behavior of the migration wizard when opened from about:welcome. r=settings-reviewers,mstriemer
...
This is controlled by the migrationWizard.aboutWelcomeBehavior Nimbus feature variable.
Differential Revision: https://phabricator.services.mozilla.com/D174326
2023-04-05 21:40:46 +00:00
Mike Conley
90a1df9a44
Bug 1823536 - Use the legacy migration wizard dialog for showing startup migration state after a profile refresh. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D173084
2023-03-21 15:29:01 +00:00
Mike Conley
822b5881c3
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
Mike Conley
8fd5009126
Bug 1822692 - Introduce a categorical histogram for recording the Migration Wizard entrypoint. data-review=jhirsch, r=Gijs
...
We're intentionally keeping the old FX_MIGRATION_ENTRY_POINT histogram around and
written to in order to have a smooth cutover to the new categorical histogram.
Differential Revision: https://phabricator.services.mozilla.com/D172735
2023-03-20 19:45:34 +00:00
Mike Conley
610167bc5a
Bug 1820655 - Add a new section to about:preferences to launch the migration wizard. r=jhirsch,fluent-reviewers,flod DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D172324
2023-03-15 00:35:16 +00:00
Butkovits Atila
91f502bbd2
Backed out changeset 5c4677b1ea47 (bug 1820655) for causing failures at browser_open_migration_wizard.js. CLOSED TREE
2023-03-14 05:20:08 +02:00
Mike Conley
f1d3ef9dd0
Bug 1820655 - Add a new section to about:preferences to launch the migration wizard. r=jhirsch,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D172324
2023-03-14 01:59:01 +00:00
Butkovits Atila
640d009e7b
Backed out changeset 21ac89d8a165 (bug 1820655) for causing Gecko Decision failure. CLOSED TREE
2023-03-14 03:20:05 +02:00
Mike Conley
3eb16d3b85
Bug 1820655 - Add a new section to about:preferences to launch the migration wizard. r=jhirsch,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D172324
2023-03-14 01:06:42 +00:00
Mike Conley
f0d2a795f1
Bug 1814912 - Use an HTML5 dialog instead of gSubDialog for the new migration wizard in about:preferences. r=Gijs,settings-reviewers
...
I also renamed migration-dialog.[js|html|css] to migration-dialog-window.[js|html|css] to
make it clearer that those resources are for when the wizard is being shown in a separate
window. I also updated the documentation to reflect this.
Differential Revision: https://phabricator.services.mozilla.com/D169014
2023-02-07 14:25:47 +00:00
Mike Conley
c73afb6eef
Bug 1812704 - Wire up the new MigrationWizard to MigrationUtils to let it perform migrations. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D167998
2023-01-31 15:30:58 +00:00
Mike Conley
f50327e5e8
Bug 1811281 - Open new MigrationWizard dialog as a SubDialog in about:preferences rather than a TabDialog. r=Gijs,settings-reviewers
...
This does a few things to support this new behaviour:
1. Adds the ability for about:preferences category modules to indicate that
they want to specially handle subcategories. In this particular case, it
causes the "migrate" subcategory of the "general" category to open up the
migration dialog.
2. Updates MigrationUtils to open about:preferences#general-migrate if the opener
is a tabbrowser window.
3. Adds some utility functions to make writing tests easier.
4. Updates existing tests to expect the wizard to be opened in the about:preferences
subdialog.
5. Makes pressing "Escape" close the migration wizard when it's loaded in the
migration-dialog.html document.
Differential Revision: https://phabricator.services.mozilla.com/D167873
2023-01-31 15:30:57 +00:00
Marco Bonardo
dcf59d8716
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
a94fe03b9d
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
Mike Conley
5dc341d64b
Bug 1810240 - Make sure migration dialog container resizes when the wizard changes size. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D166839
2023-01-17 20:30:59 +00:00
Mike Conley
57e1ffed61
Bug 1809498 - Make browser.migrate.content-modal.enabled also control opening the new migration-dialog.html document. r=niklas
...
Differential Revision: https://phabricator.services.mozilla.com/D166838
2023-01-17 20:30:58 +00:00
Mike Conley
b3cea0c1d4
Bug 1800917 - Part 2: Disable Opera GX migrator for Linux, since it doesn't exist for that OS. r=niklas
...
Opera hasn't shipped Opera GX on Linux (yet), so it doesn't make sense to support it on that
platform since it can't be tested.
Depends on D164372
Differential Revision: https://phabricator.services.mozilla.com/D164373
2022-12-13 17:01:27 +00:00
Mike Conley
c3261724c2
Bug 718280 - Part 5: Use named options rather than an array for showMigrationWizard. r=NeilDeakin,credential-management-reviewers,sgalich
...
Depends on D164142
Differential Revision: https://phabricator.services.mozilla.com/D164143
2022-12-13 17:01:25 +00:00
Mike Conley
187e447724
Bug 718280 - Part 2: Move registration of migrators into MigrationUtils instead of components.conf. r=NeilDeakin
...
Depends on D164138
Differential Revision: https://phabricator.services.mozilla.com/D164139
2022-12-13 17:01:24 +00:00
Mike Conley
24f18c321b
Bug 718280 - Part 1: Move resource type constants into MigrationUtils. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D164138
2022-12-13 17:01:24 +00:00
Sandor Molnar
70c13f22bb
Backed out 9 changesets (bug 1800917, bug 718280) for causing xpc failures in browser/components/migration/tests/unit/test_Edge_db_migration.js CLOSED TREE
...
Backed out changeset d55b95d9d14f (bug 1800917)
Backed out changeset 8427f1e65df4 (bug 1800917)
Backed out changeset 2d0f77d324f2 (bug 718280)
Backed out changeset eba58fd1ed1c (bug 718280)
Backed out changeset 33027a0f9ce9 (bug 718280)
Backed out changeset 237be1f62d01 (bug 718280)
Backed out changeset 007afe158ae5 (bug 718280)
Backed out changeset f1dea7abdfb7 (bug 718280)
Backed out changeset 47e2cccd33c7 (bug 718280)
2022-12-13 00:50:16 +02:00
Mike Conley
c120530c5c
Bug 1800917 - Part 2: Disable Opera GX migrator for Linux, since it doesn't exist for that OS. r=niklas
...
Opera hasn't shipped Opera GX on Linux (yet), so it doesn't make sense to support it on that
platform since it can't be tested.
Differential Revision: https://phabricator.services.mozilla.com/D164373
2022-12-12 16:04:06 +00:00
Mike Conley
6e3988dc39
Bug 718280 - Part 5: Use named options rather than an array for showMigrationWizard. r=NeilDeakin,credential-management-reviewers,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D164143
2022-12-12 16:04:04 +00:00
Mike Conley
25d5dbe3b1
Bug 718280 - Part 2: Move registration of migrators into MigrationUtils instead of components.conf. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D164139
2022-12-12 16:04:03 +00:00
Mike Conley
b6e319c728
Bug 718280 - Part 1: Move resource type constants into MigrationUtils. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D164138
2022-12-12 16:04:02 +00:00
Mike Conley
ade405818a
Bug 1802961 - Convert MigratorPrototype into an ES6 class and move into its own ESM as MigratorBase to be subclassed. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D163257
2022-12-06 17:50:39 +00:00
Mike Conley
5bb704309f
Bug 1802961 - Make MigrationUtils an ES6 class singleton. r=kpatenio,credential-management-reviewers,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D163256
2022-12-06 17:50:39 +00:00
Mike Conley
026d72dfc9
Bug 1802358 - Enable require-jsdoc / valid-jsdoc for browser/components/migration. r=kpatenio
...
This doesn't do a thorough job of actually documenting things, it just makes sure that
the existing documentation abides by the JSDoc formatting rules. I did flesh out some
documentation here and there, but writing new / updating / clarifying documentation is
left as later work.
Differential Revision: https://phabricator.services.mozilla.com/D163133
2022-12-06 17:50:38 +00:00
Butkovits Atila
be54bd233f
Backed out 7 changesets (bug 1802358, bug 1801314, bug 1802961) for causing documentation failures.
...
Backed out changeset bb0f5e137128 (bug 1802961)
Backed out changeset 4c2a66bfe913 (bug 1802961)
Backed out changeset baaa090cada1 (bug 1802961)
Backed out changeset d98ee38a13bb (bug 1802961)
Backed out changeset 618dcf6d8284 (bug 1802961)
Backed out changeset 59d98ca9fd51 (bug 1802358)
Backed out changeset bce1ea9149bd (bug 1801314)
2022-12-06 18:21:11 +02:00
Mike Conley
e4dfc42d84
Bug 1802961 - Convert MigratorPrototype into an ES6 class and move into its own ESM as MigratorBase to be subclassed. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D163257
2022-12-06 14:46:42 +00:00
Mike Conley
ba4ff5a0ef
Bug 1802961 - Make MigrationUtils an ES6 class singleton. r=kpatenio,credential-management-reviewers,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D163256
2022-12-06 14:46:42 +00:00
Mike Conley
53e100ace0
Bug 1802358 - Enable require-jsdoc / valid-jsdoc for browser/components/migration. r=kpatenio
...
This doesn't do a thorough job of actually documenting things, it just makes sure that
the existing documentation abides by the JSDoc formatting rules. I did flesh out some
documentation here and there, but writing new / updating / clarifying documentation is
left as later work.
Differential Revision: https://phabricator.services.mozilla.com/D163133
2022-12-06 14:46:41 +00:00
Evan
ecdb912abf
Bug 1795462 - Importing data from OperaGX. r=mconley,fluent-reviewers,flod.
...
Differential Revision: https://phabricator.services.mozilla.com/D160868
2022-12-01 14:49:38 +00:00
steven100695
a5b1904561
Bug 1795334 - Add a pref that opens the existing migration.xhtml document in a tab dialog box modal. r=mconley.
...
Differential Revision: https://phabricator.services.mozilla.com/D161939
2022-11-30 21:21:25 +00:00
brian
80615372a9
Bug 1633865 - Remove message recommending closing the other browser (due to Chrome locking). r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D162471
2022-11-25 22:02:04 +00:00
brian
be3a6d1b65
Bug 1673047 - Remove browser.migrate.showBookmarksToolbarAfterMigration pref and set the default behavior to the 'true' branch. r=mconley.
...
Differential Revision: https://phabricator.services.mozilla.com/D161375
2022-11-22 15:30:56 +00:00
Marian-Vasile Laza
bff0d2da74
Backed out changeset ef5db6a50556 (bug 1673047) for causing xpcshell failures on test_IE_bookmarks.js. CLOSED TREE
2022-11-16 04:10:02 +02:00
brian
6b1b824b72
Bug 1673047 - Remove browser.migrate.showBookmarksToolbarAfterMigration pref and set the default behavior to the 'true' branch. r=mconley.
...
Differential Revision: https://phabricator.services.mozilla.com/D161375
2022-11-15 21:08:14 +00:00
Nolan Ishii
21771ec470
Bug 1795739 - Make it possible to import data from Vivaldi. r=mconley,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D161522
2022-11-14 18:02:21 +00:00
Zach Harris
e1e58fa232
Bug 718220 - Import favicons from IE bookmarks. r=mconley
...
This tries to read the icon data out of each Favorites folder .url file
using the :favicon alternative data stream, and then insert that favicon
data into the favicons database.
Differential Revision: https://phabricator.services.mozilla.com/D159789
2022-11-03 22:34:18 +00:00