Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Safari and settimeout javascript function

lsamainFeb 20 2014 — edited Mar 5 2014

Hello,

I post on this forum because I have a problem with a JavaScript application on Safari 6 and 7.

The application updates a smartcard on a website, through a JAVA applet using JavaScript requests.

There is no problem with other browsers.

On Safari , randomly (1 smartcard's update on 10), the javascript completely freezes in the middle of an update (on a random card).

After 5 minutes exactly, the javascript resumes, and 2 behaviors happens : the update wether continues or stops completely.

We investigated a lot about this problem , at network and memory level.

We use a lot of "setTimeOut" function (approximately 1100 times), and read that setTimeOut could cause problems with memory management on Safari.

Does anyone have any ideas about this problem?

Does setTimeOut can freeze safari ?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2014
Added on Feb 20 2014
3 comments
840 views