[tor-commits] [tor-browser] 10/37: Bug 1768537, r=smaug a=RyanVM
gitolite role
git at cupani.torproject.org
Wed Jun 22 18:27:19 UTC 2022
This is an automated email from the git hooks/post-receive script.
richard pushed a commit to branch tor-browser-91.11.0esr-11.5-1
in repository tor-browser.
commit af7eb0fb565261dbf3ad4cb87ed7e04caa50c714
Author: Paul Zuehlcke <pbz at mozilla.com>
AuthorDate: Thu Jun 2 09:56:50 2022 +0000
Bug 1768537, r=smaug a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D146914
---
docshell/base/nsDocShell.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp
index 67732b7cad675..121804115a179 100644
--- a/docshell/base/nsDocShell.cpp
+++ b/docshell/base/nsDocShell.cpp
@@ -12690,7 +12690,7 @@ nsresult nsDocShell::OnLinkClickSync(nsIContent* aContent,
}
uint32_t triggeringSandboxFlags = 0;
if (mBrowsingContext) {
- triggeringSandboxFlags = mBrowsingContext->GetSandboxFlags();
+ triggeringSandboxFlags = aContent->OwnerDoc()->GetSandboxFlags();
}
uint32_t flags = INTERNAL_LOAD_FLAGS_NONE;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tor-commits
mailing list