summaryrefslogtreecommitdiffstats
path: root/dom/base
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 21:59:46 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 21:59:46 +0200
commit5b0f4649b3fee771379af60ec04d43b8a525cf80 (patch)
treef4e2982b0d8f0484e2f261aebf0cccfc7b5ce9f5 /dom/base
parent2e33335820b2816bee111e78588ac82e401c86ae (diff)
downloadUXP-5b0f4649b3fee771379af60ec04d43b8a525cf80.tar
UXP-5b0f4649b3fee771379af60ec04d43b8a525cf80.tar.gz
UXP-5b0f4649b3fee771379af60ec04d43b8a525cf80.tar.lz
UXP-5b0f4649b3fee771379af60ec04d43b8a525cf80.tar.xz
UXP-5b0f4649b3fee771379af60ec04d43b8a525cf80.zip
Bug 1182569 - Skip security check for plugins using newstream attribute
native in moebius
Diffstat (limited to 'dom/base')
-rw-r--r--dom/base/nsContentUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp
index ef87a250e..c3ff2b4d8 100644
--- a/dom/base/nsContentUtils.cpp
+++ b/dom/base/nsContentUtils.cpp
@@ -5100,7 +5100,7 @@ nsContentUtils::TriggerLink(nsIContent *aContent, nsPresContext *aPresContext,
handler->OnLinkClick(aContent, aLinkURI,
fileName.IsVoid() ? aTargetSpec.get() : EmptyString().get(),
- fileName, nullptr, nullptr, aIsTrusted);
+ fileName, nullptr, nullptr, aIsTrusted, aContent->NodePrincipal());
}
}