Bug 1865914 - Part 3, r=Gijs,edgar
Differential Revision: https://phabricator.services.mozilla.com/D194886
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
// This file is loaded into the browser window scope.
|
||||
/* eslint-env mozilla/browser-window */
|
||||
|
||||
const FS_PERM_PROMPT_TIME_SHOWN_OFFSET_MS = 2000;
|
||||
|
||||
var PointerlockFsWarning = {
|
||||
_element: null,
|
||||
_origin: null,
|
||||
@@ -475,11 +473,6 @@ var FullScreen = {
|
||||
this._permissionNotificationIDs
|
||||
).filter(n => !n.dismissed).length
|
||||
) {
|
||||
if (PopupNotifications.panel.firstChild) {
|
||||
PopupNotifications.panel.firstChild.notification.timeShown +=
|
||||
FS_PERM_PROMPT_TIME_SHOWN_OFFSET_MS;
|
||||
}
|
||||
|
||||
this.exitDomFullScreen();
|
||||
this._logWarningPermissionPromptFS("fullScreenCanceled");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user