Closed Bug 960022 Opened 10 years ago Closed 8 years ago

fin24.com sends simplified site to Firefox OS

Categories

(Web Compatibility :: Site Reports, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hsteen, Assigned: adamopenweb)

References

()

Details

(Whiteboard: [serversniff] [country-za] [sitewait])

Attachments

(2 files)

We're sent to the correct URL, but compare the content-lengths and screenshots:

GET /fin24/News HTTP/1.1
User-Agent: Mozilla/5.0 (Android; Mobile; rv:23.0) Gecko/23.0 Firefox/23.0
Host: m.news24.com

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.5
contentTemplateUrl: http://m.news24.com/fin24/Templates/Categories/CategoryTopStories.aspx?sid=17&cid=4337&acid=4672&cb=News
X-AspNet-Version: 4.0.30319
Set-Cookie: CookiesEnabled=; path=/
Set-Cookie: __utmmobile=0x48C5868B7B645260; expires=Fri, 15-Jan-2016 11:42:06 GMT; path=/
X-Powered-By: ASP.NET
Date: Wed, 15 Jan 2014 11:42:06 GMT
Content-Length: 16366

------------------------------------------------------------------
GET /fin24/News HTTP/1.1
User-Agent: Mozilla/5.0 (Mobile; rv:23.0) Gecko/23.0 Firefox/23.0
Host: m.news24.com

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.5
contentTemplateUrl: http://m.news24.com/fin24/Templates/Categories/CategoryTopStories.aspx?sid=17&cid=4337&acid=4672&cb=News
X-AspNet-Version: 4.0.30319
Set-Cookie: CookiesEnabled=; path=/
Set-Cookie: __utmmobile=0x88AF6427F07667CA; expires=Fri, 15-Jan-2016 11:42:11 GMT; path=/
X-Powered-By: ASP.NET
Date: Wed, 15 Jan 2014 11:42:11 GMT
Content-Length: 14200

------------------------------------------------------------------
Email sent to helpdesk@fin24.com.
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Whiteboard: [serversniff] [country-za] [contactready] → [serversniff] [country-za] [sitewait]
Received a response and provided more details of the issue.
Haven't heard back, sending a follow up email.
We use 51degrees to detect a device's capabilities and it currently detects your useragent(Mozilla/5.0 (Mobile; rv:23.0) Gecko/23.0 Firefox/23.0) as having a small screen and not a smartphone. You can test it here http://51degrees.mobi/Products/DeviceData/UserAgentTester.aspx.

Our site uses this setting to determine what styles to use. We are in Africa where a lot of devices is low-end devices with small screens, so we depend heavily on this setting. 

also have a look at this
http://51degrees.mobi/Products/DeviceData/PropertyDictionary.aspx

Please contact 51degrees if you feel that your devices is incorrectly detected

cheers
Depends on: 967043
Hi Ockert--thanks for following up. I've created 967043 to track getting 51Degrees to fix that. Is changing smartphone => true enough to get the non-simplified site? (It's not entirely clear to me how a small screensize correlates to feature vs smartphone these days).
Adding a needinfo for Ockert for Mike's question? ^^
Flags: needinfo?(ockert.vanheerden)
Hi Ockert, I just tested again at http://51degrees.com/Resources/User-Agent-Tester and there doesn't seem to be a is_smartphone property anymore. But everything else (I'll paste below) is accurate:

Device
    DeviceType
        SmallScreen
    IsMobile
        True
    IsSmallScreen
        True
Name
    HardwareFamily
        Firefox OS Mobile
    HardwareModel
        Firefox OS Mobile
    HardwareName
        Firefox OS Mobile
    HardwareVendor
        Unknown
Screen
    ScreenInchesDiagonalRounded
        Unknown
    ScreenInchesSquare
        Unknown
    ScreenMMDiagonalRounded
        Unknown
    ScreenMMSquare
        Unknown
    SuggestedImageButtonHeightMms
        3.5
    SuggestedImageButtonHeightPixels
        11.8
    SuggestedLinkSizePixels
        11.8
    SuggestedLinkSizePoints
        10
Stats
    Popularity
        34633
Tv
    ContrastRatio
        N/A
    EnergyConsumptionPerYear
        N/A
    OnPowerConsumption
        N/A
    RefreshRate
        N/A
Miscellaneous
    HardwareImages
        Image Unavailable
Firefox OS Mobile - Image Unavailable

SoftwarePlatform
Name
    PlatformName
        Firefox OS
    PlatformVendor
        Mozilla
    PlatformVersion
        1.2

BrowserUA
Css
    CssBackground
        True
    CssBorderImage
        True
    CssColor
        True
    CssFlexbox
        True
    CssFont
        True
    CssImages
        True
    CssMediaQueries
        True
    CssMinMax
        True
    CssOverflow
        True
    CssPosition
        True
    CssText
        True
    CssTransforms
        True
    CssTransitions
        True
    CssUI
        True
Data
    DataSet
        True
    DataUrl
        True
DOM
    DeviceOrientation
        True
File
    FileReader
        True
General
    AjaxRequestType
        Standard
    AnimationTiming
        True
    FormData
        True
    Iframe
        True
    IndexedDB
        True
    jQueryMobileSupport
        A-Grade
    LayoutEngine
        Gecko
    Masking
        True
    PostMessage
        True
    Prompts
        True
    Selector
        True
    TouchEvents
        True
    Track
        True
GPS
    GeoLocation
        True
Html
    Html-Media-Capture
        True
    HtmlVersion
        5.0
