Closed
Bug 416272
Opened 16 years ago
Closed 15 years ago
SHOWFOR does not detect OS with other browsers
Categories
(support.mozilla.org :: Knowledge Base Software, task)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
1.3
People
(Reporter: cilias, Assigned: paulc)
References
()
Details
(Whiteboard: sumo_only showfor)
Attachments
(1 file, 1 obsolete file)
1.50 KB,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
Using either IE or Safari, go to an article using the OS selector (e.g. <http://support.mozilla.com/kb/AUS+Update+XML+File+Malformed+200>). There is no OS selected, and all content is shown. IE traffic makes up roughly 25% of sumo sessions.
Reporter | ||
Updated•16 years ago
|
Summary: SHOWFOR does detect OS with other browsers → SHOWFOR does not detect OS with other browsers
Comment 1•16 years ago
|
||
What is the default view when no OS is selected?
Reporter | ||
Comment 2•16 years ago
|
||
When no OS is selected, everything is shown. "In the Location Bar, type https://addons.mozilla.org and press EnterReturn." "Right-clickHold down the Ctrl key while you click..."
Comment 3•16 years ago
|
||
Eww.. Nelson, can we default to Windows if no OS is detected?
Comment 4•16 years ago
|
||
The problem is that navigator.oscpu does not work in those browsers. I have made changes to default to windows/fx2 if no firefox is used. Jason, do you know the detection method for Safari, or some other way? The relevant file is js/wikiplugin_showfor.js
Comment 5•16 years ago
|
||
http://www.quirksmode.org/js/detect.html
Comment 6•16 years ago
|
||
Dupe of 413667 (or other way around)?
Reporter | ||
Comment 7•16 years ago
|
||
I don't think so. Bug 413667 is a Forums bug about browser detection when using <http://support.mozilla.com/tiki-view_forum.php?locale=en-US&forumId=1&openpost=1> (I think). This bug is about OS detection in SHOWFOR.
Updated•16 years ago
|
Assignee: nelson → smirkingsisyphus
Reporter | ||
Updated•15 years ago
|
Target Milestone: --- → 1.3
Comment 8•15 years ago
|
||
Can someone confirm this is still an issue?
Reporter | ||
Comment 9•15 years ago
|
||
This is still an issue on Safari/Mac.
Reporter | ||
Comment 10•15 years ago
|
||
WRM on IE8/Vista.
Reporter | ||
Comment 11•15 years ago
|
||
s/WRM/WFM :-)
Reporter | ||
Comment 12•15 years ago
|
||
This is also an issue with Safari and Chrome on Vista.
Assignee | ||
Comment 13•15 years ago
|
||
Thanks for the links and pointers. This works like a charm with Konqueror, Firefox, and IE 6 :)
Assignee: smirkingsisyphus → paul.craciunoiu
Attachment #393081 -
Flags: review?(smirkingsisyphus)
Attachment #393081 -
Flags: review?(laura)
Updated•15 years ago
|
Attachment #393081 -
Flags: review?(laura) → review+
Comment 14•15 years ago
|
||
Comment on attachment 393081 [details] [diff] [review] patch, v1 Why do we have a special case for iphones?
Assignee | ||
Comment 15•15 years ago
|
||
My bad. I sort of just skipped over it cause it was in the quirksmode script :)
Attachment #393081 -
Attachment is obsolete: true
Attachment #394111 -
Flags: review?(laura)
Attachment #393081 -
Flags: review?(smirkingsisyphus)
Updated•15 years ago
|
Attachment #394111 -
Flags: review?(laura) → review+
Assignee | ||
Comment 16•15 years ago
|
||
r49048 / r49049
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Bringing in the big guns (mozwebqa); I could use a lot of help testing this, guys :-)
(In reply to comment #17) > Bringing in the big guns (mozwebqa); I could use a lot of help testing this, > guys :-) Testable here: http://support-stage.mozilla.org/en-US/kb/AUS+Update+XML+File+Malformed+200.
OK, honestly, I tested with my iPhone and its version of Safari, and it selects "Windows"; bizarre. (Cleared my cookies, so it's not from really unlikely previous iPhone testing.) Don't know that we care enough to special-case it to even fix this, given comment 14, but I'll leave that up to others. Vishal and I have tested the gamut of browers and it's looking good to us.
Assignee | ||
Comment 20•15 years ago
|
||
The iPhone part was removed... So, that's why :)
(In reply to comment #20) > The iPhone part was removed... So, that's why :) Originally I thought you put it in "Just because (tm)", but I now realize you actually tested with it -- silly me :-) Verified FIXED!
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Whiteboard: sumo_only showfor
You need to log in
before you can comment on or make changes to this bug.
Description
•