Closed Bug 886119 Opened 12 years ago Closed 4 years ago

User agent in iframes are incorrect when using "Request Desktop Site"

Categories

(Firefox for Android Graveyard :: General, defect, P2)

24 Branch
ARM
Android
defect

Tracking

(geckoview62 wontfix, firefox-esr60 wontfix, firefox62 wontfix, firefox63 affected, firefox64 affected)

RESOLVED INCOMPLETE
Tracking Status
geckoview62 --- wontfix
firefox-esr60 --- wontfix
firefox62 --- wontfix
firefox63 --- affected
firefox64 --- affected

People

(Reporter: jhnpwa, Unassigned)

References

Details

(Keywords: testcase, Whiteboard: [geckoview:klar:p2])

Attachments

(2 files)

Attached file testcase
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0 Iceweasel/21.0 (Beta/Release) Build ID: 20130515142945 Steps to reproduce: 1) Upload the attached testcase to a web server with PHP support 2) Launch Firefox for Android 3) Enable "Request Desktop Site" 4) Navigate to the testcase Actual results: The two displayed user agents are different. Outside the iframe: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 Inside the iframe: Mozilla/5.0 (Android; Tablet; rv:24.0) Gecko/24.0 Firefox/24.0 Expected results: The two displayed user agents should be the same.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Linux → Android
Hardware: x86_64 → ARM
Some repro steps while using Github: 1. Go to a user profile page on Github (https://github.com/torvalds) 2. Request desktop mode and observe that the page is now showing the contribution chart. 2. Click on one of the green boxes in the contribution chart. 4. Observe that the page reloads the iframe below it to have a mobile version of the account instead. See attached screenshot.
This is a longstanding Fennec bug but is also affects Focus+GV and FxR.
Whiteboard: [geckoview:klar:p2]
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: