blob: 8ff261c3e916df771b2943d8946c46c2aaacef1c [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>fps-requestMediaKeySystemAccess</title>
<script src="../../../../media/video-test.js"></script>
<script>
var capabilities = [{
initDataTypes: ['sinf'],
videoCapabilities: [{ contentType: 'video/mp4', robustness: '' }],
distinctiveIdentifier: 'not-allowed',
persistentState: 'not-allowed',
sessionTypes: ['temporary'],
}];
var promise;
function startTest() {
run('promise = navigator.requestMediaKeySystemAccess("com.apple.fps", capabilities)');
shouldResolve(promise).then(endTest);
}
window.addEventListener('load', startTest);
</script>
</head>
<body>
</body>
</html>