| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 } | 86 } |
| 87 | 87 |
| 88 if (db.objectStoreNames.contains('store2')) { | 88 if (db.objectStoreNames.contains('store2')) { |
| 89 result('fail - store2 exists'); | 89 result('fail - store2 exists'); |
| 90 return; | 90 return; |
| 91 } | 91 } |
| 92 | 92 |
| 93 result('pass - part3 - rolled back'); | 93 result('pass - part3 - rolled back'); |
| 94 }; | 94 }; |
| 95 } | 95 } |
| OLD | NEW |