From: Dann <da...@to...> - 2001-01-30 15:45:59
|
Hi, Has anybody ever done some testing or wondered about the safety nature of concurrent execution of code in JS ? It struck me that this timeout gimmick has been discovered over and over again, to apparantly fix a recurring issue. It was already pointed out by Cameron, that if you could fix this kind of behaviour by using a Timeout, you probably stumbled on a browser bug... usually, in my years of fooling around with JS, a Timeout could even prevent a browser from crashing entirely. What exactly happens if you would hook load event handlers to to two images, who would fire simultaneously and call the same function, to change some common global variables ? CU, Dann |