зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1765201 - Remove mozPreservesPitch. r=emilio,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D182957
This commit is contained in:
Родитель
b9c61cf6dc
Коммит
0c51148647
|
@ -9,7 +9,6 @@
|
|||
module.exports = [
|
||||
"InstallTrigger",
|
||||
"farthestViewportElement",
|
||||
"mozPreservesPitch",
|
||||
"mozPressure",
|
||||
"nearestViewportElement",
|
||||
"onmouseenter",
|
||||
|
|
|
@ -56,7 +56,6 @@ DEPRECATED_OPERATION(ElementSetCapture)
|
|||
DEPRECATED_OPERATION(ElementReleaseCapture)
|
||||
DEPRECATED_OPERATION(DocumentReleaseCapture)
|
||||
DEPRECATED_OPERATION(OffscreenCanvasToBlob)
|
||||
DEPRECATED_OPERATION(MozPreservesPitchDeprecatedPrefix)
|
||||
DEPRECATED_OPERATION(SVGNearestViewportElement)
|
||||
DEPRECATED_OPERATION(SVGFarthestViewportElement)
|
||||
DEPRECATED_OPERATION(SizeToContent)
|
||||
|
|
|
@ -114,11 +114,6 @@ partial interface HTMLMediaElement {
|
|||
|
||||
attribute MediaStream? srcObject;
|
||||
|
||||
// TODO: Remove mozPreservesPitch. (bug 1765201)
|
||||
[Deprecated="MozPreservesPitchDeprecatedPrefix",
|
||||
Pref="dom.media.mozPreservesPitch.enabled",
|
||||
BinaryName="preservesPitch"]
|
||||
attribute boolean mozPreservesPitch;
|
||||
attribute boolean preservesPitch;
|
||||
|
||||
// NB: for internal use with the video controls:
|
||||
|
|
|
@ -3134,12 +3134,6 @@
|
|||
value: true
|
||||
mirror: always
|
||||
|
||||
# Whether HTMLMediaElement.mozPreservesPitch is enabled.
|
||||
- name: dom.media.mozPreservesPitch.enabled
|
||||
type: bool
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
# WebCodecs API
|
||||
- name: dom.media.webcodecs.enabled
|
||||
type: RelaxedAtomicBool
|
||||
|
|
|
@ -1 +1 @@
|
|||
prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featurePolicy.header.enabled:true, dom.security.featurePolicy.webidl.enabled:true, dom.media.mozPreservesPitch.enabled:false]
|
||||
prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featurePolicy.header.enabled:true, dom.security.featurePolicy.webidl.enabled:true]
|
||||
|
|
|
@ -12,9 +12,6 @@ function getPreservesPitch(audio) {
|
|||
if ("preservesPitch" in HTMLAudioElement.prototype) {
|
||||
return audio.preservesPitch;
|
||||
}
|
||||
if ("mozPreservesPitch" in HTMLAudioElement.prototype) {
|
||||
return audio.mozPreservesPitch;
|
||||
}
|
||||
if ("webkitPreservesPitch" in HTMLAudioElement.prototype) {
|
||||
return audio.webkitPreservesPitch;
|
||||
}
|
||||
|
@ -25,8 +22,6 @@ function getPreservesPitch(audio) {
|
|||
function setPreservesPitch(audio, value) {
|
||||
if ("preservesPitch" in HTMLAudioElement.prototype) {
|
||||
audio.preservesPitch = value;
|
||||
} else if ("mozPreservesPitch" in HTMLAudioElement.prototype) {
|
||||
audio.mozPreservesPitch = value;
|
||||
} else if ("webkitPreservesPitch" in HTMLAudioElement.prototype) {
|
||||
audio.webkitPreservesPitch = value;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче