[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser] 26/34: Bug 1746448; r=smaug,a=dsmith
This is an automated email from the git hooks/post-receive script.
richard pushed a commit to branch tor-browser-91.9esr-11.0-1
in repository tor-browser.
commit ba3151d51bab4048f50b949c243baab872d49a5e
Author: Edgar Chen <echen@xxxxxxxxxxx>
AuthorDate: Wed Apr 20 15:37:47 2022 +0000
Bug 1746448; r=smaug,a=dsmith
Differential Revision: https://phabricator.services.mozilla.com/D143483
---
toolkit/components/windowwatcher/nsWindowWatcher.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/toolkit/components/windowwatcher/nsWindowWatcher.cpp b/toolkit/components/windowwatcher/nsWindowWatcher.cpp
index 0a0083f4aecb6..b9d8809be3eef 100644
--- a/toolkit/components/windowwatcher/nsWindowWatcher.cpp
+++ b/toolkit/components/windowwatcher/nsWindowWatcher.cpp
@@ -1346,8 +1346,8 @@ nsresult nsWindowWatcher::OpenWindowInternal(
}
}
// If a website opens a popup exit DOM fullscreen
- if (StaticPrefs::full_screen_api_exit_on_windowOpen() && windowIsNew &&
- aCalledFromJS && !hasChromeParent && !isCallerChrome && parentWindow) {
+ if (StaticPrefs::full_screen_api_exit_on_windowOpen() && aCalledFromJS &&
+ !hasChromeParent && !isCallerChrome && parentWindow) {
Document::AsyncExitFullscreen(parentWindow->GetDoc());
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits