<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - WebKit2 Removed API to change WebKit2.BackwardForwardList"
href="https://bugs.webkit.org/show_bug.cgi?id=147525#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - WebKit2 Removed API to change WebKit2.BackwardForwardList"
href="https://bugs.webkit.org/show_bug.cgi?id=147525">bug 147525</a>
from <span class="vcard"><a class="email" href="mailto:beidson@apple.com" title="Brady Eidson <beidson@apple.com>"> <span class="fn">Brady Eidson</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=147525#c2">comment #2</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=147525#c1">comment #1</a>)
> > 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 <a href="show_bug.cgi?id=147525#c0">comment #0</a>). This was to facilitate the
> desired design of the user being able to restore the browser state.</span >
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);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>