diff --git a/dom/base/Element.cpp b/dom/base/Element.cpp index 115088cf696..b903ace5d6a 100644 --- a/dom/base/Element.cpp +++ b/dom/base/Element.cpp @@ -1744,7 +1744,7 @@ Element::UnbindFromTree(bool aDeep, bool aNullParent) nsContentUtils::ReportToConsole(nsIScriptError::warningFlag, NS_LITERAL_CSTRING("DOM"), OwnerDoc(), nsContentUtils::eDOM_PROPERTIES, - "RemovedFullScreenElement"); + "RemovedFullscreenElement"); // Fully exit full-screen. nsIDocument::ExitFullscreenInDocTree(OwnerDoc()); } @@ -3241,7 +3241,7 @@ GetFullScreenError(nsIDocument* aDoc) } if (!nsContentUtils::IsRequestFullScreenAllowed()) { - return "FullScreenDeniedNotInputDriven"; + return "FullscreenDeniedNotInputDriven"; } return nullptr; diff --git a/dom/base/nsDocument.cpp b/dom/base/nsDocument.cpp index dce7d7221cc..90758640f3a 100644 --- a/dom/base/nsDocument.cpp +++ b/dom/base/nsDocument.cpp @@ -11578,20 +11578,20 @@ GetFullscreenError(nsIDocument* aDoc, bool aCallerIsChrome) } if (!nsContentUtils::IsFullScreenApiEnabled()) { - return "FullScreenDeniedDisabled"; + return "FullscreenDeniedDisabled"; } if (!aDoc->IsVisible()) { - return "FullScreenDeniedHidden"; + return "FullscreenDeniedHidden"; } if (HasFullScreenSubDocument(aDoc)) { - return "FullScreenDeniedSubDocFullScreen"; + return "FullscreenDeniedSubDocFullScreen"; } // Ensure that all containing elements are