Closed Bug 6090 Opened 25 years ago Closed 25 years ago

userAgent/appVersion strings on NT reports Win95 instead of WinNT

Categories

(Core :: Networking, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 10465

People

(Reporter: ekrock, Assigned: jud)

References

()

Details

Here is the Nav4.51 userAgent/appVersion strings on WinNT: navigator.userAgent Mozilla/4.51 [en]C-NSCP (WinNT; U) navigator.appVersion 4.51 [en]C-NSCP (WinNT; U) Here they are on AppRunner M5 on WinNT: navigator.userAgent Mozilla/5.0 [en] (Win95; I) navigator.appVersion 5.0 [en] (Win95; I) This misleads client sniffers.
Assignee: norris → gagan
Component: JavaScript → Networking Library
Status: NEW → ASSIGNED
Target Milestone: M7
dup...
QA Contact: 4590 → 4015
QA Contact: 4015 → 4616
This bug seems duplicate of bug# 806, and bug# 6054, but I think they are not exactly same. Both of those bugs just talk about userAgent. Bug 6054 is for win-98. All of these three bugs don't talk about navigator.platform and I think I need to add that. I tested these things on todays [1999-05-07-08] builds and they return wrong values. Here is test I conducted today. Product: Semonkey. [apprunner/viewer] Build: 1999-05-07-08. OS: WinNT, Win98. Steps to Reproduce Crash: 1] Please copy HTML code I'm providing. 2] Save it on your local drive, and open this HTML file in apprunner as well as viewer [On WinNT as well as Win98]. 3]This file will show you list of three navigator properties. navigator.appversion, navigator.platform, navigator.userAgent. 4] compare results with expected results. Expected Results: WinNT: navigator.appVersion = 5.0 [en] (WinNT; I) Navigator.platform = WinNT Navigator.userAgent = Mozilla/5.0 [en] (WinNT; I) Win98: navigator.appVersion = 5.0 [en] (Win98; I) Navigator.platform = Win98 Navigator.userAgent = Mozilla/5.0 [en] (Win98; I) Actual Results: WinNT as well as Win98: navigator.appVersion = 5.0 [en] (Win95; I) Navigator.platform = Win95 Navigator.userAgent = Mozilla/5.0 [en] (Win95; I) Code: <html> <head> <title>Test Page</title> </head> <body > <form name="workform"> <SCRIPT LANGUAGE="JavaScript1.1"> document.writeln("<h3>"); document.writeln("Navigator Properties"); document.writeln("</h3>"); document.writeln("navigator.appVersion = "); document.writeln(window.navigator.appVersion); document.writeln("<br>"); document.writeln("Navigator.platform = "); document.writeln(window.navigator.platform); document.writeln("<br>"); document.writeln("Navigator.userAgent = "); document.writeln(window.navigator.userAgent); document.writeln("<br>"); </SCRIPT> </form> </body> </html> End of Code.
Target Milestone: M7 → M8
necko -> m8
Blocks: 7232
I'm moving this to target M9, Necko will be enabled somewhere during late M8 or early M9. We will need to get on this and it cannot be postponed past the M9 milestone.
Changing all Networking Library/Browser bugs to Networking-Core component for Browser. Occasionally, Bugzilla will burp and cause Verified bugs to reopen when I do this in a bulk change. If this happens, I will fix. ;-)
Assignee: gagan → valeski
Status: ASSIGNED → NEW
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 10465 ***
Status: RESOLVED → VERIFIED
Verified.
Bulk move of all Networking-Core (to be deleted component) bugs to new Networking component.
You need to log in before you can comment on or make changes to this bug.