...
<rdar://problem/89060863>
Created attachment 452308 [details] Patch
Comment on attachment 452308 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452308&action=review > Source/WebKit/ChangeLog:10 > + We've been excluding LocalStorage data from backup on iOS since r212555, and we need to make sure this applies > + to new LocalStorage directory after migration (r289878). What about on devices where the old code ran, the directory was created, but excludeFromBackup was not called? Are those devices permanently in an incorrect state? What will heal them?
Comment on attachment 452308 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452308&action=review >> Source/WebKit/ChangeLog:10 >> + to new LocalStorage directory after migration (r289878). > > What about on devices where the old code ran, the directory was created, but excludeFromBackup was not called? Are those devices permanently in an incorrect state? What will heal them? The new LocalStorage directory is not in use yet: r289878 only adds code for migration. So this code is added before the directory is created. I am trying to make sure everything works correctly before we start to use the new directory.
Comment on attachment 452308 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452308&action=review >>> Source/WebKit/ChangeLog:10 >>> + to new LocalStorage directory after migration (r289878). >> >> What about on devices where the old code ran, the directory was created, but excludeFromBackup was not called? Are those devices permanently in an incorrect state? What will heal them? > > The new LocalStorage directory is not in use yet: r289878 only adds code for migration. So this code is added before the directory is created. I am trying to make sure everything works correctly before we start to use the new directory. Sounds good
Created attachment 452483 [details] Patch for landing
Committed r290115 (247459@main): <https://commits.webkit.org/247459@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 452483 [details].