diff --git a/index.bs b/index.bs index 7ca7ee6..dc2a4ce 100644 --- a/index.bs +++ b/index.bs @@ -282,9 +282,48 @@ spec: encrypted-media-draft; for: EME; urlPrefix: https://w3c.github.io/encrypte
- In the context of this specification, a MIME type is also called content - type. A valid media MIME type is a string that is a valid - MIME type per [[mimesniff]]. + To check if a string mimeString is a valid media MIME + type, the following steps MUST be run: +
failure
,
+ return false
and abort these steps.
+ type
and subtype
members
+ of parsedMime imply a single media codec, run these
+ substeps:
+ parameters
member of parsedMime
+ is not empty, return false
and abort these steps.
+ true
.parameters
member of parsedMime
+ does not contain a single key named "codecs", return
+ false
and abort these steps.
+ parsedMime.parameters["codecs"]
+ does not describe a single media codec, return
+ false
and abort these steps.
+