Closed
Bug 132633
Opened 24 years ago
Closed 24 years ago
navigator.appVersion no longer returns OS version !
Categories
(Core :: Networking: HTTP, defect, P1)
Core
Networking: HTTP
Tracking
()
VERIFIED
FIXED
mozilla1.0
People
(Reporter: xenite, Assigned: darin.moz)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
|
676 bytes,
patch
|
bzbarsky
:
review+
rpotts
:
superreview+
scc
:
approval+
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9+)
Gecko/20020321
BuildID: 20020321
When the JavaScript on the ABC-news webpage checks navigator.appVersion only the
string "5.0 (5.0; en-US)" is returned. Since the operating system string
"Windows" is no longer returned, the JavaScript can not detect that I am using
Mozilla and loads the default CSS instead of the Netscape 6 CSS.
Reproducible: Always
Steps to Reproduce:
1. go to http://www.abcnews.go.com/
Actual Results: Mozilla loads and uses ABC_default.css
Expected Results: Mozilla should load and use ABC_net6_win.css as it still did
with build 20020320 !!
Comment 1•24 years ago
|
||
Browser, not engine ---> DOM Level 0
Assignee: rogerl → jst
Component: JavaScript Engine → DOM Level 0
QA Contact: pschwartau → desale
Comment 2•24 years ago
|
||
Phil, are you only suggesting that change, or did you mean to do it yourself?
Still filed under engine...
p.s. I don't know anything about the Mozilla code, or really about C++, but
mucking about lxr and bonsai (just for curiosity's sake) points to the fix for
bug 128508 as a possible culprit. Big checkin...
Component: DOM Level 0 → JavaScript Engine
Comment 3•24 years ago
|
||
Yep. This is broken on Linux too, and Darin is the most likely culprit...
ccing timeless (can we move all this out of http please?)
Assignee: jst → darin
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → Networking
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
| Assignee | ||
Comment 4•24 years ago
|
||
right, most likely a regression from my changes to nsHttpProtocolHandler...
Severity: major → critical
Status: NEW → ASSIGNED
Keywords: regression
Priority: -- → P1
Target Milestone: --- → mozilla1.0
| Assignee | ||
Comment 5•24 years ago
|
||
oops!!
Comment 6•24 years ago
|
||
Comment on attachment 75482 [details] [diff] [review]
v1 patch
r=bzbarsky
Attachment #75482 -
Flags: review+
Updated•24 years ago
|
Attachment #75482 -
Flags: superreview+
Comment 7•24 years ago
|
||
Comment 8•24 years ago
|
||
Comment on attachment 75482 [details] [diff] [review]
v1 patch
a=scc
Attachment #75482 -
Flags: approval+
| Assignee | ||
Comment 9•24 years ago
|
||
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 10•23 years ago
|
||
Verified fixed on Win2000, OSX 10.2.2 and Linux. Put this in the URL bar and
press enter - javascript:alert(navigator.appVersion)
Status: RESOLVED → VERIFIED
QA Contact: benc → junruh
Comment 11•23 years ago
|
||
I'm using Mozilla trunk 20021115xx on WinNT 4.0(SP6). Look at the
difference between Moz and IE6 when I try |navigator.appVersion|:
IE6 ---> 4.0 (compatible; MSIE 6.0; Windows NT 4.0)
Moz ---> 5.0 (Windows; en-US)
Is it OK that Moz only detects "Windows" and not "NT 4.0"?
For comparison, here's what N4.7 does on the same box:
N4.7---> 4.7 [en]C-AOLNSCP (WinNT; U)
You need to log in
before you can comment on or make changes to this bug.
Description
•