Bug 1454380 [wpt PR 8508] - Test that requestMediaKeySystemAccess sets label, a=testonly
authortheodab <theodab@google.com>
Sun, 22 Apr 2018 15:11:15 +0000
changeset 415347 bd099c6fb9cf627af469bbdfd74ff77da43a5bbc
parent 415346 4bbea84414ab0ea6b8abfc02c682c9e6c02e647e
child 415348 fb03c240a2e225003cc30b0f054a51fe26eb129f
push id33894
push usercbrindusan@mozilla.com
push dateTue, 24 Apr 2018 21:51:36 +0000
treeherdermozilla-central@6eeb97ca94f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1454380
milestone61.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 1454380 [wpt PR 8508] - Test that requestMediaKeySystemAccess sets label, a=testonly Automatic update from web-platform-testsTest that requestMediaKeySystemAccess sets label (#8508) On Edge, navigator.requestMediaKeySystemAccess ignores the value passed along to the label configuration field. This test exposes that bug. See https://goo.gl/6SgCRb -- wpt-commits: e6cffaa6d307ec6ef08102aad9c7a4a1df5b7d53 wpt-pr: 8508
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/encrypted-media/scripts/requestmediakeysystemaccess.js
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -554372,17 +554372,17 @@
    "9a7ed5f97f7eff3f6711325dea7dcca1323d3bde",
    "support"
   ],
   "encrypted-media/scripts/playback-temporary.js": [
    "ac2f3395cd63f1fe4c243265c59fc3f503f09926",
    "support"
   ],
   "encrypted-media/scripts/requestmediakeysystemaccess.js": [
-   "022356b6f89ddbda4c2341ff3411a725260c5494",
+   "ee68c7973d18ffd07c5b1b8bf4f4120bd63e3343",
    "support"
   ],
   "encrypted-media/scripts/reset-src-after-setmediakeys.js": [
    "5c82378ce1dd5c9991b78668d7cfd0e02c2d1b5e",
    "support"
   ],
   "encrypted-media/scripts/setmediakeys-again-after-playback.js": [
    "fc6557f201aad3dfcd5df83a96d40fdbf752d009",
--- a/testing/web-platform/tests/encrypted-media/scripts/requestmediakeysystemaccess.js
+++ b/testing/web-platform/tests/encrypted-media/scripts/requestmediakeysystemaccess.js
@@ -86,20 +86,22 @@ function runTest(config, qualifier) {
     expect_error(config.keysystem, [], 'TypeError', 'Empty supportedConfigurations');
     expect_error(config.keysystem, [{}], 'NotSupportedError', 'Empty configuration');
 
     // Various combinations of supportedConfigurations.
     expect_config(config.keysystem, [{
         initDataTypes: [config.initDataType],
         audioCapabilities: [{contentType: config.audioType}],
         videoCapabilities: [{contentType: config.videoType}],
+        label: 'abcd',
     }], {
         initDataTypes: [config.initDataType],
         audioCapabilities: [{contentType: config.audioType}],
         videoCapabilities: [{contentType: config.videoType}],
+        label: 'abcd',
     }, 'Basic supported configuration');
 
     expect_config(config.keysystem, [{
         initDataTypes: ['fakeidt', config.initDataType],
         audioCapabilities: [{contentType: 'audio/fake'}, {contentType: config.audioType}],
         videoCapabilities: [{contentType: 'video/fake'}, {contentType: config.videoType}],
     }], {
         initDataTypes: [config.initDataType],