Cache API and IDB space usages should be initialized on first quota check
[WebKit-https.git] / LayoutTests / http / tests / IndexedDB / storage-limit-2.https-expected.txt
1 CONSOLE MESSAGE: Cache API operation failed: Quota exceeded
2 This test makes sure that storage of indexedDB and Cache API do not grow unboundedly.
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5
6
7 indexedDB = self.indexedDB || self.webkitIndexedDB || self.mozIndexedDB || self.msIndexedDB || self.OIndexedDB;
8
9 indexedDB.deleteDatabase(dbname)
10 indexedDB.open(dbname)
11 db = event.target.result
12 store = db.createObjectStore('store')
13 db = event.target.result
14 store = db.transaction('store', 'readwrite').objectStore('store')
15 request = store.add(new Uint8Array(204800), 'key')
16 finished idb processing
17 Cache API store operation failed: QuotaExceededError: Quota exceeded
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21