closed #3856: Crash when Firefox connects to JSB application.