jakearchibald / idb

IndexedDB, but with promises
https://www.npmjs.com/package/idb
ISC License
6.31k stars 356 forks source link

"Promise issues in older browsers" test does not work #83

Closed mmermerkaya closed 5 years ago

mmermerkaya commented 5 years ago

The promise issue test linked here doesn't work. Looks like the CDN that hosted idb is dead.

rkaw92 commented 5 years ago

Hi, I've just downloaded a copy of both the HTML file and the JS library (from /build), fixed the script path, and attempted to run the test. It appears that, even after working around the CDN issue, the code is incorrect (does not work in the current version of idb):

TypeError: idb.open is not a function

After changing to idb.openDb, the test passes.

jakearchibald commented 5 years ago

Thanks. I'm currently working on the 4.0.0 branch, which includes much better tests,

jakearchibald commented 5 years ago

Shipped!