RESOLVED FIXED 60768
Port Mozilla's IndexedDB tests: remove objectstore
https://bugs.webkit.org/show_bug.cgi?id=60768
Summary Port Mozilla's IndexedDB tests: remove objectstore
Mark Pilgrim (Google)
Reported 2011-05-13 07:19:12 PDT
Original test: http://mxr.mozilla.org/mozilla2.0/source/dom/indexedDB/test/test_remove_objectStore.html?force=1 This is a port of a test from Mozilla's IndexedDB test suite. It creates an objectstore, populates it with 100 records, deletes the objectstore, and checks that the objectStoreNames array is updated properly at each step. WebKit passes this test.
Attachments
Patch (10.51 KB, patch)
2011-05-13 07:21 PDT, Mark Pilgrim (Google)
no flags
Mark Pilgrim (Google)
Comment 1 2011-05-13 07:21:20 PDT
David Grogan
Comment 2 2011-05-13 14:03:18 PDT
Comment on attachment 93448 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=93448&action=review unofficial r+ > LayoutTests/storage/indexeddb/mozilla/remove-objectstore.html:89 > + shouldBe("event.target.result", "null"); Is the result of opening the cursor null because nothing is in the objectStore or because you didn't seek to anything (which would also return null in this case)?
Mark Pilgrim (Google)
Comment 3 2011-05-13 14:24:24 PDT
Because nothing is in the object store.
WebKit Commit Bot
Comment 4 2011-05-13 15:32:30 PDT
Comment on attachment 93448 [details] Patch Clearing flags on attachment: 93448 Committed r86466: <http://trac.webkit.org/changeset/86466>
WebKit Commit Bot
Comment 5 2011-05-13 15:32:35 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.