Browsing to maps.google.com often serves the desktop version on devices
Bug #1240485 reported by
Olivier Tilloy
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app |
Fix Released
|
High
|
Olivier Tilloy |
Bug Description
Observed intermittently on a Galaxy Nexus, this bug has been present for quite some time (it’s not a recent regression).
Steps to reproduce:
1) On a mobile device, open the browser app, enter "maps.google.com" in the address bar, and validate
2) Wait for the site to load
3) Repeat steps 1 and 2 several times, and observe how sometimes the mobile version is served (expected) and sometimes the desktop version is served (unexpected)
Changed in webbrowser-app: | |
assignee: | nobody → Olivier Tilloy (osomon) |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: ua-override |
To post a comment you must log in.
I initially thought that the problem was with multiple requests being emitted to various domains when browsing to maps.google.com, leading to resetting the UA string various times on the webview. However it turns out that the only requests emitted are the following ones:
https:/ /maps.google. com/ /maps.google. com/mapfiles/ home3.html
https:/
about:blank
I patched the override mechanism to use the override for the current URL when about:blank is requested (instead of the default UA string), but it didn’t improve things. I also verified that this doesn’t have to do with pre-existing google cookies by completely wiping the cookie db. The problem persists.