-
September 19th, 2008, 09:33 AM
#1
Firefox 3.x --> error on unload
We had a strange issue with Firefox 3.x when an exception is thrown during the execution of an onStatusChange callback during the onunload event of a page.
What happens when a page that contains an engine is closed/refreshed is that the client (obviously
) disconnects from the server generating an onStatusChange("DISCONNECTED") call.
If during such execution the callback throws an exception and the setDebugAlertsOnClientError is set to true an alert is shown.
After that alert the tab that contained the closed page will never execute any setTimeout on any page.
This should never be a problem in production environments as you should have your setDebugAlertsOnClientError set to false there, btw can be a difficult-to-understand-situation during development.
Similar Threads
-
By quanhm in forum Client SDKs
Replies: 1
Last Post: May 16th, 2008, 03:50 PM
-
By jameswolfe in forum Client SDKs
Replies: 5
Last Post: August 27th, 2007, 01:24 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 10:20 PM.
Bookmarks