-
Notifications
You must be signed in to change notification settings - Fork 137
Skip FirefoxAccounts during Firefox CSV Import #323
Conversation
Firefox exports 'chrome://FirefoxAccounts' if Firefox Accouts are used in browser. It's quite hacky - password field in CSV is actually a JSON encoded data, not a password. Because it's not a useful record, it should be skipped during import.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the submission! Outside of some formatting issues I think this looks okay. Would like @MGibson1 to take a quick peek at the unit tests as well. Overall please ensure member/property indentation and level-alignment (using spaces only) matches across the board.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks! I don't see how the linter didn't pick this up, but thanks!
Sorry about reversing that approval! for some reason when I first clicked review it showed me only spacing fixes. 🤷 |
Test data is now in separate files, and this time I fixed all linter errors before commiting ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Firefox exports
chrome://FirefoxAccounts
if Firefox Accouts are used in browser. It's quite hacky - password field in CSV is actually a JSON encoded data, not a password.Because it's not a useful record, it should be skipped during import.
This PR adds filtering and unit test for Firefox importer.