Closed Bug 862743 (nfl.com) Opened 11 years ago Closed 8 years ago

nfl.com sends desktop content to Firefox OS and Firefox for Android

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: AdrianT, Unassigned)

References

()

Details

(Whiteboard: [country-us] [contactready] [serversniff])

Firefox Mobile 21.0b3 / Nightly 23.0a1 2013-04-17
LG Optimus 2X (Android 2.2), Samsung Galaxy R (Android 2.3.4), Samsung Galaxy Nexus (Android 4.2)

Steps to reproduce:
1. Load nfl.com

Expected results:
The mobile page is opened

Actual results:
The desktop version is displayed

Notes:
This is a recent change and Firefox Mobile on phones used to receive the mobile version
The default android browser receives the mobile version
Alias: nfl.com
Assignee: other → nobody
Component: Other → Mobile
Summary: nfl.com serves the desktop website on mobile phones → [meta] Issues with NFL.com
Closing all [meta] bugs with only one dependency in Tech Evangelism: Mobile.

If this is not a real [meta] bug, but a bug that tracks one specific issue and is mis-labelled [meta], please re-open it.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Reopening and Changing the scope. This bug never had any dependencies and was an empty shell.
Making it a real Web Compatibility bug as given in the initial description.
Status: RESOLVED → REOPENED
OS: Android → Gonk (Firefox OS)
Resolution: INVALID → ---
Summary: [meta] Issues with NFL.com → nfl.com sends desktop content to Firefox OS
Whiteboard: [country-us] [notcontactready]
Status: REOPENED → NEW
There's some serverside detection going on that fails to recognize Firefox for Android or Firefox OS as mobile devices:

There's some inline JS in the html page that determines if the mobile site is seen, IS_MOBILE:

$ http GET http://www.nfl.com User-Agent:"$IOS" | grep IS_MOBILE
    IS_MOBILE:                true,
if (nfl.constants.IS_MOBILE) {
mtaylor at omg-2 in ~/tmp
$ http GET http://www.nfl.com User-Agent:"$FFOS" | grep IS_MOBILE
    IS_MOBILE:                false,
if (nfl.constants.IS_MOBILE) {
mtaylor at omg-2 in ~/tmp
$ http GET http://www.nfl.com User-Agent:"$FFA" | grep IS_MOBILE
    IS_MOBILE:                false,
if (nfl.constants.IS_MOBILE) {
Summary: nfl.com sends desktop content to Firefox OS → nfl.com sends desktop content to Firefox OS and Firefox for Android
Whiteboard: [country-us] [notcontactready] → [country-us] [contactready] [serversniff]
Nike.com is also redirecting the user to the desktop version which is leading to an OOM.
@ktucker, unless Nike.com is owned by NFL.com (which AFAIK it isn't), could you please re-open 1037253? It may be a similar issue, but we use the separate bugs to track progress with each company/web site property. Thanks.
Sure thing Mike. I thought it was the same issue even though the website is different. I will reopen the other issue. Thank you
Flags: needinfo?(ktucker)
The site is now responsive. It's not an issue anymore. 
There might be issue with the ads provider, but that's a separate issue, that could get a bug opened on https://webcompat.com/
Status: NEW → RESOLVED
Closed: 11 years ago8 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.