[webkit-dev] In-memory copy of the fetched HTML document?

Nilesh Patil vniles at gmail.com
Sun Dec 28 21:42:56 PST 2008


Source/HTMl map will be there in memory till the time page is not
refreshed or moved to other page. Try digging into rendering tree ,
Node list and all that stuff which gets constructed while rendering

Thanks & Regards

On Fri, Dec 26, 2008 at 9:53 PM, Shariq Rizvi <shariq at rizvi.org> wrote:
> I am running a Gtk+ instance of WebKit (with Curl as the HTTP backend).
> I was trying to figure out if there is an in-memory copy of the entire HTML
> document which is maintained while the document is getting downloaded and
> parsed. So far, my guess is that there is none. I can see that the
> HTMLTokenizer/HTMLParser gets called directly through the writeCallback()
> inside ResourceHandleManager.cpp - which means that tokenizing/parsing is
> getting done on the downloaded bytes as soon as they come in - with no
> buffering (of the entire document) going on.
> This makes me wonder how browsers built on top of WebKit expose a "show
> source" feature to the user.
> Thanks!
> _______________________________________________
> 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