| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 window.indexedDB = window.indexedDB || window.webkitIndexedDB; | |
| 6 | |
| 7 function result(message) { | |
| 8 var div = document.createElement('div'); | |
| 9 div.id = "result"; | |
| 10 div.innerText = message; | |
| 11 document.body.appendChild(div); | |
| 12 } | |
| 13 | |
| 14 function unexpectedErrorCallback() | |
| 15 { | |
| 16 result('fail - unexpected error callback'); | |
| 17 } | |
| 18 | |
| 19 function unexpectedAbortCallback() | |
| 20 { | |
| 21 result('fail - unexpected abort callback'); | |
| 22 } | |
| 23 | |
| 24 function unexpectedCompleteCallback() | |
| 25 { | |
| 26 result('fail - unexpected complete callback'); | |
| 27 } | |
| OLD | NEW |