diff --git a/common/content/commandline.js b/common/content/commandline.js index 7e18b736..2480522e 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -651,7 +651,7 @@ var CommandLine = Module("commandline", { _echoLine: function echoLine(str, highlightGroup, forceSingle, silent) { this.widgets.message = str ? [highlightGroup, str] : null; - dactyl.triggerObserver("echoLine", str, highlightGroup, forceSingle); + dactyl.triggerObserver("echoLine", str, highlightGroup, null, forceSingle); if (!this.commandVisible) this.hide(); @@ -843,11 +843,13 @@ var CommandLine = Module("commandline", { let output = []; function observe(str, highlight, dom) { + util.dumpStack(); output.push(dom && !isString(str) ? dom : str); } this.savingOutput = true; dactyl.trapErrors.apply(dactyl, [fn, self].concat(Array.slice(arguments, 2))); + util.dump(output); this.savingOutput = false; return output.map(function (elem) elem instanceof Node ? util.domToString(elem) : elem) .join("\n"); diff --git a/common/content/dactyl.js b/common/content/dactyl.js index e499abf2..d2b4510f 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -510,7 +510,6 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { } catch (e) {} - util.dumpStack(" ================ FOCUS CONTENT ================ "); if (clearFocusedElement) { if (dactyl.focusedElement) dactyl.focusedElement.blur();