On 17 Nov 2010, at 17:28 , cocoa-dev-requ...@lists.apple.com wrote:

> 
> JavaScript execution time is limited to 10 seconds for each top-level entry 
> point. If your script executes for more than 10 seconds, the web view stops 
> executing the script. This is likely to occur at a random place in your code, 
> so unintended consequences may result. This limit is imposed because 
> JavaScript execution may cause the main thread to block, so when scripts are 
> running, the user is not able to interact with the webpage.
> 
> 
> 
> So one of your routines (I'm guessing rcs.invoke) is taking a long time (more 
> than 10 seconds - perhaps it is waiting for some networked based action to 
> complete).  So if your JavaScript code is waiting for completion, you're 
> going to have to refactor that code to work more asynchronously and not block.

Another limitation i have noticed is that if the end point is secure (ie 
HTTPS), scripts dont seem to execute.
                                                                          

Glenn R. Martin_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to