IndexedDB: don't expose IDBDatabaseError to script
[WebKit-https.git] / LayoutTests / storage / indexeddb / mozilla / key-requirements-delete-null-key-expected.txt
1 Test IndexedDB's behavior deleting entry with no key
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
7
8 indexedDB.open(name, description)
9 db = event.target.result
10 request = db.setVersion('version 1')
11 Deleted all object stores.
12 objectStore = db.createObjectStore('bar');
13 Expecting exception from objectStore.delete(null);
14 PASS Exception was thrown.
15 PASS code is IDBDatabaseException.DATA_ERR
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19