Summary: | Port Mozilla's IndexedDB tests: indexes with keys and key ranges | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mark Pilgrim (Google) <pilgrim> | ||||
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, dgrogan, fishd, hans, pilgrim, tony | ||||
Priority: | P3 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Mark Pilgrim (Google)
2011-05-12 15:28:39 PDT
Created attachment 93358 [details]
Patch
Comment on attachment 93358 [details]
Patch
I think this is fine, but a couple questions:
- Are the results deterministic? It looks like multiple database queries get queued up. Will they always get resolved in the same order?
- How long does this test take to run?
In my testing the results are deterministic and nowhere near the timeout threshold. Less than one second on my poor old laptop. Comment on attachment 93358 [details]
Patch
Ok, I suspect this is fine because queries always get answered in the order they come in. Ideally, tests should be only tens of ms, but under a second isn't terrible.
Comment on attachment 93358 [details] Patch Clearing flags on attachment: 93358 Committed r86457: <http://trac.webkit.org/changeset/86457> All reviewed patches have been landed. Closing bug. |