New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 678648 link

Starred by 5 users

Issue metadata

Status: Duplicate
Merged: issue 697721
Owner: ----
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

--dump-dom doesn't seem to work with --ignore-certificate-errors

Reported by potoms....@gmail.com, Jan 5 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

Steps to reproduce the problem:
1. run chrome with the following arguments: /Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --ignore-certificate-errors --dump-dom https://wrong.host.badssl.com
2. wait

What is the expected behavior?
The dom gets printed on the screen like with a normal website

What went wrong?
nothing happens

Did this work before? N/A 

Chrome version: 57.0.2972.0  Channel: canary
OS Version: OS X 10.12.2
Flash Version: Shockwave Flash 24.0 r0
 

Comment 1 by ajha@chromium.org, Jan 6 2017

Labels: Needs-Triage-M57
Cc: hdodda@chromium.org
Labels: Needs-Feedback
Tested on Mac OS 10.12.2 using chrome canary M57 #57.0.2973.0 and followed the below steps:

Steps tried to reproduce:

1. Opened chrome via command prompt using command "/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --ignore-certificate-errors --dump-dom https://wrong.host.badssl.com".
2. Message is displayed in the page.

Attached screenshot for reference.

@potoms.jan-- Could you please check the attached screenshot and confirm us if we had followed the correct process or not ...and also provide us the expected result screenshot , for easy investigation.

Thanks!

678648.png
345 KB View Download
I'm sorry, I mixed up a bit. I'm trying out --headless mode in the latest Chromium on linux

running with:
--headless --no-sandbox --disable-gpu --ignore-certificate-errors --dump-dom https://badssl.com
works

running with:
--headless --no-sandbox --disable-gpu --ignore-certificate-errors --dump-dom https://wrong.host.badssl.com
hangs
Cc: alexclarke@chromium.org skyos...@chromium.org
Labels: Proj-Headless
Status: Available (was: Unconfirmed)
cc-ing some headless folks and adding our project label :)

We might not be handling --ignore-certificate-errors in headless correctly.
Labels: HeadlessUpForGrabs
Components: Internals>Headless
Mergedinto: 697721
Status: Duplicate (was: Available)

Sign in to add a comment