commit ec72dd390947904018ebb5d099474ab3c7e5f04d parent f6e0b8a8b03e8ece9aca6c4e91b60987f877f33f Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 4 Jan 2016 15:48:56 -0500 Fix debug output viewing Diffstat:
| M | 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 @@ -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();