Bug 1314445 - Remove tests for CDM versions specified in keysystem string. r=gerald
authorChris Pearce <cpearce@mozilla.com>
Wed, 02 Nov 2016 16:13:45 +1300
changeset 347457 ba37b01751a2fbcddd903d32215458be3f5ea5e2
parent 347456 bd3344c860a04b13c477872e14fdf6ab1a9fb94e
child 347458 4eb93831e7d316e5b2dabe053c3f2a2e763594e8
push id10298
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:33:03 +0000
treeherdermozilla-aurora@7e29173b1641 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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();