Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / content / test / data / indexeddb / shared.js
blob3c603f894143763199dc97f52199f13ab292a005
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 function result(message) {
6     document.title = message;
9 function unexpectedErrorCallback()
11   result('fail - unexpected error callback');
14 function unexpectedAbortCallback()
16   result('fail - unexpected abort callback');
19 function unexpectedCompleteCallback()
21   result('fail - unexpected complete callback');
24 function unexpectedSuccessCallback()
26   result('fail - unexpected success callback');
29 function unexpectedUpgradeNeededCallback()
31   result('fail - unexpected upgradeneeded callback');
34 function unexpectedBlockedCallback()
36   result('fail - unexpected blocked callback');