Bug 151484

Summary: Modern IDB: Get IDBRequest.readyState right
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, alecflett, commit-queue, jer.noble, jsbell
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 149117    
Attachments:
Description Flags
Patch v1 none

Description Brady Eidson 2015-11-19 22:23:24 PST
Modern IDB: Get IDBRequest.readyState right

Not much effort gone in to getting it right so far.

Revealed on many of the legacy tests, such as storage/indexeddb/mozilla/add-twice-failure.html
Comment 1 Brady Eidson 2015-11-19 22:31:23 PST
(In reply to comment #0)
> Modern IDB: Get IDBRequest.readyState right
> 
> Not much effort gone in to getting it right so far.

Actually, it appears we do keep the flag updated appropriately, but we just never returned the correct string for the readyState accessor.

Doh!
Comment 2 Brady Eidson 2015-11-20 09:41:28 PST
Created attachment 265963 [details]
Patch v1
Comment 3 WebKit Commit Bot 2015-11-20 10:55:17 PST
Comment on attachment 265963 [details]
Patch v1

Clearing flags on attachment: 265963

Committed r192686: <http://trac.webkit.org/changeset/192686>
Comment 4 WebKit Commit Bot 2015-11-20 10:55:20 PST
All reviewed patches have been landed.  Closing bug.