Bug 1182569 - Skip security check for plugins using newstream attribute

native in moebius
This commit is contained in:
janekptacijarabaci 2018-04-22 21:59:46 +02:00 committed by Roy Tam
commit 0337202a47
5 changed files with 47 additions and 24 deletions

View file

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