[Webkit-unassigned] [Bug 69358] Allow creating new pages with a existing back forward list

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 19 07:44:00 PDT 2011


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





--- Comment #5 from Brady Eidson <beidson at apple.com>  2011-10-19 07:44:00 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > Safari on Lion also restores back/forward list from disk when you relaunch it, so there's definitely a way to do it outside of WebProcess crash recovery.
> 
> Yes, there's WebPageProxy::restoreFromSessionStateData(), but it's still different from creating a page with a given bf list object, so that when WebPageProxy::initializeWebPage() is called, the page already has the bf list we want.

SessionStateData contains the back/forward list, amongst other things.  The number of things it contains in the future might grow.  Most of these things will likely be desirable for people who think they actually just want the list of URLs in the back/forward list.

And if there's anything you don't want in there (I'd love to hear why you don't if there is anything), we could add filtering functions.

Having a freely mutable back/forward list in the WebKit 1 API turned out to be a mistake, and we're not interested in replicating that mistake in WebKit 2.  Treating a "session" as an opaque object that you can extract from a page and restore in to another page should be the only way to do this.

Note that the use case you gave in your initial report is entirely and cleaning fulfilled by this!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list