From ec72dd390947904018ebb5d099474ab3c7e5f04d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 4 Jan 2016 15:48:56 -0500 Subject: [PATCH] Fix debug output viewing --- components/zotero-protocol-handler.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/zotero-protocol-handler.js b/components/zotero-protocol-handler.js index 720fdc0c0e..a0ce44e088 100644 --- a/components/zotero-protocol-handler.js +++ b/components/zotero-protocol-handler.js @@ -895,10 +895,9 @@ function ZoteroProtocolHandler() { var DebugExtension = { loadAsChrome: false, - newChannel: function () { + newChannel: function (uri) { return new AsyncChannel(uri, function* () { - var ioService = Components.classes["@mozilla.org/network/io-service;1"] - .getService(Components.interfaces.nsIIOService); + this.contentType = "text/plain"; try { return Zotero.Debug.get();