Closed
Bug 973021
Opened 10 years ago
Closed 10 years ago
Remove m.foo.com -> foo.com RDS hack
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 30
People
(Reporter: bnicholson, Assigned: bnicholson)
Details
Attachments
(1 file)
2.00 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
When using Request Desktop Site, we have a basic algorithm that tries to purge as much as possible from the URL to guarantee that we aren't stuck on a mobile site: http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#2989. This hack is in place to address complaints that other browsers face, which is that RDS doesn't seem to do anything on many mobile sites (because a mobile URL still shows a mobile page, regardless of the UA). Although it increases the success rate of switching from a mobile to desktop page, it results in the user being moved to the root of that domain (foo.com/a/b/c -> foo.com). Aside from the fact that users are moved to a different page than the one they were viewing, the root domain may not be meant for viewing, resulting in an error page. Additionally, this hack won't work for sites that don't follow the "m." prefix convention; e.g., i.reddit.com or mobile.twitter.com. While we haven't received many complaints that I know of, this approach is an ugly hack that can break things, so this is more of an add-on territory.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8376460 -
Flags: review?(mark.finkle)
Updated•10 years ago
|
Attachment #8376460 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/267e352db60c
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/267e352db60c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•