Hi there, I have problem with my js component (I write it for Songbird), it has a method that copies a directory tree from hard drive to a flash drive, it often take too long to complete and SB pop up a warning message "Unresponsive script....". And I have to click "continue" many times until the the method complete its job. I have heard about a solution that can solve the problem (the idea is to split the job into small peaces of work (maybe one file for each), a small function will complete the peaces one by one when it get called, then use window.setInterval() or window.setTimeout() for the small function). But it provide no help because I cannot use window.setInterval() or window.setTimeout() inside my component. So, could anyone help me. Many thanks for any respond.
Max _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
