OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
3 <title>IDBObjectStore.put() - Put a record where a value being indexed does not
meet the constraints of a valid key </title> | 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"> | 4 <link rel="author" title="Microsoft" href="http://www.microsoft.com"> |
5 <script src="../../../resources/testharness.js"></script> | 5 <script src="../../../resources/testharness.js"></script> |
6 <script src="../../../resources/testharnessreport.js"></script> | 6 <script src="../../../resources/testharnessreport.js"></script> |
7 <script src="support.js"></script> | 7 <script src="support.js"></script> |
8 | 8 |
9 <script> | 9 <script> |
10 var db, | 10 var db, |
(...skipping 12 matching lines...) Expand all Loading... |
23 rq = objStore.put(record); | 23 rq = objStore.put(record); |
24 | 24 |
25 assert_true(rq instanceof IDBRequest); | 25 assert_true(rq instanceof IDBRequest); |
26 rq.onsuccess = function() { | 26 rq.onsuccess = function() { |
27 t.done(); | 27 t.done(); |
28 } | 28 } |
29 }; | 29 }; |
30 </script> | 30 </script> |
31 | 31 |
32 <div id="log"></div> | 32 <div id="log"></div> |
OLD | NEW |