Closed Bug 1593770 Opened 5 years ago Closed 3 years ago

(command-line handler) about:blank gets parsed as host:port

Categories

(Remote Protocol :: Agent, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: impossibus, Unassigned)

References

Details

STR:

% firefox --remote-debugger --headless -no-remote -foreground --profile /path/to/profile about:blank
*** You are running in headless mode.
1572891730840	RemoteAgent	FATAL	Expected address syntax [<host>]:<port>: about:blank

Whereas moving about:blank before --remote-debugger works fine:

% firefox --headless about:blank --no-remote --foreground --profile /path/to/profile --remote-debugger
*** You are running in headless mode.
DevTools listening on ws://localhost:9222/devtools/browser/824a62d6-7945-7544-88fe-10040c3c3610

I wonder if this is fixed with the Rust implementation Andreas is currently working on.

Flags: needinfo?(ato)

I don’t think it will be, because the Rust port still uses
nsICommandLineHandler and I suspect this is a bug in its C++
implementation.

Relevant to this is the concern you both raised in the code review
of bug 1543115 about the design of the current command-line
interface. I’ve also thought of a couple of more limitations with
the current design that I mentioned over in bug 1590830.

I would suggest that we look hard at whether the current design is
the right one before we try to fix find a fix for this.

Depends on: 1590830
Flags: needinfo?(ato)
Priority: -- → P3
Whiteboard: [puppeteer-alpha]
Priority: P3 → P2
Priority: P2 → P3
Whiteboard: [puppeteer-alpha] → [puppeteer-alpha-reserve]
Priority: P3 → P2
Whiteboard: [puppeteer-alpha-reserve] → [puppeteer-beta-mvp]
Whiteboard: [puppeteer-beta-mvp] → [puppeteer-beta-reserve]
Priority: P2 → P3
Whiteboard: [puppeteer-beta-reserve]

The --remote-debugger command line argument does no longer exist.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.