I wrote this simple code to return my browser's name, because I've never tested this in Firefox:
In, Firefox, it returns "Netscape 5." I uploaded a screen shot.
*sorry for all the blacked out things in the screenshot. You can never be too careful*