Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
IndexedDB polyfill (via Web SQL Database)
JavaScript CSS
tree: 09a10c4c5e

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
IDBCursor.js
IDBDatabase.js
IDBFactory.js
IDBIndex.js
IDBKeyRange.js
IDBObjectStore.js
IDBRequest.js
IDBTransaction.js
README
index.html
indexedDB.polyfill.js

README

README

A. Unit Test.

To run unit tests open index.html in target browser. To verify unit tests against Firefox's native implementation of 
IndexedDB API, open the same page through web (http) server. Because, otherwise Firefox does not let to create 
IndexedDB databases under localhost origin.

Tests sometimes may fail due to their incompleteness in development. Particularly, QUnit's execution of asynchronous 
code needs to be wrapped by stop-start sign posts correctly and there must be one-to-one correspondence between all 
'stops' and 'starts' in the code. However, sometimes it is not easy to foresee which async code get executed at the 
very end, 'start' command may be executed too early leaving other async code with unit tests to be left out of a 
test scope. This results test failures also affects to subsequent tests with outcomes like databases left unclosed 
or current test's 'stop' stops the 'start' from previous unsuccessful test, thus leaving current closing 'start' without a match.
Something went wrong with that request. Please try again.