diff --git a/common/content/buffer.js b/common/content/buffer.js index ff98655c..ee42e2e3 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -667,11 +667,12 @@ var Buffer = Module("buffer", { | persist.PERSIST_FLAGS_REPLACE_EXISTING_FILES; let downloadListener = new window.DownloadListener(window, - services.Transfer(uri, services.io.newFileURI(file), "", + services.Transfer(uri, File(file).URI, "", null, null, null, persist)); persist.progressListener = update(Object.create(downloadListener), { onStateChange: util.wrapCallback(function onStateChange(progress, request, flags, status) { + util.dump(status, [k for ([k, v] in iter(Ci.nsIWebProgressListener)) if (v & flags)].join("|")) if (callback && (flags & Ci.nsIWebProgressListener.STATE_STOP) && status == 0) dactyl.trapErrors(callback, self, uri, file, progress, request, flags, status); diff --git a/common/content/dactyl.js b/common/content/dactyl.js index ba45d395..1a244ff6 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -1602,7 +1602,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { M: ["Always show messages outside of the status line"] }, setter: function (opts) { - if (loaded.commandline) + if (loaded.commandline || ~opts.indexOf("c")) commandline.widgets.updateVisibility(); } },