Closed
Bug 347777
Opened 19 years ago
Closed 19 years ago
Intel Mac should be detected as Hardware: PC rather than Hardware: Mac
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Bugzilla
Creating/Changing Bugs
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: asa, Assigned: timeless)
Details
Attachments
(1 file, 1 obsolete file)
778 bytes,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
Assuming that we've decided that Platform/Hardware really means "CPU Architecture" or similar, the Intel Macs should be detected as PC:Macintosh rather than Macintosh:Macintosh.
Alternately, we could just convert the existing label to Mac-PPC and add a new item for Intel-Mac, but we'd still have to update the detection logic to do the right thing.
This is getting increasingly more important for bmo as more and more bugs are turning out to be PPC or Intel Mac specific.
Comment 1•19 years ago
|
||
What UserAgent does Firefox on a MacIntel send?
Reporter | ||
Comment 2•19 years ago
|
||
I get this from About:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1b1) Gecko/20060807 BonEcho/2.0b1
this has been on my list for a whlie, but i didn't have a useragent, and boy does theirs *suck*. ok.
before i post a patch, could someone get me useragents for omniweb, opera, safari, safari-ppc(rosetta), msie(rosetta), camino
it should be sufficient to load:
javascript:navigator.userAgent in each of them.
Comment 5•19 years ago
|
||
All on Intel:
Opera/9.00 (Macintosh; Intel Mac OS X; U; en)
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1a3) Gecko/20060626 Camino/1.0+
Safari and OmniWeb don't support me just going to javascript:navigator.userAgent. How else would you like me to get the UA? Also, I don't have MacIE on this machine to see if it even runs well under Rosetta.
Comment 6•19 years ago
|
||
Safari (Intel and under Rosetta):
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/418.8 (KHTML, like Gecko) Safari/419.3
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.8 (KHTML, like Gecko) Safari/419.3
OmniWeb (Intel, not under Rosetta):
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/420+ (KHTML, like Gecko, Safari/420) OmniWeb/v601
Still don't have MacIE. But I'd guess it'll say "PPC Mac OS X"...
well research so far shows no harmful crossover. (ignoring omniweb, which i think i noticed when i researched this a while ago.)
Assignee: create-and-change → timeless
Status: NEW → ASSIGNED
Attachment #232607 -
Flags: review?(justdave)
Comment 8•19 years ago
|
||
Comment on attachment 232607 [details] [diff] [review]
support intel
>+ /\(.*Intel.*\)/ && do (@platform = "PC"; last;};
You have a paren here that needs to be a brace.
Attachment #232607 -
Flags: review?(justdave) → review-
Attachment #232607 -
Attachment is obsolete: true
Attachment #232609 -
Flags: review?(justdave)
Comment 10•19 years ago
|
||
Comment on attachment 232609 [details] [diff] [review]
support intel
Looks good. This is clean on 2.20 and you have permission to commit on both 2.20 and 2.22 as well as trunk. It's live on b.m.o already
Attachment #232609 -
Flags: review?(justdave) → review+
Updated•19 years ago
|
Flags: approval2.22+
Flags: approval2.20+
Flags: approval+
Whiteboard: [applied to b.m.o]
![]() |
||
Updated•19 years ago
|
Target Milestone: --- → Bugzilla 2.20
![]() |
||
Comment 11•19 years ago
|
||
As usual, timeless forgot to close this bug and report new file versions. :)
tip:
mozilla/webtools/bugzilla/enter_bug.cgi 1.144
2.22:
mozilla/webtools/bugzilla/enter_bug.cgi 1.126.2.1
2.20:
mozilla/webtools/bugzilla/enter_bug.cgi 1.114.4.4
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 12•19 years ago
|
||
This is incorrect. Mac OS X does not run on generic PC hardware, and classifying it that way is confusing. Please reverse this.
Reporter | ||
Comment 13•19 years ago
|
||
The platform field should be renamed to CPU and the PC item should be renamed X86. Absent that, PC/Mac, Mac/Mac, and All/Mac is the only consistently queryable way to distinguish between bugs that impact the different Mac platforms.
Updated•19 years ago
|
Whiteboard: [applied to b.m.o]
You need to log in
before you can comment on or make changes to this bug.
Description
•