Bug 1504946 - Deprecate moz-prefixed fullscreen API, r=smaug

This commit is contained in:
Andrea Marchesini 2018-11-06 13:36:13 +01:00
Родитель cdc6f5845f
Коммит f30a0f8e42
4 изменённых файлов: 12 добавлений и 1 удалений

Просмотреть файл

@ -45,3 +45,6 @@ DEPRECATED_OPERATION(DOMAttrModifiedEvent)
DEPRECATED_OPERATION(MozBoxOrInlineBoxDisplay)
DEPRECATED_OPERATION(DOMQuadBoundsAttr)
DEPRECATED_OPERATION(CreateImageBitmapCanvasRenderingContext2D)
DEPRECATED_OPERATION(MozRequestFullScreenDeprecatedPrefix)
DEPRECATED_OPERATION(MozfullscreenchangeDeprecatedPrefix)
DEPRECATED_OPERATION(MozfullscreenerrorDeprecatedPrefix)

Просмотреть файл

@ -355,3 +355,9 @@ DOMQuadBoundsAttrWarning=DOMQuad.bounds is deprecated in favor of DOMQuad.getBou
UnsupportedEntryTypesIgnored=Ignoring unsupported entryTypes: %S.
# LOCALIZATION NOTE (CreateImageBitmapCanvasRenderingContext2DWarning): Do not translate CanvasRenderingContext2D and createImageBitmap.
CreateImageBitmapCanvasRenderingContext2DWarning=Use of CanvasRenderingContext2D in createImageBitmap is deprecated.
# LOCALIZATION NOTE (MozRequestFullScreenDeprecatedPrefixWarning): Do not translate mozRequestFullScreen.
MozRequestFullScreenDeprecatedPrefixWarning=mozRequestFullScreen() is deprecated.
# LOCALIZATION NOTE (MozfullscreenchangeDeprecatedPrefixWarning): Do not translate onmozfullscreenchange.
MozfullscreenchangeDeprecatedPrefixWarning=onmozfullscreenchange is deprecated.
# LOCALIZATION NOTE (MozfullscreenerrorDeprecatedPrefixWarning): Do not translate onmozfullscreenerror.
MozfullscreenerrorDeprecatedPrefixWarning=onmozfullscreenerror is deprecated.

Просмотреть файл

@ -263,7 +263,7 @@ Element implements GeometryUtils;
partial interface Element {
[Throws, Func="nsDocument::IsUnprefixedFullscreenEnabled", NeedsCallerType]
Promise<void> requestFullscreen();
[Throws, BinaryName="requestFullscreen", NeedsCallerType]
[Throws, BinaryName="requestFullscreen", NeedsCallerType, Deprecated="MozRequestFullScreenDeprecatedPrefix"]
Promise<void> mozRequestFullScreen();
// Events handlers

Просмотреть файл

@ -118,7 +118,9 @@ interface GlobalEventHandlers {
// Mozilla-specific handlers. Unprefixed handlers live in
// Document rather than here.
[Deprecated="MozfullscreenchangeDeprecatedPrefix"]
attribute EventHandler onmozfullscreenchange;
[Deprecated="MozfullscreenerrorDeprecatedPrefix"]
attribute EventHandler onmozfullscreenerror;
// CSS-Animation and CSS-Transition handlers.