OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 function test() | 5 function test() |
6 { | 6 { |
7 if (document.location.hash === '#part1') { | 7 if (document.location.hash === '#part1') { |
8 testPart1(); | 8 testPart1(); |
9 } else if (document.location.hash === '#part2') { | 9 } else if (document.location.hash === '#part2') { |
10 testPart2(); | 10 testPart2(); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 var store3 = transaction.objectStore('store3'); | 57 var store3 = transaction.objectStore('store3'); |
58 | 58 |
59 if (store1.keyPath !== null || | 59 if (store1.keyPath !== null || |
60 store2.keyPath !== '' || | 60 store2.keyPath !== '' || |
61 store3.keyPath !== 'some_path') { | 61 store3.keyPath !== 'some_path') { |
62 result('fail - ' + msg); | 62 result('fail - ' + msg); |
63 } else { | 63 } else { |
64 result('pass - ' + msg); | 64 result('pass - ' + msg); |
65 } | 65 } |
66 } | 66 } |
OLD | NEW |