| 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 window.indexedDB = window.indexedDB || window.webkitIndexedDB; | |
| 6 | |
| 7 function result(message) { | 5 function result(message) { |
| 8 document.title = message; | 6 document.title = message; |
| 9 } | 7 } |
| 10 | 8 |
| 11 function unexpectedErrorCallback() | 9 function unexpectedErrorCallback() |
| 12 { | 10 { |
| 13 result('fail - unexpected error callback'); | 11 result('fail - unexpected error callback'); |
| 14 } | 12 } |
| 15 | 13 |
| 16 function unexpectedAbortCallback() | 14 function unexpectedAbortCallback() |
| (...skipping 13 matching lines...) Expand all Loading... |
| 30 | 28 |
| 31 function unexpectedUpgradeNeededCallback() | 29 function unexpectedUpgradeNeededCallback() |
| 32 { | 30 { |
| 33 result('fail - unexpected upgradeneeded callback'); | 31 result('fail - unexpected upgradeneeded callback'); |
| 34 } | 32 } |
| 35 | 33 |
| 36 function unexpectedBlockedCallback() | 34 function unexpectedBlockedCallback() |
| 37 { | 35 { |
| 38 result('fail - unexpected blocked callback'); | 36 result('fail - unexpected blocked callback'); |
| 39 } | 37 } |
| OLD | NEW |