[Webkit-unassigned] [Bug 157010] QuotaExceededError when saving to localStorage in private mode - leaks users browsing preference
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 27 17:07:09 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=157010
--- Comment #6 from Dima Voytenko <dvoytenko at google.com> ---
The issue with just ignoring writes is that it's no different really from throwing an exception from the point of view of private mode leak. E.g.
```
function isPrivateMode() {
try {
localStorage.setItem('a', 'b');
return false;
} catch(e) {
return true;
}
}
```
vs
```
function isPrivateMode() {
localStorage.setItem('a', 'b');
return localStorage.getItem('a') != 'b';
}
```
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160428/991d5ce2/attachment.html>
More information about the webkit-unassigned
mailing list