[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:05:03 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=159410

--- Comment #7 from Brady Eidson <beidson at apple.com> ---
(In reply to comment #6)
> (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?

-Take the session state blob
-Restore without navigating
-Make a new session state blob, but filter out the bad url.
-Restore the new session state blob

-- 
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/3259a1a7/attachment-0001.html>


More information about the webkit-unassigned mailing list