You can't restore a page from only the serialized DOM.
The CachedPage class may help.

2009/7/13 Luka Napotnik <[email protected]>

> Hello.
>
> I want to partially prevent the user from loosing focus from the
> current page being displayed. As I see, this can be done by saving the
> current state of webkit which means serializing the DOM tree. But I
> don't know if traversing the DOM tree is sufficient and which
> information is relevant to restore the previous state. Is there
> already some API for session restoration?
>
> Greets,
> Luka
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to