Closed Bug 756384 Opened 12 years ago Closed 12 years ago

Maemo/Meego builds should have the "Mobile" token in the UA string

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Maemo
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 15

People

(Reporter: hsivonen, Assigned: romaxa)

References

Details

Attachments

(1 file, 1 obsolete file)

By code inspection, it seems that only Android builds add the Mobile or Tablet token to the UA string:
http://mxr.mozilla.org/mozilla-central/source/netwerk/protocol/http/nsHttpHandler.cpp#715

Not having Maemo/Meego report the Mobile token in the UA string breaks the promise of having Firefox for mobile report the Mobile token regardless of OS.

Please add the Mobile token to the UA string on Maemo/Meego phones.
Attachment #625120 - Flags: review?(mark.finkle)
Comment on attachment 625120 [details] [diff] [review]
Update to latest N9 device, and add tablet/mobile identification

Looks OK, but do you really want the N8x0 to be treated as a tablet? If you're OK with it, that's all that matters to me. I just wanted ot make sure it wasn't a typo.

This patch is Maemo only and won't affect Android or Desktop.
Attachment #625120 - Flags: review?(mark.finkle) → review+
Originally N8x0 has been called as "tablet", actually internet tablet. not exactly sure what is definition of table in Mobile FF language.
(In reply to Oleg Romashin (:romaxa) from comment #3)
> Originally N8x0 has been called as "tablet", actually internet tablet. not
> exactly sure what is definition of table in Mobile FF language.

What they were called back in the day doesn't really matter for site compatibility. N8x0 are phone-sized devices, so I think "Mobile" would help them get content that better suits their screen size. "Mobile" means the device has the phone form-factor and "Tablet" means device has the iPad form-factor.
Added header, set N8x0 as mobile too
Assignee: nobody → romaxa
Attachment #625120 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #625365 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/integration/mozilla-inbound/rev/6aafb053db4e
Flags: in-testsuite-
Keywords: checkin-needed
Target Milestone: --- → Firefox 15
https://hg.mozilla.org/mozilla-central/rev/6aafb053db4e
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: 770112
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: