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

Side by Side Diff: third_party/WebKit/LayoutTests/storage/indexeddb/mozilla/delete-result-expected.txt

Issue 2433223002: Indexed DB: Remove experimental delete-returns-count change (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
1 Test IndexedDB: result property after deleting existing and non-existing record 1 Test IndexedDB: result property after deleting existing and non-existing record
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 dbname = "delete-result.html" 6 dbname = "delete-result.html"
7 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
8 indexedDB.open(dbname) 8 indexedDB.open(dbname)
9 objectStore = db.createObjectStore('foo', { keyPath: 'id', autoIncrement: true } ); 9 objectStore = db.createObjectStore('foo', { keyPath: 'id', autoIncrement: true } );
10 request = objectStore.add({}); 10 request = objectStore.add({});
11 id = event.target.result; 11 id = event.target.result;
12 request = objectStore.delete(id); 12 request = objectStore.delete(id);
13 FAIL event.target.result should be undefined (of type undefined). Was 1 (of type number). 13 PASS event.target.result is undefined
14 request = objectStore.delete(id); 14 request = objectStore.delete(id);
15 FAIL event.target.result should be undefined (of type undefined). Was 0 (of type number). 15 PASS event.target.result is undefined
16 PASS successfullyParsed is true 16 PASS successfullyParsed is true
17 17
18 TEST COMPLETE 18 TEST COMPLETE
19 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698