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');