Bug 1242321 - Remove obsolete "media.eme.apiVisible" pref. r=cpearce sr=bz

This commit is contained in:
Chris Peterson 2016-01-22 21:20:08 -08:00
parent eec673c03c
commit 873eba189f
14 changed files with 5 additions and 17 deletions

View File

@ -238,8 +238,7 @@ DEFAULT_TEST_PREFS = {
'dom.mozApps.debug': True,
'dom.apps.customization.enabled': True,
'media.eme.enabled': True,
'media.eme.apiVisible': True,
# Don't forceably kill content processes after a timeout
# Don't forcibly kill content processes after a timeout
'dom.ipc.tabs.shutdownTimeoutSecs': 0,
'general.useragent.locale': "en-US",
'intl.locale.matchOS': "en-US",

View File

@ -42,7 +42,6 @@
"dom.mozApps.debug": true,
"dom.apps.customization.enabled": true,
"media.eme.enabled": true,
"media.eme.apiVisible": true,
"dom.ipc.tabs.shutdownTimeoutSecs": 0,
"general.useragent.locale": "en-US",
"intl.locale.matchOS": "en-US",

View File

@ -327,7 +327,6 @@ pref("media.gonk.enabled", true);
//Encrypted media extensions.
pref("media.eme.enabled", true);
pref("media.eme.apiVisible", true);
// The default number of decoded video frames that are enqueued in
// MediaDecoderReader's mVideoQueue.
pref("media.video-queue.default-size", 3);

View File

@ -1500,7 +1500,6 @@ pref("ui.key.menuAccessKeyFocuses", true);
// Encrypted media extensions.
pref("media.eme.enabled", true);
pref("media.eme.apiVisible", true);
// Decode using Gecko Media Plugins in <video>, if a system decoder is not
// availble and the preferred GMP is available.

View File

@ -418,7 +418,6 @@ function SetupEME(test, token, params)
function SetupEMEPref(callback) {
var prefs = [
[ "media.mediasource.enabled", true ],
[ "media.eme.apiVisible", true ],
];
if (SpecialPowers.Services.appinfo.name == "B2G" ||

View File

@ -156,14 +156,12 @@ partial interface HTMLMediaElement {
#ifdef MOZ_EME
// Encrypted Media Extensions
partial interface HTMLMediaElement {
[Pref="media.eme.apiVisible"]
readonly attribute MediaKeys? mediaKeys;
// void, not any: https://www.w3.org/Bugs/Public/show_bug.cgi?id=26457
[Pref="media.eme.apiVisible", NewObject]
[NewObject]
Promise<void> setMediaKeys(MediaKeys? mediaKeys);
[Pref="media.eme.apiVisible"]
attribute EventHandler onencrypted;
};
#endif

View File

@ -10,7 +10,7 @@
* W3C liability, trademark and document use rules apply.
*/
[Pref="media.eme.apiVisible", Constructor(DOMString type, optional MediaKeyNeededEventInit eventInitDict)]
[Constructor(DOMString type, optional MediaKeyNeededEventInit eventInitDict)]
interface MediaEncryptedEvent : Event {
readonly attribute DOMString initDataType;
[Throws]

View File

@ -13,7 +13,6 @@
// According to the spec, "The future of error events and MediaKeyError
// is uncertain."
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=21798
[Pref="media.eme.apiVisible"]
interface MediaKeyError : Event {
readonly attribute unsigned long systemCode;
};

View File

@ -17,7 +17,7 @@ enum MediaKeyMessageType {
"individualization-request"
};
[Pref="media.eme.apiVisible", Constructor(DOMString type, optional MediaKeyMessageEventInit eventInitDict)]
[Constructor(DOMString type, optional MediaKeyMessageEventInit eventInitDict)]
interface MediaKeyMessageEvent : Event {
readonly attribute MediaKeyMessageType messageType;
[Throws]

View File

@ -10,7 +10,6 @@
* W3C liability, trademark and document use rules apply.
*/
[Pref="media.eme.apiVisible"]
interface MediaKeySession : EventTarget {
// error state
readonly attribute MediaKeyError? error;

View File

@ -20,7 +20,6 @@ enum MediaKeyStatus {
"internal-error"
};
[Pref="media.eme.apiVisible"]
interface MediaKeyStatusMap {
iterable<ArrayBuffer,MediaKeyStatus>;
readonly attribute unsigned long size;

View File

@ -30,7 +30,6 @@ dictionary MediaKeySystemConfiguration {
DOMString videoType = "";
};
[Pref="media.eme.apiVisible"]
interface MediaKeySystemAccess {
readonly attribute DOMString keySystem;
[NewObject]

View File

@ -12,7 +12,6 @@
enum SessionType { "temporary", "persistent" };
[Pref="media.eme.apiVisible"]
interface MediaKeys {
readonly attribute DOMString keySystem;

View File

@ -452,7 +452,7 @@ partial interface Navigator {
#ifdef MOZ_EME
partial interface Navigator {
[Pref="media.eme.apiVisible", NewObject]
[NewObject]
Promise<MediaKeySystemAccess>
requestMediaKeySystemAccess(DOMString keySystem,
sequence<MediaKeySystemConfiguration> supportedConfigurations);