RESOLVED FIXED 58075
WebBackForwardList::createCFDictionaryRepresentation's current item index doesn't account for items removed by filter callback
https://bugs.webkit.org/show_bug.cgi?id=58075
Summary WebBackForwardList::createCFDictionaryRepresentation's current item index doe...
Mark Rowe (bdash)
Reported 2011-04-07 13:41:55 PDT
If the filter callback removes an item then the current item index will be off by one! This can cause the session state to restore to the wrong item or to fail to restore all together if the current item was the last item in the back/forward list. <rdar://problem/9251566>
Attachments
Patch (4.11 KB, patch)
2011-04-07 13:42 PDT, Mark Rowe (bdash)
mitz: review+
Mark Rowe (bdash)
Comment 1 2011-04-07 13:42:17 PDT
WebKit Review Bot
Comment 2 2011-04-07 13:44:20 PDT
Attachment 88687 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1 Source/WebKit2/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Mark Rowe (bdash)
Comment 3 2011-04-07 13:59:56 PDT
Landed in r83206.
Note You need to log in before you can comment on or make changes to this bug.