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

RESOLVED FIXED

Status

()

enhancement
P3
normal
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: myk, Unassigned)

Tracking

57 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

2 years ago
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
Reporter

Comment 1

2 years ago
(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.
Reporter

Comment 2

2 years ago
(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.
Reporter

Comment 3

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