- From: ddorwin via GitHub <sysbot+gh@w3.org>
- Date: Tue, 26 May 2015 18:22:02 +0000
- To: public-html-media@w3.org
ddorwin has just created a new issue for https://github.com/w3c/encrypted-media: == Define behavior if sanitized data is empty == In all cases where data is sanitized, the next steps says, "If the previous step failed, reject promise..." This should probably say, "If the previous step failed **or the sanitized data is empty**, reject promise..." For _init data_, the issue is a little more complex. The sanitization step says to "remove entries that are not needed by the CDM," which could result in an empty _sanitized init data_. If the promise is rejected there, `InvalidAccessError` would be used. However, the original intent before sanitization and currently-defined behavior would be for the CDM to reject the promise with `NotSupportedError`, which is more accurate - the `initData` did not contain data supported by this CDM. See https://github.com/w3c/encrypted-media/issues/61
Received on Tuesday, 26 May 2015 18:22:03 UTC