--unsafely-treat-insecure-origin-as-secure not working with --headless
Reported by
benbr...@gmail.com,
Apr 3 2018
|
||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 Steps to reproduce the problem: 1. Launch Chrome with --unsafely-treat-insecure-origin-as-secure, --user-data-dir and --headless (where "insecure" website will try to access your webcam via getUserMedia()). What is the expected behavior? Webcam should be accessible. What went wrong? Webcam not accessible. Warning log says "getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS." Did this work before? N/A Chrome version: 65.0.3325.181 Channel: stable OS Version: Ubuntu 17.10 Flash Version: I am using Selenium to launch Chrome. It definitely works when I run it without --headless. Additional flags I am using are --use-fake-device-for-media-stream and --use-fake-ui-for-media-stream.
,
Apr 3 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by krajshree@chromium.org
, Apr 3 2018