firefox-client
                                
                                 firefox-client copied to clipboard
                                
                                    firefox-client copied to clipboard
                            
                            
                            
                        Connection error handling RangeError: Maximum call stack size exceeded
If the client can't connect to it's host, an error event is emitted, which is then handled by browser.js, but something goes wrong in the error handling (looks like recursion), which ends up in a RangeError: Maximum call stack size exceeded exception.
Cause
Unknown.
Workaround:
Rename the emitted error event name to something else than error.
https://github.com/harthur/firefox-client/blob/master/lib/browser.js#L51
I can't reproduce this /:
I'll try to dig deeper with steps to reproduce. Thanks for looking into it :)