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

Side by Side Diff: LayoutTests/storage/indexeddb/index-cursor.html

Issue 5800002: Merge 73697 - 2010-12-10 Hans Wennborg <hans@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="stylesheet" href="../../fast/js/resources/js-test-style.css"> 3 <link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 <script src="../../fast/js/resources/js-test-post-function.js"></script> 5 <script src="../../fast/js/resources/js-test-post-function.js"></script>
6 <script src="resources/shared.js"></script> 6 <script src="resources/shared.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <p id="description"></p> 9 <p id="description"></p>
10 <div id="console"></div> 10 <div id="console"></div>
11 <script> 11 <script>
12 12
13 description("Test IndexedDB's webkitIDBIndex.openCursor + the cursor it produces in depth."); 13 description("Test IndexedDB's webkitIDBIndex.openCursor + the cursor it produces in depth.");
14 if (window.layoutTestController) 14 if (window.layoutTestController)
15 layoutTestController.waitUntilDone(); 15 layoutTestController.waitUntilDone();
16 16
17 // In order of how it should be sorted by IndexedDB. 17 // In order of how it should be sorted by IndexedDB.
18 window.testData = [ 18 window.testData = [
19 1, 19 1,
20 1, 20 1,
21 2, 21 3.14159,
22 2, 22 3.14159,
23 10, 23 10,
24 // FIXME: Dates. 24 // FIXME: Dates.
25 "A big string", 25 "A big string",
26 "the BIGEST string", 26 "the BIGEST string",
27 "the BIGEST string" 27 "the BIGEST string"
28 ]; 28 ];
29 29
30 function openDatabase() 30 function openDatabase()
31 { 31 {
32 result = evalAndLog("webkitIndexedDB.open('someDB')"); 32 result = evalAndLog("webkitIndexedDB.open('someDB')");
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 request.onsuccess = cursorIteration; 258 request.onsuccess = cursorIteration;
259 request.onerror = unexpectedErrorCallback; 259 request.onerror = unexpectedErrorCallback;
260 } 260 }
261 261
262 openDatabase(); // The first step. 262 openDatabase(); // The first step.
263 var successfullyParsed = true; 263 var successfullyParsed = true;
264 264
265 </script> 265 </script>
266 </body> 266 </body>
267 </html> 267 </html>
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/index-basics-expected.txt ('k') | LayoutTests/storage/indexeddb/keyrange.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698