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.
5 window.indexedDB = window.indexedDB || window.webkitIndexedDB;
7 function result(message) {
8 document.title = message;
11 function unexpectedErrorCallback()
13 result('fail - unexpected error callback');
16 function unexpectedAbortCallback()
18 result('fail - unexpected abort callback');
21 function unexpectedCompleteCallback()
23 result('fail - unexpected complete callback');
26 function unexpectedSuccessCallback()
28 result('fail - unexpected success callback');
31 function unexpectedUpgradeNeededCallback()
33 result('fail - unexpected upgradeneeded callback');
36 function unexpectedBlockedCallback()
38 result('fail - unexpected blocked callback');