Bug 1314445 - Remove unused enum values from MediaKeySystemStatus. r=smaug draft
authorChris Pearce <cpearce@mozilla.com>
Wed, 02 Nov 2016 11:59:51 +1300
changeset 432841 9c9ddf6b2b9df845a2807186e8649684e9227ee3
parent 432840 aed95e2b024af6fa36f0da96f564966c8d7f3a7d
child 432842 50eb62c487aa88e687fa6a6ff30cdfd762aa51a7
push id34444
push usercpearce@mozilla.com
push dateWed, 02 Nov 2016 22:51:27 +0000
reviewerssmaug
bugs1314445
milestone52.0a1
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
dom/webidl/MediaKeysRequestStatus.webidl
--- 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;
 };