Closed Bug 813782 Opened 13 years ago Closed 11 years ago

Mobile Google News site redirects to desktop site, on B2G browser

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 843134

People

(Reporter: dholbert, Unassigned)

References

()

Details

The google news mobile site... http://www.google.com/m/news loads as a mobile site on Firefox Nightly for Android, but it redirects to the desktop Google News site (huge) in my B2G browser. I suspect it needs to tweak its UA-sniffing so as not to redirect the B2G browser.
Technically, this might not be a redirect, actually -- we just get served different content. With the Firefox-for-Android UA, I get a mobile site, with e.g. <meta name="viewport">. Here's the command to test that: > curl -v -A "Mozilla/5.0 (Android; Mobile; rv:18.0) Gecko/18.0 Firefox/18.0" http://www.google.com/m/news ...and that produces output that starts with: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="Cache-Control" content="no-cache"/> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> <title> Google News </title> With the B2G UA, I get a desktop site (without e.g. that <meta name="viewport">) Here's the command to test that: > curl -v -A "Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0" http://www.google.com/m/news | less ...and that produces output that starts with: <!DOCTYPE HTML><html ><head><meta http-equiv="X-UA-Compatible" content="IE=8,IE=9" /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="description" content="Comprehensive up-to-date news coverage, aggregated from sources all over the world by Google News."/><title>Google News</title> I think the only difference between the two UAs is the "Android;" in the Firefox for Android UA, FWIW.
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
On entering http://www.google.com/m/news on Firefox OS, we get redirected to http://news.google.com/news/i/ which is a mobile site.
Assignee: english-us → nobody
Status: NEW → RESOLVED
Closed: 11 years ago
Component: English US → Mobile
Resolution: --- → DUPLICATE
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.