[Pkg-javascript-commits] [pdf.js] 92/204: Adds preprocessor directive to the X-Content-Security-Policy stuff
David Prévot
taffit at moszumanska.debian.org
Sat Oct 25 18:50:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 861a7615ffd4f97df10d3f1c7b14f2ddda5a798f
Author: Yury Delendik <ydelendik at mozilla.com>
Date: Fri Sep 19 15:18:37 2014 -0500
Adds preprocessor directive to the X-Content-Security-Policy stuff
---
extensions/firefox/content/PdfStreamConverter.jsm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/extensions/firefox/content/PdfStreamConverter.jsm b/extensions/firefox/content/PdfStreamConverter.jsm
index e714c84..5b7a617 100644
--- a/extensions/firefox/content/PdfStreamConverter.jsm
+++ b/extensions/firefox/content/PdfStreamConverter.jsm
@@ -881,9 +881,11 @@ PdfStreamConverter.prototype = {
aRequest.setResponseHeader('Content-Security-Policy', '', false);
aRequest.setResponseHeader('Content-Security-Policy-Report-Only', '',
false);
+//#if !MOZCENTRAL
aRequest.setResponseHeader('X-Content-Security-Policy', '', false);
aRequest.setResponseHeader('X-Content-Security-Policy-Report-Only', '',
false);
+//#endif
}
PdfJsTelemetry.onViewerIsUsed();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list