On Nov 17, 2010, at 14:40, Glenn R. Martin wrote:

> 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.

Seems to work for me on a secured connection (HTTPS)...

-Laurent.
-- 
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin                                 
http://www.nemesys-soft.com/
Logiciels Nemesys Software                                              
laur...@nemesys-soft.com

_______________________________________________

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