Bug 102568
| Summary: | IndexedDB: implement priority queue for pending opens | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Grogan <dgrogan> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | alecflett, jsbell, sihui_liu |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
David Grogan
From 4.1.3 Note2:
if two databases with the same name and origin, but with different versions, are being opened at the same time, the one with the highest version will attempt to be opened first.
The current implementation does not do this.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sihui Liu
This is an old bug and the description is not true for current implementation: open requests are handled in the order the are created. E.g. For database with same name on the same origin, if request with version 0 is created earlier than request with version 1, the version 0 one will be handled first.