Bug 1314445 - Remove unused enum values from MediaKeySystemStatus. r=smaug
This WebIDL enum/dict is used to pass messages from Gecko to the front-end
chrome JS code to notify it of problems starting up EME CDMs. This patch
removes some statuses from the enum that are no longer dispatched as of an
earlier patch in this series.
MozReview-Commit-ID: KjbUTvLBhjw
--- a/dom/webidl/MediaKeysRequestStatus.webidl
+++ b/dom/webidl/MediaKeysRequestStatus.webidl
@@ -5,17 +5,19 @@
*/
enum MediaKeySystemStatus {
"available",
"api-disabled",
"cdm-disabled",
"cdm-not-supported",
"cdm-not-installed",
- "cdm-insufficient-version",
"cdm-created",
- "error"
};
+/* Note: This dictionary and enum is only used by Gecko to convey messages
+ * to chrome JS code. It is not exposed to the web.
+ */
+
dictionary RequestMediaKeySystemAccessNotification {
required DOMString keySystem;
required MediaKeySystemStatus status;
};