blob: f6c136579ed65408cd80881587e5f2c734dfec7f [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="support.js"></script>
<script>
var t = async_test();
createdb(t).onupgradeneeded = function(e) {
e.target.result
.createObjectStore("store")
.add(new Date(), 1);
e.target.onsuccess = t.step_func(function(e) {
e.target.result
.transaction("store")
.objectStore("store")
.get(1)
.onsuccess = t.step_func(function(e)
{
t.done();
parent.postMessage("done", "*");
});
});
};
</script>
<div id="log"></div>