File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -2978,7 +2978,7 @@ <h2>
2978
2978
< div >
2979
2979
< pre class ="idl ">
2980
2980
dictionary MediaKeysPolicy {
2981
- HDCPVersion minHdcpVersion;
2981
+ DOMString minHdcpVersion;
2982
2982
};
2983
2983
</ pre >
2984
2984
< p >
@@ -2989,23 +2989,11 @@ <h2>
2989
2989
</ p >
2990
2990
</ div >
2991
2991
< div >
2992
- < pre class ="idl ">
2993
- enum HDCPVersion {
2994
- "1.0",
2995
- "1.1",
2996
- "1.2",
2997
- "1.3",
2998
- "1.4",
2999
- "2.0",
3000
- "2.1",
3001
- "2.2",
3002
- "2.3",
3003
- };
3004
- </ pre >
3005
2992
< p >
3006
- The HDCP Policy is represented by {{MediaKeysPolicy/minHdcpVersion}}. When set, the
3007
- policy requirement will be fulfilled if the system supports
3008
- {{MediaKeysPolicy/minHdcpVersion}} on the current display.
2993
+ The HDCP Policy is represented by {{MediaKeysPolicy/minHdcpVersion}}. If the system
2994
+ can enable the HDCP version specified or higher, then the policy will result in a
2995
+ {{MediaKeyStatus}} of {{MediaKeyStatus/"usable"}}. Implementations MUST support
2996
+ {{MediaKeysPolicy/minHdcpVersion}} values defined in [[EME-HDCP-VERSION-REGISTRY]].
3009
2997
</ p >
3010
2998
< p class ="note ">
3011
2999
The determination of HDCP status should be done in the same way that the [=CDM=]
@@ -3026,6 +3014,20 @@ <h2>
3026
3014
Let < var > promise</ var > be a new promise.
3027
3015
</ p >
3028
3016
< ol >
3017
+ < li >
3018
+ < p >
3019
+ For each [=dictionary member=] of < var > policy</ var > , run the following steps:
3020
+ </ p >
3021
+ < ol >
3022
+ < li >
3023
+ < p >
3024
+ If the key is not a valid {{MediaKeysPolicy}} member or the type of the
3025
+ value is incorrect, then reject < var > promise</ var > with {{TypeError}} and
3026
+ abort these steps.
3027
+ </ p >
3028
+ </ li >
3029
+ </ ol >
3030
+ </ li >
3029
3031
< li >
3030
3032
< p >
3031
3033
For each [=dictionary member=] of < var > policy</ var > , run the following steps:
You can’t perform that action at this time.
0 commit comments