Bug 1314445 - Remove tests for CDM versions specified in keysystem string. r=gerald draft
authorChris Pearce <cpearce@mozilla.com>
Wed, 02 Nov 2016 16:13:45 +1300
changeset 432844 09a5b25939bf0f29ee23669c887fd24eff9cd810
parent 432843 88b11bbbe0fffb434d7699f9c720c12ab7797b5c
child 432845 854c1c267b44565da2ddec9b98ce83415d315488
push id34444
push usercpearce@mozilla.com
push dateWed, 02 Nov 2016 22:51:27 +0000
reviewersgerald
bugs1314445
milestone52.0a1
Bug 1314445 - Remove tests for CDM versions specified in keysystem string. r=gerald MozReview-Commit-ID: F12I1cmfvke
dom/media/test/test_eme_requestKeySystemAccess.html
--- a/dom/media/test/test_eme_requestKeySystemAccess.html
+++ b/dom/media/test/test_eme_requestKeySystemAccess.html
@@ -460,72 +460,16 @@ var tests = [
     options: [
       {
         initDataTypes: ['webm'],
         videoCapabilities: [{contentType: 'video/webm;codecs="bogus"'}],
       }
     ],
     shouldPass: false,
   },
-  {
-    name: "CDM version less than",
-    keySystem: CLEARKEY_KEYSYSTEM + ".0",
-    options: [
-      {
-        label: SUPPORTED_LABEL,
-        initDataTypes: ['cenc'],
-        videoCapabilities: [{contentType: 'video/mp4'}],
-      }
-    ],
-    expectedConfig: {
-      label: SUPPORTED_LABEL,
-      initDataTypes: ['cenc'],
-      videoCapabilities: [{contentType: 'video/mp4'}],
-    },
-    shouldPass: true
-  },
-  {
-    name: "CDM version equal to",
-    keySystem: CLEARKEY_KEYSYSTEM + ".1",
-    options: [
-      {
-        label: SUPPORTED_LABEL,
-        initDataTypes: ['cenc'],
-        videoCapabilities: [{contentType: 'video/mp4'}],
-      }
-    ],
-    expectedConfig: {
-      label: SUPPORTED_LABEL,
-      initDataTypes: ['cenc'],
-      videoCapabilities: [{contentType: 'video/mp4'}],
-    },
-    shouldPass: true
-  },
-  {
-    name: "CDM version greater than",
-    keySystem: CLEARKEY_KEYSYSTEM + ".2",
-    options: [
-      {
-        initDataTypes: ['cenc'],
-        videoCapabilities: [{contentType: 'video/mp4'}],
-      }
-    ],
-    shouldPass: false
-  },
-  {
-    name: "Non-whole number CDM version",
-    keySystem: CLEARKEY_KEYSYSTEM + ".0.1",
-    options: [
-      {
-        initDataTypes: ['cenc'],
-        videoCapabilities: [{contentType: 'video/mp4'}],
-      }
-    ],
-    shouldPass: false
-  },
 ];
 
 function beginTest() {
   Promise.all(tests.map(Test)).then(function() { SimpleTest.finish(); });
 }
 
 if (!IsMacOSSnowLeopardOrEarlier()) {
   SimpleTest.waitForExplicitFinish();