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

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

Issue 415753002: Deprecate the webkit-prefixed standard IndexedDB entry points (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 if (this.importScripts) { 1 if (this.importScripts) {
2 importScripts('../../../resources/js-test.js'); 2 importScripts('../../../resources/js-test.js');
3 importScripts('shared.js'); 3 importScripts('shared.js');
4 } 4 }
5 5
6 description("Test IndexedDB's webkitIDBIndex.openCursor + the cursor it produces in depth."); 6 description("Test IndexedDB's IDBIndex.openCursor + the cursor it produces in de pth.");
7 7
8 // In order of how it should be sorted by IndexedDB. 8 // In order of how it should be sorted by IndexedDB.
9 self.testData = [ 9 self.testData = [
10 1, 10 1,
11 1, 11 1,
12 3.14159, 12 3.14159,
13 3.14159, 13 3.14159,
14 10, 14 10,
15 // FIXME: Dates. 15 // FIXME: Dates.
16 "A big string", 16 "A big string",
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 return; 220 return;
221 } 221 }
222 222
223 debug(""); 223 debug("");
224 debug(str); 224 debug(str);
225 225
226 var request = indexObject.openKeyCursor(null, ascending ? 'next' : 'prev'); 226 var request = indexObject.openKeyCursor(null, ascending ? 'next' : 'prev');
227 request.onsuccess = cursorIteration; 227 request.onsuccess = cursorIteration;
228 request.onerror = unexpectedErrorCallback; 228 request.onerror = unexpectedErrorCallback;
229 } 229 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698