Firefox crashes when I restart after installation of addon....
Implementation Details: We have developed a stream player to play the course file for our client Learn. This stream player is added as extension on Firefox. Whenever user try to go through the course then system check whether extension is installed or not. If it is not installed then system provides the page to download the extension and install it. After installation of Firefox, user restarts the Firefox to use the newly installed extension for playing the course. This time when the Firefox page loads, it crashes
Reason of Firefox Crash: First time when user install the extension and restart the Firefox to launch the course using following HTML file, Firefox crashes at that moment.
Start of Source Code of HTML File----------------------------------------
HTML
BODY
SCRIPT Language=Javascript Src='PlayerFunctions.js'
SCRIPT Language=Javascript Src='Player_Routing.js'
SCRIPT Language=Javascript Src='Parse.js'
BODY
HTML
End of Source Code of HTML File----------------------------------------
Above mentioned Javascript files contain the actual functions to install and launch the stream player. After debugging the JavaScript file, we have observed that QueryParse.js file is getting called repetitively which lead to infinite call of launch player function and Firefox crashes. once we start firefox with new session then it works fine.
Can anyone had such type of problem in the past? if so please provide the solution to overcome with this issue.
User Agent
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8)