Open Bug 1595159 Opened 4 years ago Updated 2 years ago

headless screenshot takes forever

Categories

(Firefox :: Headless, defect, P3)

68 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: ps305, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36

Steps to reproduce:

I've updated firefox-esr to "Mozilla Firefox 68.2.0esr" this morning.
Then I executed the following command:
"firefox-esr --screenshot /tmp/foo.png --window-size=640,384 --safe-mode --headless http://heise.de"
(the website doesn't matter)

I'm running firefox on debian 9. (I've tried it today with "Mozilla Firefox 68.0.1" on ubuntu 16.04.6 too and it's the same issue, but I've never tried it before on this system.

I'm using this command daily and never had a problem before.

Actual results:

Firefox takes forever for the screenshot.
Maybe it hangs completly . I waited serveral minutes and killed firefox after that.

Expected results:

Normally it takes just a few seconds.

EDIT:
I was wrong, I'm using the command without "--safe-mode".
"firefox-esr --screenshot /tmp/foo.png --window-size=640,384 --headless http://heise.de"

I downgraded to "Mozilla Firefox 60.7.1" and without "--safe-mode" it works again.
With "--safe-mode" it still hangs.

But "Mozilla Firefox 68.2.0esr" even hangs without "--safe-mode"

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Headless

What if you specify a profile directory and leave off the safe-mode argument?
mkdir temp-profile
firefox-esr --profile=temp-profile --screenshot /tmp/foo.png --window-size=640,384 --headless http://heise.de

Flags: needinfo?(ps305)

(In reply to Brendan Dahl [:bdahl] from comment #3)

What if you specify a profile directory and leave off the safe-mode argument?
mkdir temp-profile
firefox-esr --profile=temp-profile --screenshot /tmp/foo.png --window-size=640,384 --headless http://heise.de

Nothing. The command will finish immediately without a screenshot if I use such an empty folder.

Flags: needinfo?(ps305)

The priority flag is not set for this bug.
:bdahl, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(bdahl)
Flags: needinfo?(bdahl)
Priority: -- → P3
Severity: normal normal → S3 S3
You need to log in before you can comment on or make changes to this bug.