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

Deprecation warning indexedDB.webkitGetDatabaseNames() #26

Open
hadrien-toma opened this issue May 7, 2017 · 1 comment
Open

Deprecation warning indexedDB.webkitGetDatabaseNames() #26

hadrien-toma opened this issue May 7, 2017 · 1 comment

Comments

@hadrien-toma
Copy link

This issue is for noticing a deprecation warning using pouchdb-all-dbs:

eval.js:42 [Deprecation] indexedDB.webkitGetDatabaseNames() is deprecated and will be removed in M60, around August 2017. See https://www.chromestatus.com/features/5725741740195840 for more details.
(anonymous)	@	eval.js:42
t	@	polyfills.js:3
getIDBDatabaseNames	@	eval.js:41
PouchDB.allDbs	@	eval.js:14
route	@	eval.js:876
(anonymous)	@	eval.js:201
(anonymous)	@	eval.js:732
nextTick	@	eval.js:801
t.invoke	@	polyfills.js:3
n.runGuarded	@	polyfills.js:3
(anonymous)	@	polyfills.js:3

I am using version 1.0.2.
I wish these changes are not too impacting...

@hadrien-toma hadrien-toma changed the title Deprecation warning Deprecation warning indexedDB.webkitGetDatabaseNames() May 7, 2017
@marten-de-vries
Copy link
Collaborator

That's actually not a pouchdb-all-dbs bug, but one for the PouchDB chrome extension. Unless there's an alternative API provided for extensions (for listing all the indexeddb databases, and I expect not), it will be impossible to fix.

I guess it might be possible to ask the user which database to inspect, this would also fix the firefox addon that broke a while ago for similar reasons. But, to be honest, I currently don't have the time to look into that. If someone else wants to, feel free to open a PR and ping me, then I'll merge + publish it to the chrome store.

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