зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1588883 - Restore fullscreen transition message. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D49373 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
48bfc7dee9
Коммит
85311b3039
|
@ -22,7 +22,7 @@ class DOMFullscreenParent extends JSWindowActorParent {
|
|||
}
|
||||
case "DOMFullscreen:NewOrigin": {
|
||||
// Don't show the warning if we've already exited fullscreen.
|
||||
if (window.fullscreen) {
|
||||
if (window.document.fullscreen) {
|
||||
window.PointerlockFsWarning.showFullScreen(
|
||||
aMessage.data.originNoSuffix
|
||||
);
|
||||
|
|
Загрузка…
Ссылка в новой задаче