[Project_owners] Not aborting scripts.

Robin Monks devlinks at gmail.com
Thu Jun 24 18:50:19 EDT 2004


Perhaps breaking up the data in you script would help a bit.

-Robin

On Thu, 24 Jun 2004 11:48:06 -0400, Christopher Ottley
<xknight at users.sourceforge.net> wrote:
> 
> Hello all,
> 
> I've been testing my extension with the released version of Firefox 0.9
> for Linux and in one of my tests I get the following message:
>   "A script on this page is causing mozilla to run slowly. If it
> continues to run, your computer may become unresponsive. Do you want to
> abort the script?"
>   If I press cancel each time this comes up, eventually my script
> finishes. Is there a way to disable this? I tried setting the preference
> dom.max_script_run_time to 600 (was originally 5) but no effect.
> Alternatively, is there an explicit thread yield type function in
> Javascript that I can use in Mozilla so this isn't an issue at all? My
> test case is a bit excessive, manipulating 400+ KB of a string, but it
> is a possible case when using my extension.
> 
> Thanks.
> Christopher.
> 
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>


More information about the Project_owners mailing list