Summary: | IndexedDB: deleteDatabase fails if transaction running in other database | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Joshua Bell <jsbell> | ||||||||
Component: | WebCore Misc. | Assignee: | Joshua Bell <jsbell> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | alecflett, dgrogan, jochen, tony, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Joshua Bell
2012-07-09 14:12:04 PDT
Created attachment 151319 [details]
Patch
dgrogan@, alecflett@ - take a look? +jochen@, in case he remembers a reason it wasn't done like this in the first place. Comment on attachment 151319 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=151319&action=review Interested to see if Jochen remembers anything. Not like he's been busy since or anything :) > LayoutTests/storage/indexeddb/deletedatabase-transaction.html:39 > + request.onerror = unexpectedErrorCallback; Could you add request.onblocked = unexpectedBlockedCallback ? Comment on attachment 151319 [details] Patch IIRC a prior version of the patch used some methods that just used the default transaction. That patch looks good View in context: https://bugs.webkit.org/attachment.cgi?id=151319&action=review > LayoutTests/storage/indexeddb/deletedatabase-transaction.html:31 > + debug(""); nit. indent 4 spaces Created attachment 151349 [details]
Patch
Created attachment 151352 [details]
Patch
(In reply to comment #4) > Could you add request.onblocked = unexpectedBlockedCallback ? Done. (In reply to comment #5) > nit. indent 4 spaces Fixed. tony@ - r? Comment on attachment 151352 [details] Patch Clearing flags on attachment: 151352 Committed r122179: <http://trac.webkit.org/changeset/122179> All reviewed patches have been landed. Closing bug. |