Closed Bug 1406589 Opened 7 years ago Closed 7 years ago

single-dash -window-size flag hangs browser (as does double-dash variant on Windows)

Categories

(Firefox :: Headless, enhancement, P3)

57 Branch
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: myk, Unassigned)

Details

Unlike the --headless and --screenshot flags, the single-dash variant of the --window-size flag (i.e. -window-size) doesn't seem to work.  When I use it on Mac, Windows, and Linux, it hangs the process and doesn't produce a screenshot:

> /path/to/firefox -window-size=2000 -screenshot https://developer.mozilla.com

Strangely the double-dash variant also hangs the browser on Windows.
Priority: -- → P3
(In reply to Myk Melez [:myk] [@mykmelez] from comment #0)
> Unlike the --headless and --screenshot flags, the single-dash variant of the
> --window-size flag (i.e. -window-size) doesn't seem to work.  When I use it
> on Mac, Windows, and Linux, it hangs the process and doesn't produce a
> screenshot:

This should be fixed by bug 1406590 for Mac and Linux.  Unsure about Windows.


> > /path/to/firefox -window-size=2000 -screenshot https://developer.mozilla.com
> 
> Strangely the double-dash variant also hangs the browser on Windows.

This may be a specific case of the more general issue that double-dash arguments aren't supported on Windows.
(In reply to Myk Melez [:myk] [@mykmelez] from comment #1)
> (In reply to Myk Melez [:myk] [@mykmelez] from comment #0)
> > > /path/to/firefox -window-size=2000 -screenshot https://developer.mozilla.com
> > 
> > Strangely the double-dash variant also hangs the browser on Windows.
> 
> This may be a specific case of the more general issue that double-dash
> arguments aren't supported on Windows.

I filed that issue as bug 1410564.
Confirmed that this is fixed by the fixes for bug 1406590 and bug 1410564.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.