[Webkit-unassigned] [Bug 147525] WebKit2 Removed API to change WebKit2.BackwardForwardList

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 1 15:20:54 PDT 2015


--- Comment #3 from Brady Eidson <beidson at apple.com> ---
(In reply to comment #2)
> (In reply to comment #1)
> > Can you concisely state what you did in WK1 that you can't do in WK2?
> > Perhaps an alternative already exists, or can be implemented differently
> > than making the list client mutable.
> The users instance in a browser was saved in their journal.  The saved data
> was the back/forward list and position for each tab.  When loading the data,
> a new webview would be created and the back/forward list would be recreated
> from the data (as per the code in comment #0).  This was to facilitate the
> desired design of the user being able to restore the browser state.

In what way does saving/restoring session state not solve this?

See WKPage.h:
WK_EXPORT WKTypeRef WKPageCopySessionState(WKPageRef page, void* context, WKPageSessionStateFilterCallback urlAllowedCallback);

WK_EXPORT void WKPageRestoreFromSessionState(WKPageRef page, WKTypeRef sessionState);

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/20150801/8edff871/attachment.html>

More information about the webkit-unassigned mailing list