Closed Bug 1202574 Opened 9 years ago Closed 6 years ago

[Browser] Would show back ("<") button before URL bar when initial open youtube

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ashiue, Unassigned)

References

()

Details

(Whiteboard: [systemsfe])

STR:
1. Open a new window and go to youtube (not navigate to youtube from other page)
2. Check URL bar

Expected result:
1. No back button ("<") shows

Actual result:
1. Back button ("<") shows before URL bar

Build info:
[aries]
Build ID               20150907110522
Gaia Revision          891798f1e345bc2b69e71de42bd524a90b1745c4
Gaia Date              2015-09-07 02:49:56
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/5fe9ed3edd6811a662d40d05e37b0d66e9520d82
Gecko Version          43.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20150907.102632
Firmware Date          Mon Sep  7 10:26:39 UTC 2015
Bootloader             s1

[flame]
Build ID               20150907150218
Gaia Revision          891798f1e345bc2b69e71de42bd524a90b1745c4
Gaia Date              2015-09-07 02:49:56
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/5fe9ed3edd6811a662d40d05e37b0d66e9520d82
Gecko Version          43.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150907.182946
Firmware Date          Mon Sep  7 18:29:58 EDT 2015
Bootloader             L1TC000118D0
QA Whiteboard: [COM=Pin the Web]
No longer blocks: pin-the-web
blocking-b2g: --- → 2.5+
Priority: -- → P2
Whiteboard: [systemsfe]
Note, this is also happening on Fennec. This is probably not a Firefox OS issue.
This is due to the following chain of redirections:
youtube.com -> www.youtube.com (301 Moved Permanently)
www.youtube.com -> m.youtube.com (302 Found)

Is it really a blocker? Seems like a regular behaviour to me.
Yup, Mike asked me to take a look at this but seems pretty certainly not a blocker, it exists / has existed on fennec and I remember it being brought up as an issue a few years ago. 

Brad, do you know who will know about this / has looked into it for android? I vaguely remember there was some possible work to disregard (empty) redirections from the history stack. 

Michael, this is fairly definitely not a blocker
Flags: needinfo?(mhenretty)
Flags: needinfo?(blassey.bugs)
WFM.
blocking-b2g: 2.5+ → ---
Flags: needinfo?(mhenretty)
Margaret, how do we handle redirects in the history of the Fennec front end?
Flags: needinfo?(blassey.bugs) → needinfo?(margaret.leibovic)
(In reply to Brad Lassey [:blassey] (use needinfo?) from comment #5)
> Margaret, how do we handle redirects in the history of the Fennec front end?

I don't see any logic for special-casing redirecting in the front-end, but I do see logic in nsAndroidHistory.cpp. Some relevant bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=949104
https://bugzilla.mozilla.org/show_bug.cgi?id=1102210

rnewman or mfinkle would know more.
Flags: needinfo?(margaret.leibovic)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.