3 <title>IDBObjectStore.put() - Put a record where a value being indexed does not meet the constraints of a valid key </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: 1, indexedProperty: { property: "data" } };
14 var open_rq = createdb(t);
15 open_rq.onupgradeneeded = function(e) {
19 objStore = db.createObjectStore("store", { keyPath: "key" });
21 objStore.createIndex("index", "indexedProperty");
23 rq = objStore.put(record);
25 assert_true(rq instanceof IDBRequest);
26 rq.onsuccess = function() {