Bug 207437

Summary: IndexedDB: iteration of cursors skip records if deleted
Product: WebKit Reporter: Sihui Liu <sihui_liu>
Component: New BugsAssignee: Sihui Liu <sihui_liu>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, alecflett, beidson, cdumez, commit-queue, ews-watchlist, jsbell, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 190917    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch for landing
none
Patch for landing
none
Patch none

Sihui Liu
Reported 2020-02-08 21:08:32 PST
https://bugs.webkit.org/show_bug.cgi?id=190917 did not fix the issue correctly. When records with same index key are deleted before cursor comes to their position, cursor would not be able to visit them. See modified test for the issue.
Attachments
Patch (14.49 KB, patch)
2020-02-08 21:48 PST, Sihui Liu
no flags
Patch (20.29 KB, patch)
2020-02-11 14:25 PST, Sihui Liu
no flags
Patch (24.35 KB, patch)
2020-02-11 14:53 PST, Sihui Liu
no flags
Patch for landing (22.63 KB, patch)
2020-02-11 16:46 PST, Sihui Liu
no flags
Patch for landing (22.64 KB, patch)
2020-02-11 16:47 PST, Sihui Liu
no flags
Patch (55.23 KB, patch)
2020-02-12 13:40 PST, Sihui Liu
no flags
Sihui Liu
Comment 1 2020-02-08 21:48:35 PST
Sihui Liu
Comment 2 2020-02-11 14:25:53 PST
Sihui Liu
Comment 3 2020-02-11 14:53:30 PST
Brady Eidson
Comment 4 2020-02-11 16:27:23 PST
Comment on attachment 390440 [details] Patch Two copies of the ChangeLog
Sihui Liu
Comment 5 2020-02-11 16:46:11 PST
Created attachment 390465 [details] Patch for landing
Sihui Liu
Comment 6 2020-02-11 16:47:40 PST
Created attachment 390466 [details] Patch for landing
WebKit Commit Bot
Comment 7 2020-02-11 17:05:53 PST
Comment on attachment 390466 [details] Patch for landing Clearing flags on attachment: 390466 Committed r256414: <https://trac.webkit.org/changeset/256414>
WebKit Commit Bot
Comment 8 2020-02-11 17:05:55 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9 2020-02-11 17:06:18 PST
Sihui Liu
Comment 10 2020-02-12 13:40:39 PST
Reopening to attach new patch.
Sihui Liu
Comment 11 2020-02-12 13:40:40 PST
Sihui Liu
Comment 12 2020-02-12 13:43:04 PST
Patch is associated to the wrong bug..
Note You need to log in before you can comment on or make changes to this bug.