Headless doesn't work when redirect is involved
Categories
(Firefox :: Headless, defect, P3)
Tracking
()
People
(Reporter: luis.panadero, Unassigned)
References
Details
This bug isn't fixed! Keeps falling with simple redirects :
firefox --screenshot x.jpg http://bibliotecadigital.jcyl.es --window-size=800,1000
Hangs with 66.0.3, firefox beta or firefox nightly!
index.html :
<HTML>
<HEAD>
<meta http-equiv="refresh" content="0;url=es/inicio/inicio.do"/>
</HEAD>
<BODY>
<SCRIPT>
<!--
top.location='es/inicio/inicio.do';
//-->
</SCRIPT>
</BODY>
</HTML>
+++ This bug was initially created as a clone of Bug #1526822 +++
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
Steps to reproduce:
- firefox --no-remote --headless -createProfile "headless-test1"
- firefox --no-remote --headless -P "headless-test1" --screenshot "http://www.gentoo.org/"
Actual results:
Nothing will happen:
Firefox will start and consume CPU cycles but no screenshot will be written.
If you change URL from "http://www.gentoo.org/" to "https://www.gentoo.org/" instead it will work.
Tested on Debian, Arch Linux and Gentoo. With Firefox 65 build from source and official binary provided by Mozilla.
You can use any other URL redirecting. For example http://www.debian.org/ will trigger same problem but https://www.debian.org/ will work. When using http://www.mozilla.org/ which won't work, you have to use https://www.mozilla.org/en-US/ for a working URL, just using https://www.mozilla.org/ won't work (I guess due to the redirect to "/en-us/").
Comment 2•6 years ago
|
||
The priority flag is not set for this bug.
:bdahl, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 3•6 years ago
|
||
I think this will be similar to bug 1412061 where we need wait for some delay.
Itsn't only screenshots. We observed this problem debuging why firefox hangs when we use it with Selenium. Hangs when try to follows the same redirect.
Updated•3 years ago
|
Description
•