Fix debug output viewing

This commit is contained in:
Dan Stillman 2016-01-04 15:48:56 -05:00
parent f6e0b8a8b0
commit ec72dd3909

View file

@ -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();