This project is read-only.
4
Vote

Chrome - webkitIndexedDB is deprecated

description

When using datajs the following message is shown in the log:

'webkitIndexedDB' is deprecated. Please use 'indexedDB' instead.

Google Chrome 38

file attachments

comments

Loxos wrote Nov 24, 2014 at 2:49 PM

IndexedDB has been available for several years now. Therefore the "webkit" prefix is not needed anymore. I updated datajs in patch 17015.
But honestly I do not have any hopes that this gets merged into an updated version.

psteele706 wrote Jan 21, 2015 at 6:36 PM

Yes, please incorporate this change.

oisin wrote Dec 9, 2015 at 7:52 PM

replace line:
var indexedDB = window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB || window.indexedDB;
with
var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB;

wrote Dec 9, 2015 at 7:52 PM