Merge pull request #7636 from yurydelendik/rm-refresh

Drops unneeded HTTP refresh header for the extension.
This commit is contained in:
Brendan Dahl 2016-09-15 10:01:11 -07:00 committed by GitHub
commit 834a7ff329

View File

@ -970,6 +970,8 @@ PdfStreamConverter.prototype = {
aRequest.setResponseHeader('Content-Security-Policy', '', false);
aRequest.setResponseHeader('Content-Security-Policy-Report-Only', '',
false);
// The viewer does not need to handle HTTP Refresh header.
aRequest.setResponseHeader('Refresh', '', false);
}
PdfJsTelemetry.onViewerIsUsed();