[webkit-gtk] Clearing the WebKitBackForwardList in WebKit2

Michael Catanzaro mcatanzaro at igalia.com
Fri Mar 17 05:34:57 PDT 2017


On Fri, 2017-03-17 at 00:28 -0400, Scott Talbert wrote:
> It appears the only way to get a new WebKitWebViewSessionState is by 
> deserializing one.  Are you suggesting to serialize one, say, at
> startup, 
> and then deserialize/restore it to clear the back forward list?

No, I incorrectly thought it might be possible to create an empty
state, but it's not. That was probably too odd of a workaround anyway.

> I was going to ask you how Epiphany does it, but it seems that it
> doesn't 
> work quite right there...the back/forward buttons seem to stop
> working 
> after clearing history.

Youch, good find. Clearing history shouldn't have any effect at all on
the back/forward list. That's an Epiphany-level bug.

Michael


More information about the webkit-gtk mailing list