Javascript
    Javascript
        True
    JavascriptCanManipulateCSS
        True
    JavascriptCanManipulateDOM
        True
    JavascriptGetElementById
        True
    JavascriptPreferredGeoLocApi
        W3C api
    JavascriptSupportsEventListener
        True
    JavascriptSupportsEvents
        True
    JavascriptSupportsInnerHtml
        True
    JavascriptVersion
        1.8
JSON
    Json
        True
Name
    BrowserName
        Firefox for Mobile
    BrowserVendor
        Mozilla
    BrowserVersion
        26.0
Screen
    Fullscreen
        True
Supported Media
    SupportsTls/Ssl
        True
    Svg
        True
    Video
        True
ViewPort
    Viewport
        True
Web
    CookiesCapable
        True
    History
        True
    Progress
        True
    WebWorkers
        True
    Xhr2
        True

Crawler
Miscellaneous
    IsCrawler
        False
Hi

The is smartphone property is still there, it is under device type

I've just tested m.news24.com/fin24 and I am recieving the correct style sheets(not the low-end version)

Iv'e also tested our local 51degrees db and it is reflecting the changes, in other words we have the up to date data from 51degrees


I've tested with the user-agent(Don't know what useragent you are using, I am using the one in the original request)
Mozilla/5.0 (Android; Mobile; rv:23.0) Gecko/23.0 Firefox/23.0

My test results:
Found	Generic AndroidGoogle/AndroidMozilla/Firefox for Mobile/23.0
Target UserAgent	Mozilla/5.0 (Android; Mobile; rv:23.0) Gecko/23.0 Firefox/23.0
Closest Sub Strings	Mozilla/5.0 (Android; Mobile; rv:    ) Gecko/     Firefox/23.0
Difference	0
Method	Exact
HardwarePlatform
Camera
Has3DCamera	False
Connectivity
HasNFC	False
SupportedBearers	WiFi
Device
DeviceType	SmartPhone
IsMobile	True
IsSmartPhone	True
Name
HardwareFamily	Generic Android
HardwareModel	Generic Android
HardwareName	Generic Android
HardwareVendor	Unknown
Screen
Has3DScreen	False
ScreenInchesDiagonalRounded	Unknown
ScreenInchesSquare	Unknown
ScreenMMDiagonalRounded	Unknown
ScreenMMSquare	Unknown
SuggestedImageButtonHeightMms	3.5
SuggestedImageButtonHeightPixels	11.8
SuggestedLinkSizePixels	11.8
SuggestedLinkSizePoints	10
Stats
Popularity	105602698
Tv
ContrastRatio	N/A
EnergyConsumptionPerYear	N/A
OnPowerConsumption	N/A
RefreshRate	N/A
Miscellaneous
HardwareImages	Image Unavailable
Generic Android - Image Unavailable
SoftwarePlatform
Name
PlatformName	Android
PlatformVendor	Google
PlatformVersion	Unknown
BrowserUA
Css
CssBackground	True
CssBorderImage	True
CssColor	True
CssFlexbox	True
CssFont	True
CssImages	True
CssMediaQueries	True
CssMinMax	True
CssOverflow	True
CssPosition	True
CssText	True
CssTransforms	True
CssTransitions	True
CssUI	True
Data
DataSet	True
DataUrl	True
DOM
DeviceOrientation	True
File
FileReader	True
General
AjaxRequestType	Standard
AnimationTiming	True
FormData	True
Iframe	True
IndexedDB	True
jQueryMobileSupport	A-Grade
LayoutEngine	Gecko
Masking	True
PostMessage	True
Prompts	True
Selector	True
TouchEvents	True
Track	True
GPS
GeoLocation	True
Html
Html-Media-Capture	True
HtmlVersion	5.0
Javascript
Javascript	True
JavascriptCanManipulateCSS	True
JavascriptCanManipulateDOM	True
JavascriptGetElementById	True
JavascriptPreferredGeoLocApi	W3C api
JavascriptSupportsEventListener	True
JavascriptSupportsEvents	True
JavascriptSupportsInnerHtml	True
JavascriptVersion	1.8
JSON
Json	True
Name
BrowserName	Firefox for Mobile
BrowserVendor	Mozilla
BrowserVersion	23.0
Screen
Fullscreen	True
Supported Media
SupportsTls/Ssl	True
Svg	True
Video	True
ViewPort
Viewport	True
Web
CookiesCapable	True
History	True
Progress	True
WebWorkers	True
Xhr2	True
Crawler
Miscellaneous
IsCrawler	False
Flags: needinfo?(ockert.vanheerden)
Here a screenshot with Firefox OS emulator on the left side and Faking Chrome Mobile UA on Desktop Firefox on the right side. 

Firefox OS is still receiving the simplified mobile.
Hi Ockert,

you tested the Firefox Android UA which never had an issue. ;) That is what Comment #0 says. 
User-Agent: Mozilla/5.0 (Android; Mobile; rv:23.0) Gecko/23.0 Firefox/23.0

The user agent which you need to test is:
User-Agent: Mozilla/5.0 (Mobile; rv:23.0) Gecko/23.0 Firefox/23.0
aka without the Android. Note that the version number is irrelevant at this point. We are currently at 34 in alpha.

See my comment #9 for screenshots.
https://bugzilla.mozilla.org/attachment.cgi?id=8484654

Hope it helps.
Flags: needinfo?(ockert.vanheerden)
Flags: needinfo?(ockert.vanheerden) → needinfo?
51degrees has been updated to recognize Firefox OS as a smartphone now (Bug 967043)
fixed
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: