3 <title>IDBObjectStore.get() - key is a string </title>
4 <link rel="author" title="Microsoft" href="http://www.microsoft.com">
5 <script src="../../../resources/testharness.js"></script>
6 <script src="../../../resources/testharnessreport.js"></script>
7 <script src="support.js"></script>
12 record = { key: "this is a key that's a string", property: "data" };
14 var open_rq = createdb(t);
15 open_rq.onupgradeneeded = function(e) {
17 db.createObjectStore("store", { keyPath: "key" })
21 open_rq.onsuccess = function(e) {
22 var rq = db.transaction("store")
26 rq.onsuccess = t.step_func(function(e) {
27 assert_equals(e.target.result.key, record.key);
28 assert_equals(e.target.result.property, record.property);