Bug 1322517 - Part 2 - Mark those MediaKey API securecontext in test_interfaces.html draft
authorJames Cheng <jacheng@mozilla.com>
Wed, 15 Nov 2017 15:46:29 +0800
changeset 698084 1f89bec71d0219ce60abc5e3229323d6c3175f53
parent 698083 8fecf082c8922100c5e55ed3eb4c24cbc20ce52f
child 740294 22356cae50d3354445daab6bebd4a0bece44d57f
push id89199
push userbmo:jacheng@mozilla.com
push dateWed, 15 Nov 2017 08:51:08 +0000
bugs1322517
milestone59.0a1
Bug 1322517 - Part 2 - Mark those MediaKey API securecontext in test_interfaces.html MozReview-Commit-ID: 1musPQcFyth
dom/tests/mochitest/general/test_interfaces.js
--- a/dom/tests/mochitest/general/test_interfaces.js
+++ b/dom/tests/mochitest/general/test_interfaces.js
@@ -616,25 +616,25 @@ var interfaceNamesInGlobalScope =
     "MediaElementAudioSourceNode",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "MediaError",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "MediaKeyError",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "MediaEncryptedEvent",
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    "MediaKeys",
+    {name: "MediaKeys", isSecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    "MediaKeySession",
+    {name: "MediaKeySession", isSecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    "MediaKeySystemAccess",
+    {name: "MediaKeySystemAccess", isSecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    "MediaKeyMessageEvent",
+    {name: "MediaKeyMessageEvent", isSecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
-    "MediaKeyStatusMap",
+    {name: "MediaKeyStatusMap", isSecureContext: true},
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "MediaList",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "MediaQueryList",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "MediaQueryListEvent",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "MediaRecorder",