diff --git a/common/content/autocommands.js b/common/content/autocommands.js index 29a12cc3..3cc58c9a 100644 --- a/common/content/autocommands.js +++ b/common/content/autocommands.js @@ -191,7 +191,7 @@ const AutoCommands = Module("autocommands", { options: [ { names: ["-javascript", "-js"], - description: "Interperate the action as JavaScript code rather than an ex command" + description: "Interpret the action as JavaScript code rather than an Ex command" } ] }); diff --git a/common/content/commandline.js b/common/content/commandline.js index 1e7b81d3..d3f21513 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -283,7 +283,7 @@ const CommandLine = Module("commandline", { // we need to save the mode which were in before opening the command line // this is then used if we focus the command line again without the "official" // way of calling "open" - this.currentExtendedMode = null; // the extended mode which we last openend the command line for + this.currentExtendedMode = null; // the extended mode which we last opened the command line for // save the arguments for the inputMultiline method which are needed in the event handler this._multilineEnd = null; diff --git a/common/content/commands.js b/common/content/commands.js index 54c66da8..71301398 100644 --- a/common/content/commands.js +++ b/common/content/commands.js @@ -1277,7 +1277,7 @@ const Commands = Module("commands", { }, options: [ { names: ["-bang", "-b"], description: "Command may be proceeded by a !" }, - { names: ["-count", "-c"], description: "Command may be preceeded by a count" }, + { names: ["-count", "-c"], description: "Command may be proceeded by a count" }, { // TODO: "E180: invalid complete value: " + arg names: ["-complete", "-C"], diff --git a/common/content/dactyl.js b/common/content/dactyl.js index 7339b9f2..cc15de02 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -1414,7 +1414,7 @@ const Dactyl = Module("dactyl", { }; const addonErrors = array.toObject([ - [AddonManager.ERROR_NETWORK_FAILURE, "A network error occured"], + [AddonManager.ERROR_NETWORK_FAILURE, "A network error occurred"], [AddonManager.ERROR_INCORRECT_HASH, "The downloaded file did not match the expected hash"], [AddonManager.ERROR_CORRUPT_FILE, "The file appears to be corrupt"], [AddonManager.ERROR_FILE_ACCESS, "There was an error accessing the filesystem"]]); diff --git a/common/content/options.js b/common/content/options.js index a9439a62..d895acad 100644 --- a/common/content/options.js +++ b/common/content/options.js @@ -30,7 +30,7 @@ let ValueError = Class("ValueError", Error); * privateData - see {@link Option#privateData} * scope - see {@link Option#scope} * setter - see {@link Option#setter} - * valdator - see {@link Option#validator} + * vaildator - see {@link Option#validator} * @optional * @private */ diff --git a/common/content/statusline.js b/common/content/statusline.js index 60149aba..93ec3887 100644 --- a/common/content/statusline.js +++ b/common/content/statusline.js @@ -80,7 +80,7 @@ const StatusLine = Module("statusline", { // 1. decodeURI decodes %25 to %, which creates unintended // encoding sequences. url = url.split("%25").map(function (url) { - // Non-UTF-8 complient URLs cause "malformed URI sequence" errors. + // Non-UTF-8 compliant URLs cause "malformed URI sequence" errors. try { return decodeURI(url); } diff --git a/common/content/tabs.js b/common/content/tabs.js index f46b0268..9109c07d 100644 --- a/common/content/tabs.js +++ b/common/content/tabs.js @@ -404,7 +404,7 @@ const Tabs = Module("tabs", { * @param {boolean} allowNonUnique Whether to select the first of * multiple matches. * @param {number} count If there are multiple matches select the - * count'th match. + * *count*th match. * @param {boolean} reverse Whether to search the buffer list in * reverse order. * diff --git a/common/modules/base.jsm b/common/modules/base.jsm index ba76fa04..711b30e3 100644 --- a/common/modules/base.jsm +++ b/common/modules/base.jsm @@ -752,7 +752,7 @@ Class.extend = function extend(subclass, superclass, overrides) { } /** - * Memoizes the value of a class property to the falue returned by + * Memoizes the value of a class property to the value returned by * the passed function the first time the property is accessed. * * @param {function(string)} getter The function which returns the diff --git a/common/modules/util.jsm b/common/modules/util.jsm index 8b96e031..a2893e6d 100644 --- a/common/modules/util.jsm +++ b/common/modules/util.jsm @@ -542,7 +542,7 @@ const Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]) * Returns true if *host* is a subdomain of *domain*. * * @param {string} host The host to check. - * @param {string} domain The base domain to check the host agains. + * @param {string} domain The base domain to check the host against. * @returns {boolean} */ isSubdomain: function isSubdomain(host, domain) {