Re: Web Kit creating hundreds of Java threads
Re: Web Kit creating hundreds of Java threads
- Subject: Re: Web Kit creating hundreds of Java threads
- From: Douglas Davidson <email@hidden>
- Date: Wed, 25 Jun 2003 09:00:54 -0700
On Wednesday, June 25, 2003, at 07:36 AM, Matt Gough wrote:
Is there anyway of getting Web Kit to avoid Java entirly?
Look at WebPreferences. Also should allow you to turn off JavaScript,
plugins, etc. if you so desire.
Is there any way of just getting Web Kit to be used in a one-shot way
(i.e
not for browsing, just for synchronous rendering.)
I believe that by design WebKit is asynchronous throughout. Rather
than simply running for a specified time, you can use the various
delegate APIs to find out when certain things have completed--for
example, the frame load delegate is called when a frame (such as the
main frame) loads or fails to load. You can combine that with a
timeout in case the site fails to respond.
There are other things you may wish to consider, e.g. authentication
challenges, redirects, policy for different MIME types, and so forth.
WebKit is a large API set--due primarily to the complexity of the web
today--and you'll want to explore it.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.