Closed
Bug 29286
Opened 26 years ago
Closed 26 years ago
navigator.platform returning X11 on Linux.
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: desale, Assigned: jud)
Details
Attachments
(1 file)
|
182 bytes,
text/html
|
Details |
navigator.platform returns X11 on linux. navigator.platform is a platform under
which you are running application.
X11 is X-windows protocol but not a platform.
BUILDS: 02-24-09, 02-24-15.
STEPS TO REPRODUCE:
1] Please load attachment I'm going to provide with above specified builds.
OR
1] Please copy HTML code I'm providing. Save it as HTML file.
2] Open this HTML file with above specified builds.
EXPECTED RESULTS:
Navigator.platform = Linux
ACTUAL RESULTS:
Navigator.platform = X11
TESTCASE CODE START:
<HTML>
<HEAD><TITLE>Navigator Platoform</TITLE>
</HEAD>
<BODY>
<SCRIPT>
<!--
document.write('Navigator.platform = ' + navigator.platform);
//-->
</SCRIPT>
</BODY>
</HTML>
TESTCASE CODE END:
| Reporter | ||
Comment 1•26 years ago
|
||
Comment 2•26 years ago
|
||
The platform comes from the user agent string. Passing along to Judson since he
owns the implementation of the interface through which we get this information.
Assignee: vidur → valeski
| Assignee | ||
Comment 3•26 years ago
|
||
This is intended. please see the user agent spec on mozilla (email
cbegle@mozilla.org for a pointer if you can't find it). There's also a thread on
npm.netlib regarding the new format, please post concerns there.
The OSCPU field (which returns a string including "Linux") should be exposed
through the js object, see http://bugzilla.mozilla.org/show_bug.cgi?id=30067
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•