diff --git a/common/content/commandline.js b/common/content/commandline.js index 72fcd547..0c26369a 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -183,7 +183,7 @@ const CommandLine = Module("commandline", { }); this.registerCallback("complete", modes.PROMPT, function (context) { if (self._input.complete) - context.fork("input", 0, commandline, input.complete); + context.fork("input", 0, commandline, self._input.complete); }); function cancelPrompt(value) { diff --git a/common/content/hints.js b/common/content/hints.js index d9323da1..48974c7e 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -1049,7 +1049,7 @@ const Hints = Module("hints", { promptHighlight: "Normal", completer: function (context) { context.compare = function () 0; - context.completions = [[k, v.prompt] for ([k, v] in Iterator(this._hintModes))]; + context.completions = [[k, v.prompt] for ([k, v] in Iterator(hints._hintModes))]; }, onChange: function () { modes.pop(); }, onCancel: function (arg) { arg && setTimeout(function () hints.show(arg), 0); } diff --git a/common/content/options.js b/common/content/options.js index 7188f0ac..5af9c2f4 100644 --- a/common/content/options.js +++ b/common/content/options.js @@ -43,7 +43,7 @@ const Option = Class("Option", { // add no{option} variant of boolean {option} to this.names if (this.type == "boolean") - this.names = array([name, "no" + name] for (name in values(names))).flatten(); + this.names = array([name, "no" + name] for (name in values(names))).flatten().__proto__; if (this.globalValue == undefined) this.globalValue = this.defaultValue;