Bug 1282142 - Add testcase ensuring persistent-usage-record MediaKeySessions are unsupported by ClearKey. r=gerald
authorChris Pearce <cpearce@mozilla.com>
Fri, 22 Jul 2016 13:42:31 +1200
changeset 346463 48bcc4d343b3a33d08b13300f5a8b0d71e793a32
parent 346462 ad262be679de3659068498c891c5bd5e0e3baf56
child 346464 388944aa4d97187fd9a28f10f6ad03d35026940c
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgerald
bugs1282142
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1282142 - Add testcase ensuring persistent-usage-record MediaKeySessions are unsupported by ClearKey. r=gerald MozReview-Commit-ID: vbnJT5PGGv
dom/media/test/test_eme_requestKeySystemAccess.html
--- a/dom/media/test/test_eme_requestKeySystemAccess.html
+++ b/dom/media/test/test_eme_requestKeySystemAccess.html
@@ -285,16 +285,28 @@ var tests = [
       initDataTypes: ['cenc'],
       videoCapabilities: [{contentType: 'video/mp4'}],
       sessionTypes: ['temporary','persistent-license'],
       persistentState: 'required',
     },
     shouldPass: true,
   },
   {
+    name: 'Persistent-usage-record should not be supported by ClearKey',
+    options: [
+      {
+        initDataTypes: ['cenc'],
+        videoCapabilities: [{contentType: 'video/mp4'}],
+        sessionTypes: ['persistent-usage-record'],
+        persistentState: 'required',
+      }
+    ],
+    shouldPass: false,
+  },  
+  {
     name: 'MP4 audio container',
     options: [
       {
         label: SUPPORTED_LABEL,
         initDataTypes: ['cenc'],
         audioCapabilities: [{contentType: 'audio/mp4'}],
       }
     ],