Closed
Bug 958411
Opened 11 years ago
Closed 3 years ago
broken rendering on rakuten mobile top page
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: m_kato, Assigned: karlcow)
References
()
Details
(Keywords: webcompat:contact-ready, Whiteboard: [mobile-compat-form] [country-jp][webkitcss][contactready] [serversniff])
Attachments
(5 files)
Site: http://www.rakuten.co.jp/
broken rendering on rakuten mobile top page
:: Steps To Reproduce
1. access http://www.rakuten.co.jp using Firefox Android
:: Expected Result
fine as iOS, Android Stok browser or Chrome Android
:: Actual Result
broken top site
:: Additional Information
Software Version: 26
Device Information: Nexus 5
Reporter's User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:29.0) Gecko/20100101 Firefox/29.0
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Whiteboard: [mobile-compat-form] → [mobile-compat-form] [country-jp]
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Problems: quite some WebKit CSS in the version of the page iOS (and presumably Android) gets. Also, Firefox OS gets the desktop page, not mobile. They should fix the CSS first, then the redirect :)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] [country-jp] → [mobile-compat-form] [country-jp][webkitcss][contactready]
Assignee | ||
Comment 4•10 years ago
|
||
This is a screenshot with Firefox Mobile when the CSS flexbox has been fixed.
The CSS issues are caused by the usage of old flexbox.
with things like:
display: -webkit-box;
display: box;
instead of
display: -webkit-box;
display: flex;
etc.
It took me about 20 minutes to fix the CSS. So it's a very low hanging fruit.
Tomoya-san,
do we have contacts at Rakuten?
Flags: needinfo?(bugzilla-watch)
Assignee | ||
Updated•10 years ago
|
Whiteboard: [mobile-compat-form] [country-jp][webkitcss][contactready] → [mobile-compat-form] [country-jp][webkitcss][contactready] [serversniff]
Assignee | ||
Comment 5•10 years ago
|
||
Checked today and still the case.
Assignee | ||
Comment 6•9 years ago
|
||
See also on https://github.com/webcompat/web-bugs/issues/915
Assignee | ||
Updated•9 years ago
|
See Also: → https://webcompat.com/issues/915
Assignee | ||
Comment 7•8 years ago
|
||
with user agent override to be chrome + webkit prefixes fix in Gecko, the site is now working.
https://developer.mozilla.org/en-US/Firefox/Releases/49#Compatibility
Will be fixed with Firefox 49.
Version: unspecified → Firefox 49
Assignee | ||
Comment 8•8 years ago
|
||
Mike,
we should add rakuten to the UA override list.
https://hg.mozilla.org/mozilla-central/raw-file/tip/mobile/android/app/ua-update.json.in
Flags: needinfo?(miket)
Comment 9•8 years ago
|
||
> we should add rakuten to the UA override list.
OK, we should probably wait until 49 is released (unless spoofing as Chrome today means it's just as broken as it was yesterday).
Comment 10•7 years ago
|
||
I've apparently dropped the ball on this one... Karl, do you want to prepare a patch?
Flags: needinfo?(miket)
Flags: needinfo?(kdubost)
Flags: needinfo?(bugzilla-watch)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → kdubost
Assignee | ||
Comment 12•7 years ago
|
||
Hmm I was about to open a bug and submit a patch for the UA override but I tested this morning with responsive design mode and Firefox Android UA, and it's working. I still need to check with a real android device or if someone else beats me to it.
If it's working on the device we can close this as FIXED.
Comment 13•7 years ago
|
||
Doesn't work on pixel API 25 emulator Firefox Nightly and Sony Z3 Firefox release (54)
Assignee | ||
Comment 14•7 years ago
|
||
This is what I get on Firefox Desktop. Responsive Design + following UA
Mozilla/5.0 (Android 5.1.1; Mobile; rv:54.0) Gecko/54.0 Firefox/54.0
Assignee | ||
Comment 15•7 years ago
|
||
So weird.
# Firefox Android UA
→ http GET https://www.rakuten.com/ 'User-Agent:Mozilla/5.0 (Android 5.1.1; Mobile; rv:54.0) Gecko/54.0 Firefox/54.0'| wc -c
115511
→ http GET https://www.rakuten.com/ 'User-Agent:Mozilla/5.0 (Android 5.1.1; Mobile; rv:54.0) Gecko/54.0 Firefox/54.0'| grep ismobile
var dataLayer = [{"domain":"rakuten.com","enterpriseId":"10000","currency":"USD","technology":"MVC","ismobile":true,"issecuremobile":false,"pageRoute":"/eco/index"}];
# Firefox Desktop UA
→ http GET https://www.rakuten.com/ 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0' | wc -c
130762
→ http GET https://www.rakuten.com/ 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0' | grep ismobile
var dataLayer = [{"domain":"rakuten.com","enterpriseId":"10000","currency":"USD","technology":"MVC","ismobile":false,"issecuremobile":false,"pageRoute":"/eco/index"}];
Assignee | ||
Comment 16•7 years ago
|
||
enough to trigger the mobile version
→ http GET https://www.rakuten.com/ 'User-Agent:(Android 7.0; Mobile)'| grep ismobile
var dataLayer = [{"domain":"rakuten.com","enterpriseId":"10000","currency":"USD","technology":"MVC","ismobile":true,"issecuremobile":false,"pageRoute":"/eco/index"}];
Assignee | ||
Comment 17•7 years ago
|
||
checked today on the Android device and I get the mobile site after clearing all private data.
Eric, what is your UA string?
Flags: needinfo?(etsai)
Comment 18•7 years ago
|
||
Firefox mobile 56 Nightly on Z3C get the same result, UA string: "Mozilla/5.0 (Android 5.0.2; Mobile; rv:56.0) Gecko/56.0 Firefox/56.0"
Flags: needinfo?(etsai)
Comment 19•7 years ago
|
||
To noted, my test URL is http://www.rakuten.co.jp/ not https://www.rakuten.com
Assignee | ||
Comment 20•7 years ago
|
||
rha my bad. Indeed. I will prepare the patch.
Updated•7 years ago
|
Priority: -- → P3
Comment 21•6 years ago
|
||
We get the Desktop page now on Firefox after the override patch landed, could you please investigate?
Note: Not reproducible on Responsive Mode design.
Flags: needinfo?(kdubost)
Comment 22•6 years ago
|
||
RDM vs Real Device:
http://prntscr.com/kopcq2
Assignee | ||
Comment 23•6 years ago
|
||
Sergiu, which user agent string did you use on RDM?
I get your screenshot only if I use the Chrome User Agent.
But that's not what is done currently. As expressed in https://bugzilla.mozilla.org/show_bug.cgi?id=1385206#c1
> Just keeping Gecko, but removing Firefox/54.0 in there does the job, instead of a full blown Chrome UA.
So we just removed the Firefox part.
This is obviously not enough anymore according to your tests.
Let's check.
Ah interesting on RDM with User-Agent: Mozilla/5.0 (Android 9.0.0; Mobile; rv:64.0) Gecko/64.0 Firefox/64.0
this is still working. We receive the mobile site, but on the device it is not working anymore.
AH it can not work…
```
Host: www.rakuten.co.jp
User-Agent: Firefox.+$#
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://www.google.com/
Connection: keep-alive
Cookie: ak_bmsc=25AD34906A5DBD29C4A7B3C8108DF06D17D2CAA5C1170000726C8F5BBB28233B~plxr3Cz5FsNJvRZjT4tqTaHsjplghO6t5R01atxo5LrpP8rqklqz8orQ6gb5812qEf9TswTFxHT/xRa2oeyRIW1oFnKhKLDLkRVcUTPFXY1wxwX0E4j467mbECz9lsXT9bTGZ0gZWr8Y4IYeB6MGj42EwXejuhWF+KEqvtD4GKtRsRW/GsGHylJMf+XAuNl0VIu5CTRNGvoA9ZzzHExV0uHMOEW796iFMhTi6JfVbY5bMDrLFINO+8W+6irhCCzv+jbEV2NGYdqi4rpP7KLjgFsA==; s_pers=%20s_mrcr%3D1100400000000000%257C4000000000000%257C4000000000000%257C4000000000000%7C1693807239011%3B; Rt=be086b42ee3c21a859dfcfce96d46429; Rp=79b215502ebf401cdde74a66105b8f6c76a1331; rat_v=71e56a3a75ac699ddde74b66105b8f6c76a133d; __gads=ID=acab8bcd791631eb:T=1536126082:S=ALNI_MYnNQP_2jJH0gqfsejovFYlgIXcSQ; cto_lwid=3cffdf1e-6dea-40ec-8af6-8a85243707b8; __pp_uid=AfhgCotZZ1380LAe1sdWP25dqA9ClZjM; Apache=210.194.43.135.1536127240717140
Upgrade-Insecure-Requests: 1
Cache-Control: max-age=0
```
The User Agent is… o_0
Firefox.+$#
https://dxr.mozilla.org/mozilla-central/rev/c2e3be6a1dd352b969a45f0b85e87674e24ad284/mobile/android/app/ua-update.json.in#18,19
I don't know if it's a regression or if it was always the case… but this is not good.
It seems there's a need for something after the # sign. Maybe a space.
Flags: needinfo?(kdubost)
Assignee | ||
Comment 24•6 years ago
|
||
We need to prepare a new patch.
Mike, do I open a new bug
or do I reopen Bug 1385206
Flags: needinfo?(miket)
Comment 25•6 years ago
|
||
Karl, I used Samsung Galaxy S7 as UA string.
Here it is again, RDM (Nightly 64 Desktop) against real device - Huawei P10 (Android 8.0) - 1080 x 1920 pixels (~432 ppi pixel density) - Nightly 63 Mobile.
http://prntscr.com/kqs10n
Comment 26•6 years ago
|
||
(In reply to Karl Dubost :karlcow from comment #23)
> I don't know if it's a regression or if it was always the case… but this is
> not good.
>
> It seems there's a need for something after the # sign. Maybe a space.
Arf, yes. My bad for not catching in review.
See https://bugzilla.mozilla.org/show_bug.cgi?id=838332#c27, for example.
Karl, can you please open a new bug?
Flags: needinfo?(miket) → needinfo?(kdubost)
Assignee | ||
Comment 27•6 years ago
|
||
I opened the bug a couple of days ago.
https://bugzilla.mozilla.org/show_bug.cgi?id=1489914
Flags: needinfo?(kdubost)
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
Comment 28•5 years ago
|
||
See bug 1547409. Moving webcompat whiteboard tags to keywords.
Keywords: webcompat:contact-ready
Comment 29•3 years ago
|
||
It seems that the issue has been fixed, as I was not able to reproduce the issue. Upon accessing the page, the mobile version of the page is correctly displayed:
Reporter, could you please confirm this?
Tested with:
Browser / Version: Firefox Nightly 100.0a1 (2015869419 -🦎100.0a1-20220317092857🦎)
Operating System: Samsung A51 (Android 11) -1080 × 2400 pixels 20:9 aspect ratio (~405 ppi density)
Operating System: Google Pixel 3 (Android 12) -1080 x 2160 pixels, 18:9 ratio (~443 ppi density)
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(m_kato)
Resolution: --- → FIXED
Reporter | ||
Comment 30•3 years ago
|
||
Yes, our UA was overridden by bug 1385206. So I confirmed it.
Flags: needinfo?(m_kato)
Updated•8 months ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•