firefox-client icon indicating copy to clipboard operation
firefox-client copied to clipboard

Connection error handling RangeError: Maximum call stack size exceeded

Open auchenberg opened this issue 10 years ago • 2 comments

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

auchenberg avatar Jan 23 '14 14:01 auchenberg

I can't reproduce this /:

harthur avatar Mar 07 '14 00:03 harthur

I'll try to dig deeper with steps to reproduce. Thanks for looking into it :)

auchenberg avatar Mar 12 '14 08:03 auchenberg