Commit e707ac7a authored by Tomáš Hübelbauer's avatar Tomáš Hübelbauer

Push in the demo of treating insecure origin as secure

parent 36d9ef6b
# Chrome
## Running Powerful Features on insecure origins
- [ ] Await the comment reply
python -m SimpleHTTPServer
$ip = (Get-NetIPConfiguration).IPv4Address | Where-Object {$_.InterfaceAlias -eq "Wi-Fi"} | Select-Object {$_.IPAddress}
cd "C:\Program Files (x86)\Google\Chrome\Application"
./chrome "http://$ip:8000/" -> DOMException: Only secure origins are allowed
./chrome "http://$ip:8000/" --unsafely-treat-insecure-origin-as-secure="http://$ip:8000/" -> ?
See the [test](index.html)
## Command line switches
window.navigator.getUserMedia({ audio: true, video: true }, console.log, console.log);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment