[webkit-dev] Turning off rendering in WebKit

Adam Treat treat at kde.org
Mon Jan 12 10:18:18 PST 2009

On Monday 12 January 2009 12:25:05 pm Shariq Rizvi wrote:
> I am using WebKit to piggy-back on the non-rendering phases of WebKit's
> loading of a page (parsing, DOM creation, onload-time Javascript
> execution), for doing some dynamic analysis of the in-memory objects that
> result after these phases.
> Hence, I want to disable the actual "rendering" of visible objects (I don't
> need to "see" any window). So far, I have been using Xvfb (X Virtual Frame
> Buffer) to have my application send its window into this fake X server. Is
> there an even better approach - perhaps a macro/flag that I can turn off so
> that WebKit does not graphically render anything?
> Thanks!

Not sure what port you are using, but perhaps put in a 'return;' at the 
beginning of Frame::paint(...) ?


More information about the webkit-dev mailing list