From the review for bug 1994513, `savedGroups` tab entries contain a state
object, the way `_closedTabs` does (but `tabs` does not).
Differential Revision: https://phabricator.services.mozilla.com/D269276
We have not tested the impact of including cookies in restored data.
There are several ways that a website's functionality could be broken by cookies being restored on a new machine. If we can test widely to rule these out as issues, then syncing cookies may be shown to be safe and desirable.
However, it is less risky for this feature, with its aggressive release timeline, to err on the side of caution.
Therefore, we will remove cookies from the set of synced data.
Differential Revision: https://phabricator.services.mozilla.com/D261646
We have not tested the impact of including cookies in restored data.
There are several ways that a website's functionality could be broken by cookies being restored on a new machine. If we can test widely to rule these out as issues, then syncing cookies may be shown to be safe and desirable.
However, it is less risky for this feature, with its aggressive release timeline, to err on the side of caution.
Therefore, we will remove cookies from the set of synced data.
Differential Revision: https://phabricator.services.mozilla.com/D261646
We have not tested the impact of including cookies in restored data.
There are several ways that a website's functionality could be broken by cookies being restored on a new machine. If we can test widely to rule these out as issues, then syncing cookies may be shown to be safe and desirable.
However, it is less risky for this feature, with its aggressive release timeline, to err on the side of caution.
Therefore, we will remove cookies from the set of synced data.
Differential Revision: https://phabricator.services.mozilla.com/D261646
The function bytesToFuzzyKilobytes uses the terminology "10th kilobyte" to mean a number of kilobytes, rounded to the nearest multiple of 10.
This changes the naming to be clear that it's multiples of 10, not tenths.
Differential Revision: https://phabricator.services.mozilla.com/D259427
This test can be run via:
./mach marionette-test browser/components/backup/test/marionette/test_backup.py
This also makes it so that BackupResource.copySqliteDatabases does not throw if
one of the passed in database files doesn't exist - it'll just ignore it and
move on. This required me to update some tests in order to create some fake
SQLite databases to ensure that the fake Sqlite connection was made and the
backup stub was called for the SQLite databases being copied.
Finally, this also fixes something I noticed - some of our BackupResource's
weren't returning null or objects as their ManifestEntry. This fixes that
and adds tests to cover that case.
Differential Revision: https://phabricator.services.mozilla.com/D207811
- Adds `CookiesBackupResource`, `FormHistoryBackupResource` and `SessionsStoreBackupResource` classes with measurement methods for those resources.
- Exports `BYTES_IN_KB` and new `bytesToFuzzyKilobytes` methods from `BackupResource`
- Fix filename for `BackupResource` tests.
Differential Revision: https://phabricator.services.mozilla.com/D205254
- Adds `CookiesBackupResource`, `FormHistoryBackupResource` and `SessionsStoreBackupResource` classes with measurement methods for those resources.
- Exports `BYTES_IN_KB` and new `bytesToFuzzyKilobytes` methods from `BackupResource`
- Fix filename for `BackupResource` tests.
Differential Revision: https://phabricator.services.mozilla.com/D205254