Bug 1182569 - Skip security check for plugins using newstream attribute

This commit is contained in:
janekptacijarabaci 2018-04-30 22:09:55 +02:00 committed by Roy Tam
commit 409656556b
5 changed files with 47 additions and 24 deletions

View file

@ -5104,7 +5104,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());
}
}