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

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

Issue 10216002: Fix IDB pyauto tests on cros by preventing restore after restart (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback Created 8 years, 7 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
(Empty)
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 window.indexedDB = window.indexedDB || window.webkitIndexedDB;
6 window.IDBTransaction = window.IDBTransaction || window.webkitIDBTransaction;
7
8 function result(message) {
9 var div = document.createElement('div');
10 div.id = "result";
11 div.innerText = message;
12 document.body.appendChild(div);
13 }
14
15 function unexpectedErrorCallback()
16 {
17 result('fail - unexpected error callback');
18 }
19
20 function unexpectedAbortCallback()
21 {
22 result('fail - unexpected abort callback');
23 }
24
25 function unexpectedCompleteCallback()
26 {
27 result('fail - unexpected complete callback');
28 }
OLDNEW
« no previous file with comments | « chrome/test/data/indexeddb/bug_90635.js ('k') | chrome/test/data/indexeddb/version_change_blocked.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698