[webkit-changes] [WebKit/WebKit] b97e13: Exclude PushDatabase from backup
bnham
noreply at github.com
Mon Jan 30 09:50:04 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b97e13eff45f7fa73d7bcc69331cc059dcd06d0c
https://github.com/WebKit/WebKit/commit/b97e13eff45f7fa73d7bcc69331cc059dcd06d0c
Author: Ben Nham <nham at apple.com>
Date: 2023-01-30 (Mon, 30 Jan 2023)
Changed paths:
M Source/WebCore/Modules/push-api/PushDatabase.cpp
Log Message:
-----------
Exclude PushDatabase from backup
https://bugs.webkit.org/show_bug.cgi?id=251343
rdar://104806715
Reviewed by Youenn Fablet.
We should avoid backing up the web push database since it contains state like endpoints and keys
that shouldn't be shared across devices.
We do this at migration time to avoid calling setExcludedFromBackup on every DB open operation.
* Source/WebCore/Modules/push-api/PushDatabase.cpp:
(WebCore::openAndMigrateDatabaseImpl):
Canonical link: https://commits.webkit.org/259563@main
More information about the webkit-changes
mailing list