3 <title>IDBObjectStore.put() - Attempt to put a record where the out of line key provided 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 = { property: "data" };
14 var open_rq = createdb(t);
15 open_rq.onupgradeneeded = function(e) {
19 objStore = db.createObjectStore("store");
21 assert_throws("DataError",
22 function() { rq = objStore.put(record, { value: 1 }); });
24 assert_equals(rq, undefined);