-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
private mode issue #145
Comments
Thanks for the report! I'll try to look at this before the 1.0 release. In general, browsers seem to handle storage and private browsing together quite poorly. I recall Safari being especially bad but I forgot. This might just be something we have to document (ie "private browsing mode doesn't work with localForage), rather than being able to fix. But I'll certainly try for a fix first. When you load up the test page in private browsing mode, what is the output of |
Both private and non private return webSQLStorage |
I came across |
Could be a duplicate of #70 ... |
Could you check to see if #448 helps at all? Using the latest version of master branch should allow you to test. Hoping we can close this 😄 |
localforage is still failing in private mode on Safari. |
Unfortunately private mode is not supported by localforage. It shouldn't cause the site to break but saving data in private browsing, even temporarily, doesn't work 😟 |
Since we can't do a lot about the storage methods that each browser may or may not provide in private browsing mode, (breath) |
@tofumatt: I know that IndexedDB works in private mode, so in theory localforage could use that. |
@JustinDrake What's the result of running this example under safari (in private mode)? |
This pen uses localforage v1.5 which enables IndexedDB for safari v10.2+ . |
I'm using Safari Version 10.0.3. But I think version 10.1 is that latest stable release. Do you mean version 10.0.2? |
I think I've mentioned before but yeah I'm cool with including memoryStorage driver at this point. Let's do that, maybe for 1.6. |
Agreed |
@JustinDrake my bad #650 & #651 mention 10.1+. Sorry for posting wrong version numbers. |
Merged a memory storage driver in v2.0-dev branch, which was the suggested way to resolve this. |
@thgreasi How does it look like with release of this feature? The current version is 1.7.3 today, this PR is 2 years old. Would it be possible to add this PR to some 1.. version so we all can benefit from the memory driver? I'm using I could implement the memory driver for all my packages but it would be nicer to have it directly in |
Hello there
On Safari (Version 7.0.3) When I activate private mode non of the promise handlers get called.
I tested the following from the console after loading
http://localhost:3000/test/test.html
The text was updated successfully, but these errors were encountered: