Persistent storage permission: don't grant for session-only origins
A user or admin can make a site be "session-only", i.e. all data is cleared when the user leaves the site. In the UI at chrome://settings/content/cookies this is done by adding sites to the "Clear on exit" list. We shouldn't grant the permission for sites with this property, since we do so with heuristics and we encourage developers to request the permission before offering the user a of guarantee about offline storage availability. If we granted the permission, the site would end up giving a false commitment to the user. Bug: 824950 Change-Id: I6ccd53376fc3aed65dd742b3fc0938c203281e7b Reviewed-on: https://chromium-review.googlesource.com/1208149Reviewed-by:Christian Dullweber <dullweber@chromium.org> Commit-Queue: Joshua Bell <jsbell@chromium.org> Cr-Commit-Position: refs/heads/master@{#589537}
Showing
Please register or sign in to comment