Closed
Bug 1142367
Opened 10 years ago
Closed 6 years ago
'www.sina.com.cn' serves desktop content to Firefox OS instead of mobile content.
Categories
(Web Compatibility :: Site Reports, defect, P5)
Tracking
(b2g-v2.0 affected, b2g-v2.0M affected, b2g-v2.1 affected, b2g-v2.1S affected, b2g-v2.2 affected, b2g-master affected)
People
(Reporter: fan.luo, Unassigned)
References
()
Details
(Whiteboard: [mobile-compat-form][contactready])
Attachments
(2 files)
Site: http://www.sina.com.cn
'www.sina.com.cn' serves desktop content to Firefox OS instead of mobile content.
:: Steps To Reproduce
1. Use Firefox on Firefox OS
2. Go to http://www.sina.com.cn/
:: Expected Result
Receive a mobile friendly content like it is happening for Safari iOS.
:: Actual Result
Received desktop content
:: Additional Information
Software Version: 2.0M
Device Information: woodduck 2.0M
Reporter's User Agent: Mozilla/5.0 (Windows NT 6.1; rv:36.0) Gecko/20100101 Firefox/36.0
Reporter | ||
Comment 1•10 years ago
|
||
This issue can be repro on Woodduck 2.0M, Flame 2.0/2.1/2.1s/2.2/3.0 and Nexus 5.
Attached: Video.mp4&logcat.txt
Found at: around 9:08pm.
Rate: 100%
Woodduck 2.0M
Build ID 20150312050313
Gaia Revision 0e0a84a03f7253d1544e6e8ecbadac9d0f325a64
Gaia Date 2015-03-11 05:43:46
Gecko Revision 4dd211ecc070564dea1af8fc5125cfc748f24a23
Gecko Version 32.0
Device Name jrdhz72_w_ff
Firmware(Release) 4.4.2
Firmware(Incremental) 1426107908
Firmware Date Thu Mar 12 05:05:26 CST 2015
------------------
Flame 2.0:
Build ID 20150311000206
Gaia Revision 896803174633fc6acd3fd105f81c349b8e9b9633
Gaia Date 2015-03-10 06:32:26
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/78df3174fb10
Gecko Version 32.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150311.034723
Firmware Date Wed Mar 11 03:47:34 EDT 2015
Bootloader L1TC000118D0
------------------
Flame 2.1:
Build ID 20150311001232
Gaia Revision 04623ffbdc1e9c53de5a9a522bc9d8d93020a56d
Gaia Date 2015-03-10 18:12:15
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/421ee858039c
Gecko Version 34.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150311.040426
Firmware Date Wed Mar 11 04:04:37 EDT 2015
Bootloader L1TC000118D0
------------------
2.1S 512MB:
Build ID 20150310161205
Gaia Revision a66813e488374b8ba9d8aa187b00f84ad5bd1bb9
Gaia Date 2015-03-10 06:56:29
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1s/rev/ee8a2d1b86a5
Gecko Version 34.0
Device Name scx15_sp7715ea
Firmware(Release) 4.4.2
Firmware(Incremental) 122
Firmware Date Thu Feb 5 12:42:58 CST 2015
------------------
Flame 2.2:
Build ID 20150311002522
Gaia Revision 3f032238a52f08e4c2f68a47ad065a96eb22d470
Gaia Date 2015-03-11 00:28:07
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/004fa1cb1dd4
Gecko Version 37.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150311.040546
Firmware Date Wed Mar 11 04:05:57 EDT 2015
Bootloader L1TC000118D0
----------------
N5_2.2
Build ID 20150311002522
Gaia Revision 3f032238a52f08e4c2f68a47ad065a96eb22d470
Gaia Date 2015-03-11 00:28:07
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/004fa1cb1dd4
Gecko Version 37.0
Device Name hammerhead
Firmware(Release) 5.0
Firmware(Incremental) eng.cltbld.20150311.040337
Firmware Date Wed Mar 11 04:03:52 EDT 2015
Bootloader HHZ12d
----------------
Flame 3.0:
Build ID 20150311010231
Gaia Revision 943c8b4039f59b08ba100390e164a076a20c892e
Gaia Date 2015-03-10 20:35:07
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/fd8e079d6335
Gecko Version 39.0a1
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150311.043838
Firmware Date Wed Mar 11 04:38:50 EDT 2015
Bootloader L1TC000118D0
Reporter | ||
Comment 2•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Blocks: Woodduck
Group: woodduck-confidential
Status: UNCONFIRMED → NEW
status-b2g-v2.0:
--- → affected
status-b2g-v2.0M:
--- → affected
status-b2g-v2.1:
--- → affected
status-b2g-v2.1S:
--- → affected
status-b2g-v2.2:
--- → affected
status-b2g-master:
--- → affected
Ever confirmed: true
Comment 3•10 years ago
|
||
This should not be a confidential bug. Could you switch it back to Public please.
When accessing http://www.sina.com.cn/
Users receive the desktop version for these devices
* Chrome Mobile on Android
"Mozilla/5.0 (Linux; Android 4.2.1; en-us; Nexus 4 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19"
* Firefox Android
"Mozilla/5.0 (Android; Mobile; rv:36.0) Gecko/36.0 Firefox/36.0"
* Firefox OS
"Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0"
On iPhone the user is redirected to http://sina.cn/?from=www
The redirection is just the first step of the issue.
Bug 1013777 shows that Firefox OS is receiving a simplified version when accessing sina.cn.
The good news is that the sina.cn mobile version sent to Firefox Android is working well on Firefox OS. So it's just a matter of UA detection, including subpages and subdomain. No front-end modifications is necessary.
Peipei,
could you help us find a contact there to solve this. It's an easy fix.
Both for this bug and for Bug 1013777
Updated•10 years ago
|
Group: woodduck-confidential
Comment 4•10 years ago
|
||
Hi Karl,
Will we also add http://www.sina.com.cn/ to https://hg.mozilla.org/mozilla-central/file/tip/b2g/app/ua-update.json.in before sina start to recognize our UA?
Thanks!
Flags: needinfo?(kdubost)
Comment 5•10 years ago
|
||
So it's what I was saying in my Comment #3
It depends on what you want.
With UA Override
To go from www.sina.com.cn to sina.cn,
we need to do UA override as being an **iPhone**.
Consequences:
1. We will never appear in the stats of their site as Firefox OS.
This hurts the brand in terms of Market Share
2. This will effectively redirects to sina.cn
But we will receive the simplified mobile version of the site, not the touch version.
3. It's harder to convince them to fix it… because
- Sina: "Hey it's working and anyway You do not appear in our browser stats"
- Mozilla: "Well, we are lying about who we are"
To receive the sina.cn Touch version, we would need to impersonate "Firefox Android" with UA override.
Consequences:
Same issues as the previous 1 and 3.
But yes doable. Here we are lucky the markup sent to us is working on Firefox, not like hao123.
Hope it helps to understand.
(Note that once/if we decide to do UA override, it's very quick to put in place. A couple of days.)
Flags: needinfo?(kdubost)
Comment 6•10 years ago
|
||
Beijing BD team will help contact sina. I will keep this bug updated once there is some news.
Flags: needinfo?(pcheng)
Comment 7•9 years ago
|
||
Still an issue
Updated•8 years ago
|
Priority: -- → P5
Comment 8•8 years ago
|
||
If someone would like to help ask them that would be cool. This is currently not a priority for the webcompat team.
Whiteboard: [mobile-compat-form] → [mobile-compat-form][contactready]
Comment 9•6 years ago
|
||
Closing as we are not working on Firefox OS anymore.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
Assignee | ||
Updated•10 months ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•