New issue
Advanced search Search tips

Issue 747354 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

navigator.requestMediaKeySystemAccess is undefined in non https and non local document

Reported by zeynelka...@gmail.com, Jul 21 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce the problem:
1. Create an html document in web
2. Write a script tag
3. Paste the code below into script tags
4. console.log(navigator.requestMediaKeySystemAccess)
5. View it in https and http connections and compare the result

What is the expected behavior?
The browser should write 

function requestMediaKeySystemAccess() { [native code] }

to the console

What went wrong?
The console output is undefined

Did this work before? No 

Chrome version: 59.0.3071.115  Channel: stable
OS Version: 10.0
Flash Version: 

You can try this bin in chrome;

<a href="http://jsbin.com/getucuyowi/edit?html,js,output">http://jsbin.com/getucuyowi/edit?html,js,output</a>
 
Components: -Blink Blink>Media
Status: WontFix (was: Unconfirmed)
This is as required in the spec:
https://w3c.github.io/encrypted-media/#navigator-extension-requestmediakeysystemaccess

It indicates that the API is for SecureContext only.

Sign in to add a comment