Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Side by Side Diff: content/test/data/indexeddb/shared.js

Issue 401893002: IndexedDB: Stop using webkit-prefixed versions of APIs in tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More webkitIndexedDB foo and update webkitErrorMessage use too Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 window.indexedDB = window.indexedDB || window.webkitIndexedDB;
6
7 function result(message) { 5 function result(message) {
8 document.title = message; 6 document.title = message;
9 } 7 }
10 8
11 function unexpectedErrorCallback() 9 function unexpectedErrorCallback()
12 { 10 {
13 result('fail - unexpected error callback'); 11 result('fail - unexpected error callback');
14 } 12 }
15 13
16 function unexpectedAbortCallback() 14 function unexpectedAbortCallback()
(...skipping 13 matching lines...) Expand all
30 28
31 function unexpectedUpgradeNeededCallback() 29 function unexpectedUpgradeNeededCallback()
32 { 30 {
33 result('fail - unexpected upgradeneeded callback'); 31 result('fail - unexpected upgradeneeded callback');
34 } 32 }
35 33
36 function unexpectedBlockedCallback() 34 function unexpectedBlockedCallback()
37 { 35 {
38 result('fail - unexpected blocked callback'); 36 result('fail - unexpected blocked callback');
39 } 37 }
OLDNEW
« no previous file with comments | « content/test/data/indexeddb/quota_test.js ('k') | content/test/data/indexeddb/transaction_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698