зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1504946 - Deprecate moz-prefixed fullscreen API, r=smaug
This commit is contained in:
Родитель
cdc6f5845f
Коммит
f30a0f8e42
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче