www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 226928f1e98f71934a497fefac9df515eb79e9d1
parent 6c814e2fa262e06f6173a74d163e481789e02a9f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 21 Oct 2014 00:45:48 -0400

Debugging for "types[i] is undefined" error

Diffstat:
Mchrome/content/zotero/xpcom/mime.js | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/mime.js b/chrome/content/zotero/xpcom/mime.js @@ -396,6 +396,10 @@ Zotero.MIME = new function(){ .hiddenDOMWindow.navigator.mimeTypes; for (var i in types){ + // DEBUG + Zotero.debug('======='); + Zotero.debug(i); + Zotero.debug(types[i].type); if (types[i].type && types[i].type == mimeType){ Zotero.debug('MIME type ' + mimeType + ' can be handled by plugins'); return true;