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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: asa, Assigned: timeless)

Details

Attachments

(1 file, 1 obsolete file)

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.
What UserAgent does Firefox on a MacIntel send?
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.
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.
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"...
Attached patch support intel (obsolete) — Splinter Review
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 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-
Attached patch support intelSplinter Review
Attachment #232607 - Attachment is obsolete: true
Attachment #232609 - Flags: review?(justdave)
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+
Flags: approval2.22+
Flags: approval2.20+
Flags: approval+
Whiteboard: [applied to b.m.o]
Target Milestone: --- → Bugzilla 2.20
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
This is incorrect. Mac OS X does not run on generic PC hardware, and classifying it that way is confusing. Please reverse this.
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.
Whiteboard: [applied to b.m.o]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: