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

Side by Side Diff: LayoutTests/storage/indexeddb/cursor-update-value-argument-required-expected.txt

Issue 1317593005: Indexed DB: Remove vendor prefix removal from tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 Test IndexedDB cursor.update required arguments 1 Test IndexedDB cursor.update required arguments
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self. msIndexedDB || self.OIndexedDB;
7
8 dbname = "cursor-update-value-argument-required.html" 6 dbname = "cursor-update-value-argument-required.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 db.createObjectStore('autoIncrement', { autoIncrement: true }); 9 db.createObjectStore('autoIncrement', { autoIncrement: true });
12 request = objectStore.openCursor(); 10 request = objectStore.openCursor();
13 keys = [1, -1, 0, 10, 2000, 'q', 'z', 'two', 'b', 'a']; 11 keys = [1, -1, 0, 10, 2000, 'q', 'z', 'two', 'b', 'a'];
14 keyIndex = 0; 12 keyIndex = 0;
15 request = objectStore.add('foo', keys[i]); 13 request = objectStore.add('foo', keys[i]);
16 request = objectStore.add('foo', keys[i]); 14 request = objectStore.add('foo', keys[i]);
17 request = objectStore.add('foo', keys[i]); 15 request = objectStore.add('foo', keys[i]);
18 request = objectStore.add('foo', keys[i]); 16 request = objectStore.add('foo', keys[i]);
19 request = objectStore.add('foo', keys[i]); 17 request = objectStore.add('foo', keys[i]);
20 request = objectStore.add('foo', keys[i]); 18 request = objectStore.add('foo', keys[i]);
21 request = objectStore.add('foo', keys[i]); 19 request = objectStore.add('foo', keys[i]);
22 request = objectStore.add('foo', keys[i]); 20 request = objectStore.add('foo', keys[i]);
23 request = objectStore.add('foo', keys[i]); 21 request = objectStore.add('foo', keys[i]);
24 request = objectStore.add('foo', keys[i]); 22 request = objectStore.add('foo', keys[i]);
25 request = objectStore.openCursor(); 23 request = objectStore.openCursor();
26 cursor = event.target.result; 24 cursor = event.target.result;
27 PASS cursor.update(); threw exception TypeError: Failed to execute 'update' on ' IDBCursor': 1 argument required, but only 0 present.. 25 PASS cursor.update(); threw exception TypeError: Failed to execute 'update' on ' IDBCursor': 1 argument required, but only 0 present..
28 PASS successfullyParsed is true 26 PASS successfullyParsed is true
29 27
30 TEST COMPLETE 28 TEST COMPLETE
31 29
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/cursor-update-expected.txt ('k') | LayoutTests/storage/indexeddb/cursor-value-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698