summaryrefslogtreecommitdiff
path: root/dom/base
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 22:16:58 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-22 22:16:58 +0200
commit13f3978a14cb90eb01fc7f185f62b2ee2ac9f466 (patch)
tree1f59b2ec96124bb182f34bd6d8222e012656a1c0 /dom/base
parentee4f7c4aa17068cfda347fb6ce51ca0b1958fbb6 (diff)
downloaduxp-13f3978a14cb90eb01fc7f185f62b2ee2ac9f466.tar.gz
Revert "Bug 1182569 - Skip security check for plugins using newstream attribute"
This reverts commit 5b0f4649b3fee771379af60ec04d43b8a525cf80.
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 c3ff2b4d8b..ef87a250ec 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, aContent->NodePrincipal());
+ fileName, nullptr, nullptr, aIsTrusted);
}
}