YouTube doesn't switch back from desktop site
Categories
(GeckoView :: General, defect)
Tracking
(firefox68 wontfix, firefox69 wontfix, firefox70 affected)
People
(Reporter: cpeterson, Unassigned)
References
Details
Steps to reproduce
- Load youtube.com
- Switch Desktop site on.
- Switch Desktop site off.
Expected behavior
The mobile site is displayed.
Actual behavior
The desktop site still displayed. Other websites behave normally.
This is happening because YouTube is actually changing the URL to https://www.youtube.com?app=desktop, so when we go to disable our desktop user agent and refresh we're still loading that desktop page.
This bug was originally filed in the Fenix issue tracker:
https://github.com/mozilla-mobile/fenix/issues/3903
Reporter | ||
Comment 1•5 years ago
|
||
Requesting the desktop site works correctly in Chrome, Fennec, and Focus+GV. In these browsers, YouTube switches back and forth between https://m.youtube.com and https://www.youtube.com. When Fenix or R-B request the desktop site, YouTube redirects to https://www.youtube.com?app=desktop.
Fennec, Focus+GV, and Fenix should all have the same User-Agent string, so why does YouTube behave differently?
Reporter | ||
Comment 2•5 years ago
|
||
Randall says this is an app bug. He fixed a similar bug in FxR. Fenix will be able to fix this bug using the new LOAD_FLAGS_REPLACE_HISTORY
flag added in bug 1571088 (GV 70). Since no GV work is needed to fix this bug, I will describe the fix in the Fenix issue tracker and close this bug as invalid (not a GV bug).
Description
•