<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Dexie Unit tests</title>
  <link rel="stylesheet" href="qunit.css">
</head>
<body>
  <div id="qunit"></div>
  <div id="qunit-fixture"></div>
  <script src="qunit.js"></script>
  <script src="../src/Dexie.js"></script>
  <script src="tests-extendability.js"></script>
  <script src="tests-table.js"></script>
  <script src="tests-open.js"></script>
  <script src="tests-collection.js"></script>
  <script src="tests-whereclause.js"></script>
  <script src="tests-exception-handling.js"></script>
  <script src="tests-upgrading.js"></script>
  <script src="tests-performance.js"></script>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Dexie Unit tests</title>
  <link rel="stylesheet" href="qunit.css">
</head>
<body>
  <div id="qunit"></div>
  <div id="qunit-fixture"></div>
  <script src="qunit.js"></script>
  <script>
    if (!(window.indexedDB || window.window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB))
        // Pull down the polyfill if needed (Safari + older opera browser)
        document.write('<script src="http://nparashuram.com/IndexedDBShim/dist/IndexedDBShim.min.js">\x3C/script>');
  </script>
  <script src="../src/Dexie.js"></script>
  <script src="tests-extendability.js"></script>
  <script src="tests-table.js"></script>
  <script src="tests-open.js"></script>
  <script src="tests-collection.js"></script>
  <script src="tests-whereclause.js"></script>
  <script src="tests-exception-handling.js"></script>
  <script src="tests-upgrading.js"></script>
  <script src="tests-performance.js"></script>
</body>
</html>

Enable unit with indexeddb-shim on Safari
Enable unit with indexeddb-shim on Safari

However, seems something makes it fail badly on all tests with
indexeddb-shim. Funny since it works perfectly with Opera,Chrome,Mozilla
and IE.
