From 7eae88669a24b665151ce6e5191d3b16d6f5df20 Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Mon, 8 Jul 2013 11:09:50 -0700 Subject: [PATCH] Bug 879161 - Fix pdf.js mimetype check. --- extensions/firefox/content/PdfJs.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/firefox/content/PdfJs.jsm b/extensions/firefox/content/PdfJs.jsm index 3c790c17b..5522312d6 100644 --- a/extensions/firefox/content/PdfJs.jsm +++ b/extensions/firefox/content/PdfJs.jsm @@ -224,7 +224,7 @@ let PdfJs = { } let mimeTypes = tag.getMimeTypes(); return mimeTypes.some(function(mimeType) { - return mimeType.type === PDF_CONTENT_TYPE; + return mimeType === PDF_CONTENT_TYPE; }); });