Home | History | Annotate | Download | only in indexeddb
      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 function result(message) {
      6     document.title = message;
      7 }
      8 
      9 function unexpectedErrorCallback()
     10 {
     11   result('fail - unexpected error callback');
     12 }
     13 
     14 function unexpectedAbortCallback()
     15 {
     16   result('fail - unexpected abort callback');
     17 }
     18 
     19 function unexpectedCompleteCallback()
     20 {
     21   result('fail - unexpected complete callback');
     22 }
     23 
     24 function unexpectedSuccessCallback()
     25 {
     26   result('fail - unexpected success callback');
     27 }
     28 
     29 function unexpectedUpgradeNeededCallback()
     30 {
     31   result('fail - unexpected upgradeneeded callback');
     32 }
     33 
     34 function unexpectedBlockedCallback()
     35 {
     36   result('fail - unexpected blocked callback');
     37 }
     38