Skip to content
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

Firefox: specify persistent storage #4315

Closed
scottmtp opened this issue Sep 11, 2015 · 2 comments
Closed

Firefox: specify persistent storage #4315

scottmtp opened this issue Sep 11, 2015 · 2 comments

Comments

@scottmtp
Copy link
Contributor

Firefox has a non-standard API for specifying persistent storage when opening an IndexedDB. It would be helpful to expose this in PouchDB.

See:
https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/open

scottmtp added a commit to scottmtp/pouchdb that referenced this issue Sep 11, 2015
…B. This option will enable persistent storage on Firefox only. See pouchdb#4315.
@scottmtp
Copy link
Contributor Author

I updated the PR to fix the line length in case that's helpful. Also, it is not clear to me how I'd be go about testing this change, but if anyone has thoughts about how to test, I'd be happy to update the PR with tests as well.

@daleharvey
Copy link
Member

This is pretty much impossible to test so I am happy enough without a test, this is great thanks. One thing that will likely need following up is a note in the documentation.

eeb6a24

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants