Revert "Bug 1182569 - Skip security check for plugins using newstream attribute"

This reverts commit 5b0f4649b3fee771379af60ec04d43b8a525cf80.
This commit is contained in:
janekptacijarabaci 2018-04-22 22:16:58 +02:00 committed by Roy Tam
commit ca1f03fbae
5 changed files with 24 additions and 47 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, aContent->NodePrincipal());
fileName, nullptr, nullptr, aIsTrusted);
}
}