New issue
Advanced search Search tips

Issue 810698 link

Starred by 2 users

Issue metadata

Status: Duplicate
Owner: ----
Closed: Mar 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug

Blocked on:
issue 691178



Sign in to add a comment

RequestMediaKeySystemAccess with persistent state required resolves on private browsing

Reported by gbenta...@gmail.com, Feb 9 2018

Issue description

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

Steps to reproduce the problem:
1. Go to this js fiddle in private mode: https://jsfiddle.net/mg5z2386/
2. The promise requestMediaKeySystemAccess resolves with persistentState='required', when it shouldn't
3. Do the same thing on firefox in private mode: it rejects an error

What is the expected behavior?
navigator.requestMediaKeySystemAccess should rejects if in private mode and persistentState is required.

What went wrong?
The promise requestMediaKeySystemAccess resolves when persistentState is set to 'required' in private mode. This makes player using the EME workflow think they can use the parameter persistentState='required', which they cannot in private mode.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 63.0.3239.132  Channel: stable
OS Version: OS X 10.12.6
Flash Version:
 
EME-test.js
485 bytes View Download
Components: Internals>Media>Encrypted
Blockedon: 691178
Labels: OS-Chrome OS-Linux OS-Windows
Status: Available (was: Unconfirmed)
I can reproduce with:
- Chrome 66.0.3344.0 on Mac 
- Chrome 66.0.3342.0 on ChromeOS

I cannot reproduce with:
Chrome 66.0.3343.0 on Android

This seems to be fixed in Android (https://chromium.googlesource.com/chromium/src.git/+/c343f2f728d08d5da8c37fb6151588c6add426ce%5E%21/#F0).

Comment 3 by xhw...@chromium.org, Mar 22 2018

Mergedinto: 691178
Status: Duplicate (was: Available)

Sign in to add a comment