Bug 103922

Summary: IndexedDB: propagate transaction_ids through open, commit, and abort
Product: WebKit Reporter: Alec Flett <alecflett>
Component: WebCore JavaScriptAssignee: Alec Flett <alecflett>
Status: RESOLVED FIXED    
Severity: Normal CC: dgrogan, jsbell, tony, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 103921    
Bug Blocks: 103923    
Attachments:
Description Flags
Patch
none
Patch none

Description Alec Flett 2012-12-03 13:36:54 PST
IDBFactory.open() and IDBOpenRequest.onUpgradedNeeded() require a transaction id to originate on the frontend, rather than the backend.

This patch mints a new transaction id in open() then reflects it back through onUpgradeNeeded so the frontend can hook it up there.
Comment 1 Alec Flett 2012-12-07 09:48:05 PST
Created attachment 178231 [details]
Patch
Comment 2 Alec Flett 2012-12-07 10:03:50 PST
Comment on attachment 178231 [details]
Patch

actually wait there was one more thing I wanted to get into this patch.
Comment 3 Alec Flett 2012-12-07 10:56:26 PST
Created attachment 178241 [details]
Patch
Comment 4 David Grogan 2012-12-07 14:23:43 PST
Comment on attachment 178241 [details]
Patch

lgtm
Comment 5 Alec Flett 2012-12-07 14:42:29 PST
tony@ - r?
Comment 6 WebKit Review Bot 2012-12-07 15:21:01 PST
Comment on attachment 178241 [details]
Patch

Clearing flags on attachment: 178241

Committed r136992: <http://trac.webkit.org/changeset/136992>
Comment 7 WebKit Review Bot 2012-12-07 15:21:04 PST
All reviewed patches have been landed.  Closing bug.