raygun4js error on older version of FireFox
brunelli
Posted on
Jun 07 2014
In FireFox 3.6, raygun4js is throwing an error:
This has caused problems with some of the core functionality on our site, so I am going to have to remove it. Do you only support certain browser versions? I hoped that if Raygun ever failed it would so so silently.. Am I doing something wrong on my end?
Callum
Posted on
Jun 09 2014
Thanks for reporting this one, the provider traditionally has limited support for the deprecated browsers of this era (IE8 in particular) so this bug slipped through the cracks for FF 3.6. This particular browser has several known issues around localStorage support, one of which triggered the error above. I have put in a guard for this condition and another one (where disabling cookies support causes access to localStorage to throw an error), which allows the provider to work correctly for me locally on FF 3.6. If you can grab the script from the branch below, give it a test and confirm it works on your site I can get it merged in to master and deployed.
https://github.com/MindscapeHQ/raygun4js/tree/ff3.6-localstorage-bug/dist
brunelli
Posted on
Jul 04 2014
I was finally able to try this and it looks like the localstorage bug is fixed. Thanks!
John
Callum
Posted on
Jul 04 2014
Good to hear - if you haven't already got it this fix is in the latest release of the library.
Cheers,
Callum