[Webkit-unassigned] [Bug 159410] Add a SPI to remove the current item in WKBackForwardList.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 5 10:00:43 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=159410
--- Comment #6 from Yongjun Zhang <yongjun_zhang at apple.com> ---
(In reply to comment #5)
> Comment on attachment 282747 [details]
> Fix style issue.
>
> We've resisted APIs to directly manipulate the back/forward list for the
> entirety of WK2.
>
> Every time we've heard that one is needed, we've always found an alternate.
>
> Why is this needed?
Sometimes when we restore the saved session state from disk, we would like to skip the current item (to prevent crash-loop if the app crashed because of loading the URL in current item). We can't just do bfList->back since that would make it possible to go forward and crash again if user swipes forward.
Seems like there isn't a good way to achieve this with the current API/SPI. Any suggestions?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160705/6a258a2d/attachment.html>
More information about the webkit-unassigned
mailing list