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

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

Issue 10828378: Convert the indexed db pyauto tests to content_browsertests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
7 function result(message) {
8 var div = document.createElement('div');
9 div.id = "result";
10 div.innerText = message;
11 document.body.appendChild(div);
12 }
13
14 function unexpectedErrorCallback()
15 {
16 result('fail - unexpected error callback');
17 }
18
19 function unexpectedAbortCallback()
20 {
21 result('fail - unexpected abort callback');
22 }
23
24 function unexpectedCompleteCallback()
25 {
26 result('fail - unexpected complete callback');
27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698