Bug 59953 - Port Mozilla's IndexedDB tests: adding and removing values
Summary: Port Mozilla's IndexedDB tests: adding and removing values
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 12:12 PDT by Mark Pilgrim (Google)
Modified: 2011-05-02 18:51 PDT (History)
6 users (show)

See Also:


Attachments
Patch (8.24 KB, patch)
2011-05-02 12:15 PDT, Mark Pilgrim (Google)
no flags Details | Formatted Diff | Diff
Patch (8.39 KB, patch)
2011-05-02 13:35 PDT, Mark Pilgrim (Google)
no flags Details | Formatted Diff | Diff
Patch (11.45 KB, patch)
2011-05-02 13:45 PDT, Mark Pilgrim (Google)
no flags Details | Formatted Diff | Diff
Updated test description (8.39 KB, patch)
2011-05-02 13:57 PDT, Mark Pilgrim (Google)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Pilgrim (Google) 2011-05-02 12:12:58 PDT
Original test: http://mxr.mozilla.org/mozilla2.0/source/dom/indexedDB/test/test_objectStore_remove_values.html?raw=1

This is a port of a test from Mozilla's IndexedDB test suite. It adds, gets, deletes, and re-gets a record in a variety of different object store configurations.

WebKit passes this test.
Comment 1 Mark Pilgrim (Google) 2011-05-02 12:15:04 PDT
Created attachment 91954 [details]
Patch
Comment 2 Tony Chang 2011-05-02 12:30:25 PDT
Comment on attachment 91954 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=91954&action=review

> LayoutTests/storage/indexeddb/mozilla/object-store-remove-values.html:20
> +description("Test IndexedDB's creating and deleting indexes");

Is this description correct?  I would just use the text from comment 0.
Comment 3 Mark Pilgrim (Google) 2011-05-02 13:35:19 PDT
Created attachment 91969 [details]
Patch
Comment 4 Mark Pilgrim (Google) 2011-05-02 13:35:48 PDT
Fixed description.
Comment 5 Mark Pilgrim (Google) 2011-05-02 13:45:25 PDT
Created attachment 91973 [details]
Patch
Comment 6 Mark Pilgrim (Google) 2011-05-02 13:46:44 PDT
Comment on attachment 91973 [details]
Patch

webkit-patch screwed up and attached a patch to the wrong bug, hang on a second.
Comment 7 Mark Pilgrim (Google) 2011-05-02 13:57:32 PDT
Created attachment 91976 [details]
Updated test description

This is the correct patch.
Comment 8 WebKit Commit Bot 2011-05-02 18:51:38 PDT
Comment on attachment 91976 [details]
Updated test description

Clearing flags on attachment: 91976

Committed r85574: <http://trac.webkit.org/changeset/85574>
Comment 9 WebKit Commit Bot 2011-05-02 18:51:43 PDT
All reviewed patches have been landed.  Closing bug.