WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
Bug 25894
It is possible for LocalStorage to not be persistent
https://bugs.webkit.org/show_bug.cgi?id=25894
Summary
It is possible for LocalStorage to not be persistent
Jeremy Orlow
Reported
2009-05-20 14:23:31 PDT
LocalStorage is not database backed if page->settings()->localStorageDatabasePath() returns "". Instead, the code should return an immutable LocalStorage (like during private browsing) rather than returning a mutable (but not database backed) version. This is described in more detail in this email thread:
https://lists.webkit.org/pipermail/webkit-dev/2009-May/007790.html
I'm happy to take this on and should be able to get to it in the next couple weeks.
Attachments
Add attachment
proposed patch, testcase, etc.
Jeremy Orlow
Comment 1
2009-06-08 11:10:47 PDT
FYI: I'm still planning on fixing this once I get a couple of my refactoring changes (
https://bugs.webkit.org/show_bug.cgi?id=25376
) in.
Julien Isorce
Comment 2
2016-01-15 07:31:42 PST
Any update on this ?
Dan Saunders
Comment 3
2016-10-13 12:42:45 PDT
Any update on this? It is causing localStorage to not persist between application launches for Mac WebKit1 WebView. The only way to persist localStorage between application launches is using a private API and setting localStorageDatabasePath. This is a commonly used HTML5 feature that is broken.
Brady Eidson
Comment 4
2016-10-13 15:26:50 PDT
(In reply to
comment #3
)
> Any update on this? It is causing localStorage to not persist between > application launches for Mac WebKit1 WebView. The only way to persist > localStorage between application launches is using a private API and setting > localStorageDatabasePath.
Which, on Mac, is a thing you can do. If one were writing a Mac App Store app they'd need it to be API, but we have received zero such requests at Apple.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug