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

Side by Side Diff: LayoutTests/storage/indexeddb/mozilla/key-requirements-put-null-key-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's behavior put()ing with null key 1 Test IndexedDB's behavior put()ing with null key
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 = "key-requirements-put-null-key.html" 6 dbname = "key-requirements-put-null-key.html"
9 indexedDB.deleteDatabase(dbname) 7 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname) 8 indexedDB.open(dbname)
11 objectStore = db.createObjectStore('bar'); 9 objectStore = db.createObjectStore('bar');
12 Expecting exception from objectStore.put({}, null); 10 Expecting exception from objectStore.put({}, null);
13 PASS Exception was thrown. 11 PASS Exception was thrown.
14 PASS code is 0 12 PASS code is 0
15 PASS ename is 'DataError' 13 PASS ename is 'DataError'
16 Exception message: Failed to execute 'put' on 'IDBObjectStore': The parameter is not a valid key. 14 Exception message: Failed to execute 'put' on 'IDBObjectStore': The parameter is not a valid key.
17 PASS successfullyParsed is true 15 PASS successfullyParsed is true
18 16
19 TEST COMPLETE 17 TEST COMPLETE
20 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698