Bug 153791

Summary: Modern IDB: storage/indexeddb/cursor-continue-validity.html fails
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, alecflett, commit-queue, jsbell
Priority: P2    
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 149117, 153021    
Attachments:
Description Flags
Patch v1 none

Description Brady Eidson 2016-02-02 10:40:39 PST
Modern IDB: storage/indexeddb/cursor-continue-validity.html fails

It goes through a long series of mutations to an index while iterating the index with an index cursor.

In the good case, while on the last cursor record, it updates the object store record such that there should be an additional index record that the cursor should advance to.

In the bad case, the update happens but the index cursor doesn't realize there's a new "last record" and claims to be finished.
Comment 1 Brady Eidson 2016-02-02 11:31:12 PST
Created attachment 270499 [details]
Patch v1
Comment 2 WebKit Commit Bot 2016-02-02 12:51:56 PST
Comment on attachment 270499 [details]
Patch v1

Clearing flags on attachment: 270499

Committed r196025: <http://trac.webkit.org/changeset/196025>
Comment 3 WebKit Commit Bot 2016-02-02 12:52:00 PST
All reviewed patches have been landed.  Closing bug.