New issue
Advanced search Search tips

Issue 717302 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug
Team-Security-UX



Sign in to add a comment

Chrome headless screenshot hangs on SSL error

Project Member Reported by lgar...@chromium.org, May 1 2017

Issue description

Chrome 60.0.3086.0
OSX 10.12.4

What steps will reproduce the problem?
(1) Run --headless --screenshot "https://expired.badssl.com"

What is the expected result?
Chrome finishes running, and outputs an error or a screnshot of the SSL interstitial

What happens instead?
Chrome hangs.

I'm guessing this is due to Issue 392354.

I've only tested on Mac, but I presume this affects other platforms, too.
 

Comment 1 Deleted

eva.aillaud84@: Your comment does not seem relevant to this bug. Did you meant to comment somewhere else?
Owner: eseckler@chromium.org
Status: Assigned (was: Untriaged)
eseckler, could you please take a look?
Blocking: -392354
Status: WontFix (was: Assigned)
Yeah, --screenshot doesn't work with sites containing ssl errors. If you'd like to access (and take screenshots of) sites with ssl errors, you can use --remote-debugging-port=xxxx with your own DevTools client and the DevTools commands for certificate error handling. See  https://crbug.com/659662 .
I personally don't need to. But what about people writing scripts that expect Chrome not to hang?
Status: Assigned (was: WontFix)
Maybe we should detect such situations and abort in headless_shell.

Note that the non-remote-debugging-port functionality of headless_shell is an example for how to use DevTools in headless mode. It's not really intended to be relied upon for correctness.
Status: Fixed (was: Assigned)
https://codereview.chromium.org/2853763004/ should have fixed this.

Sign in to add a comment