Bug 1428913 - Deny full-screen on right or middle mouse button. r=smaug
authorPaul Zuehlcke <pzuhlcke@mozilla.com>
Wed, 22 May 2019 19:16:31 +0000
changeset 11561 eca5a4157fe062d4228c5466646b07a656f9618e
parent 11560 2b91eb0d4f5e9bcc58c8321b8a11d38e86490a8e
child 11562 cd9a6b7e0450d64110a6334029166ce629528c42
push id143
push userflodolo@mozilla.com
push dateThu, 30 May 2019 06:01:38 +0000
reviewerssmaug
bugs1428913
Bug 1428913 - Deny full-screen on right or middle mouse button. r=smaug Differential Revision: https://phabricator.services.mozilla.com/D31481 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: eaafaaab2b4d5ec0fbd553eb951d0cea2c82ff77 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: da60c46020d54c758bc5cb98bd4dae1d99a40918 X-Channel-Repo: releases/mozilla-release X-Channel-Revision: df853c362664989e025d1206b59c37c435186a91
dom/chrome/dom/dom.properties
--- a/dom/chrome/dom/dom.properties
+++ b/dom/chrome/dom/dom.properties
@@ -58,16 +58,17 @@ FormValidationStepMismatch=Please select
 FormValidationStepMismatchOneValue=Please select a valid value. The nearest valid value is %S.
 FormValidationBadInputNumber=Please enter a number.
 EnablePrivilegeWarning=Use of enablePrivilege is deprecated.  Please use code that runs with the system principal (e.g. an extension) instead.
 FullscreenDeniedDisabled=Request for fullscreen was denied because Fullscreen API is disabled by user preference.
 FullscreenDeniedFocusedPlugin=Request for fullscreen was denied because a windowed plugin is focused.
 FullscreenDeniedHidden=Request for fullscreen was denied because the document is no longer visible.
 FullscreenDeniedContainerNotAllowed=Request for fullscreen was denied because at least one of the document’s containing elements is not an iframe or does not have an “allowfullscreen” attribute.
 FullscreenDeniedNotInputDriven=Request for fullscreen was denied because Element.requestFullscreen() was not called from inside a short running user-generated event handler.
+FullscreenDeniedMouseEventOnlyLeftBtn=Request for fullscreen was denied because Element.requestFullscreen() was called from inside a mouse event handler not triggered by left mouse button.
 FullscreenDeniedNotHTMLSVGOrMathML=Request for fullscreen was denied because requesting element is not <svg>, <math>, or an HTML element.
 FullscreenDeniedNotInDocument=Request for fullscreen was denied because requesting element is no longer in its document.
 FullscreenDeniedMovedDocument=Request for fullscreen was denied because requesting element has moved document.
 FullscreenDeniedLostWindow=Request for fullscreen was denied because we no longer have a window.
 FullscreenDeniedSubDocFullscreen=Request for fullscreen was denied because a subdocument of the document requesting fullscreen is already fullscreen.
 FullscreenDeniedNotDescendant=Request for fullscreen was denied because requesting element is not a descendant of the current fullscreen element.
 FullscreenDeniedNotFocusedTab=Request for fullscreen was denied because requesting element is not in the currently focused tab.
 FullscreenDeniedFeaturePolicy=Request for fullscreen was denied because of FeaturePolicy directives.