mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1242321 - Remove obsolete "media.eme.apiVisible" pref. r=cpearce sr=bz
This commit is contained in:
parent
eec673c03c
commit
873eba189f
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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);
|
||||
|
@ -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.
|
||||
|
@ -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" ||
|
||||
|
@ -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
|
||||
|
@ -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]
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -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]
|
||||
|
@ -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;
|
||||
|
@ -20,7 +20,6 @@ enum MediaKeyStatus {
|
||||
"internal-error"
|
||||
};
|
||||
|
||||
[Pref="media.eme.apiVisible"]
|
||||
interface MediaKeyStatusMap {
|
||||
iterable<ArrayBuffer,MediaKeyStatus>;
|
||||
readonly attribute unsigned long size;
|
||||
|
@ -30,7 +30,6 @@ dictionary MediaKeySystemConfiguration {
|
||||
DOMString videoType = "";
|
||||
};
|
||||
|
||||
[Pref="media.eme.apiVisible"]
|
||||
interface MediaKeySystemAccess {
|
||||
readonly attribute DOMString keySystem;
|
||||
[NewObject]
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
enum SessionType { "temporary", "persistent" };
|
||||
|
||||
[Pref="media.eme.apiVisible"]
|
||||
interface MediaKeys {
|
||||
readonly attribute DOMString keySystem;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user