DamonOehlman / detect-browser

Unpack a browser type and version from the useragent string

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug on old Firefox <= V38

GLBaird opened this issue · comments

TypeError: can't supply flags when constructing one RegExp from another

Code causes critical failure of app. Have had to remove this code to use a more reliable browser detection. Sadly.

This happens in old versions of browsers, can confirm FF38 and less -- only tested and confirmed on FireFox, possibly happens on others too.

After further testing decided I could not prove this was your framework, but could be something else in the app stack.