[webkit-dev] saving the current state of webkit

n179911 n179911 at gmail.com
Mon Jul 13 09:27:59 PDT 2009


On Mon, Jul 13, 2009 at 3:37 AM, ZHOU Xiao-bo<zhxb.ustc at gmail.com> wrote:
> You can't restore a page from only the serialized DOM.
> The CachedPage class may help.

>
 I have looked at CachedPage.h, but I don't see any method to
serialize the cached page to files and then de-serialize it later.
Can you please tell me how can I do that with cached page?


> 2009/7/13 Luka Napotnik <luka.napotnik at gmail.com>
>>
>> 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
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>


More information about the webkit-dev mailing list