Bug 153791 - Modern IDB: storage/indexeddb/cursor-continue-validity.html fails
Summary: Modern IDB: storage/indexeddb/cursor-continue-validity.html fails
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brady Eidson
Depends on:
Blocks: 149117 153021
  Show dependency treegraph
Reported: 2016-02-02 10:40 PST by Brady Eidson
Modified: 2016-02-02 12:52 PST (History)
4 users (show)

See Also:

Patch v1 (28.47 KB, patch)
2016-02-02 11:31 PST, Brady Eidson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.