Alasql: indexedDB.webkitGetDatabaseNames() is deprecated and will be removed from Chrome

Created on 12 May 2017  ·  8Comments  ·  Source: agershun/alasql

Just a heads-up that per https://www.chromestatus.com/features/5725741740195840 we're planning on removing the non-standard indexedDB.webkitGetDatabaseNames() API from Chrome in M60, around August 2017.

It looks like AlaSQL.js will handle this properly since it already functions on other browsers, but I wanted to check in and ensure that this deprecation timeline will not have any unforeseen impact.

! Bug ! Feature request Good first issue Help wanted

All 8 comments

You are awesome - thank you so much for letting us know.

Ill work on getting it out from the source...

@mathiasrw there are 2 instances of this function used currently. What will you replace it with?

I dont know. I have not had time to look into it. If you have any inputs please let me know...

Need to store the created databases information as metadata and use that for returning database names.

https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/2fUr-3wFPKI/discussion

If this removal is going to be problematic (i.e. not enough time to adapt the library, etc), please respond to the blink-dev thread:

https://groups.google.com/a/chromium.org/d/topic/blink-dev/A6m1Pt9-BAo/discussion

window.indexedDB.webkitGetDatabaseNames().onsuccess = function(sender, args) { var r = sender.target.result; for (var i in r) indexedDB.deleteDatabase(r[i]);};

It is deprecated. Does anyone have any alternative way to clear index DB?

Thank you

На всякий случай - вот подробная информация

https://www.nalogia.ru/deductions/documents.php
https://www.nalogia.ru/deductions/mortgage.php

2017-08-09 13:34 GMT+03:00 Quan Nguyen notifications@github.com:

window.indexedDB.webkitGetDatabaseNames().onsuccess = function(sender,
args) { var r = sender.target.result; for (var i in r)
indexedDB.deleteDatabase(r[i]);};

It is deprecated. Does anyone have any alternative way to clear index DB?

Thank you


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/agershun/alasql/issues/877#issuecomment-321218115,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAnP4KhoUYKKEnyDDdnAbAA-j_d0zQjsks5sWYsbgaJpZM4NYruc
.

?!?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mathiasrw picture mathiasrw  ·  5Comments

SamanthaAdrichem picture SamanthaAdrichem  ·  4Comments

daffodilistic picture daffodilistic  ·  3Comments

SWard1992 picture SWard1992  ·  3Comments

mathiasrw picture mathiasrw  ·  5Comments