Changeset 86363 in webkit
- Timestamp:
- May 12, 2011 11:28:09 AM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r86360 r86363 1 2011-05-12 David Grogan <dgrogan@chromium.org> 2 3 Reviewed by Nate Chapin. 4 5 IndexedDB: fix up database-quota.html layout test 6 https://bugs.webkit.org/show_bug.cgi?id=60519 7 8 Remove commitAndContinue idiom; translate some missed instances of 9 event.code to event.target.errorCode from bug 54331 10 11 * storage/indexeddb/database-quota-expected.txt: 12 * storage/indexeddb/database-quota.html: 13 1 14 2011-05-12 Ryosuke Niwa <rniwa@webkit.org> 2 15 -
trunk/LayoutTests/storage/indexeddb/database-quota-expected.txt
r79458 r86363 26 26 PASS data.length is 65536 27 27 store = trans.objectStore('test123') 28 Error function called: ( undefined) undefined28 Error function called: (13) The transaction was aborted, so the request cannot be fulfilled. 29 29 event.preventDefault() 30 30 PASS Adding data failed due to quota error. Data added was about 5 MB -
trunk/LayoutTests/storage/indexeddb/database-quota.html
r79458 r86363 37 37 shouldBeTrue("trans !== null"); 38 38 trans.onabort = unexpectedAbortCallback; 39 trans.oncomplete = checkQuotaEnforcing; 39 40 40 41 deleteAllObjectStores(db); … … 48 49 objectStore = evalAndLog('db.createObjectStore("test123")'); 49 50 checkObjectStore(); 50 commitAndContinue();51 51 } 52 52 … … 58 58 shouldBe("db.objectStoreNames.contains('test456')", "false"); 59 59 shouldBe("db.objectStoreNames.contains('test123')", "true"); 60 }61 62 function commitAndContinue()63 {64 window.setTimeout(checkQuotaEnforcing, 0);65 60 } 66 61 … … 98 93 function logError() 99 94 { 100 debug("Error function called: (" + event. code + ") " + event.message);95 debug("Error function called: (" + event.target.errorCode + ") " + event.target.webkitErrorMessage); 101 96 evalAndLog("event.preventDefault()"); 102 97 }
Note: See TracChangeset
for help on using the changeset viewer.