Permalink
Browse files

typofix - https://github.com/vlajos/misspell_fixer

  • Loading branch information...
1 parent 52c2569 commit 0ed889335954eeeac391c38399adef7c0cafcb81 @vlajos vlajos committed Aug 8, 2015
Showing with 82 additions and 82 deletions.
  1. +1 −1 extension/content/firebug/bti/inProcess/browser.js
  2. +1 −1 extension/content/firebug/chrome/reps.js
  3. +1 −1 extension/content/firebug/chrome/tabWatcher.js
  4. +1 −1 extension/content/firebug/chrome/window.js
  5. +1 −1 extension/content/firebug/console/autoCompleter.js
  6. +1 −1 extension/content/firebug/console/closureInspector.js
  7. +1 −1 extension/content/firebug/cookies/cookieObserver.js
  8. +1 −1 extension/content/firebug/cookies/cookiePanel.js
  9. +1 −1 extension/content/firebug/cookies/cookieReps.js
  10. +1 −1 extension/content/firebug/debugger/script/scriptPanel.js
  11. +1 −1 extension/content/firebug/debugger/script/sourceTool.js
  12. +1 −1 extension/content/firebug/firebugui/codemirror.css
  13. +1 −1 extension/content/firebug/html/eventsPanel.js
  14. +1 −1 extension/content/firebug/html/htmlModule.js
  15. +1 −1 extension/content/firebug/html/inspector.js
  16. +2 −2 extension/content/firebug/lib/domplate.js
  17. +1 −1 extension/content/firebug/lib/http.js
  18. +1 −1 extension/content/firebug/lib/search.js
  19. +2 −2 extension/content/firebug/net/netPanel.js
  20. +1 −1 extension/content/firebug/net/netReps.js
  21. +4 −4 extension/content/firebug/net/netUtils.js
  22. +1 −1 extension/content/firebug/net/spy.js
  23. +1 −1 extension/modules/locale.js
  24. +2 −2 tests/FBTest/content/testResultTabView.js
  25. +4 −4 tests/content/commandLine/4391/jquery-latest.js
  26. +1 −1 tests/content/commandLine/api/dirxml.html
  27. +1 −1 tests/content/console/1693/issue1693.js
  28. +1 −1 tests/content/console/6356/jquery-1.9.1.js
  29. +1 −1 tests/content/console/spy/2462/issue2462.js
  30. +1 −1 tests/content/dom/sidePanel/sidePanel.html
  31. +1 −1 tests/content/examples/exampleNet1.js
  32. +1 −1 tests/content/firebug.html
  33. +3 −3 tests/content/html/events/5440/jquery-1.5.js
  34. +1 −1 tests/content/html/events/5440/jquery-1.9.js
  35. +1 −1 tests/content/net/1308/issue1308-1.6.js
  36. +1 −1 tests/content/net/2221/issue2221-1.5.js
  37. +1 −1 tests/content/net/2221/issue2221.js
  38. +1 −1 tests/content/net/2696/issue2696.js
  39. +1 −1 tests/content/net/369/issue369.htm
  40. +1 −1 tests/content/net/372/issue372-1.6.js
  41. +1 −1 tests/content/net/5592/issue5592.js
  42. +1 −1 tests/content/net/700/issue700-1.6.js
  43. +1 −1 tests/content/net/activation/activation.js
  44. +1 −1 tests/content/net/listeners/netInfoBodyListener-1.6.js
  45. +1 −1 tests/content/script/3402/domplate.js
  46. +2 −2 tests/content/script/4818/issue4818.html
  47. +1 −1 tests/content/script/breakpoints/7478/issue7478.js
  48. +3 −3 tests/content/search/6435/issue6435.html
  49. +4 −4 tests/content/search/6435/issue6435.js
  50. +1 −1 tests/content/search/6454/issue6454.js
  51. +1 −1 tests/content/search/netPanelSearch.js
  52. +1 −1 tests/content/test-bot.html
  53. +2 −2 trace/FBTrace/chrome/content/lib/domplate.js
  54. +10 −10 trace/FBTrace/modules/orion/orion.js
  55. +1 −1 trace/FBTrace/modules/orion/source-editor.jsm
@@ -453,7 +453,7 @@ Browser.prototype.removeListener = function(listener)
FBTrace.sysout("BTI.Browser.removeListener; ERROR Unknown listener " +
(listener.dispatchName ? listener.dispatchName : ""));
- // xxxHonza: should it be alwasy called or only if isConnected() == true?
+ // xxxHonza: should it be always called or only if isConnected() == true?
//if (this.isConnected())
Events.dispatch2([listener], "onDisconnect", [this]);
};
@@ -2349,7 +2349,7 @@ FirebugReps.XPathResult = domplate(FirebugReps.Arr,
// xxxHonza: fix for test console/api/log-xpathresult
// FirebugReps.Arr.hasSpecialProperties iterates object properties
// (using Object.getOwnPropertyNames), but misses 'constructor' if the property
- // is not explicitely accessed before. Any explanation for such behavior?
+ // is not explicitly accessed before. Any explanation for such behavior?
// (btw. it was actually accessed, but order of 'supportsObject' calls changed when
// 'Exception' rep moved into its own module, see issue: 6606)
var ctor = array && array.constructor;
@@ -954,7 +954,7 @@ var TabProgressListener = Obj.extend(Http.BaseProgressListener,
// switching to about:blank tab, see issue 4040
//
// 2) But we also want to skip "about:blank" in case a new tab is opened
- // (new tab is about:blank at the beggining), no context exists and Firebug
+ // (new tab is about:blank at the beginning), no context exists and Firebug
// is suspended for all contexts, see issue5916
// There is a workaround for this case in {@TabWatchListener.showContext]
//
@@ -17,7 +17,7 @@ var wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMe
var Win = {};
-var window = {}; // these declarations exist to cause errors if we accidently
+var window = {}; // these declarations exist to cause errors if we accidentally
var document = {}; // reference these globals
// ********************************************************************************************* //
@@ -1000,7 +1000,7 @@ JSAutoCompleter.transformScopeOperator = function(expr, fname)
var search = 0;
for (;;)
{
- // Find the next occurrance of .%.
+ // Find the next occurrence of .%.
var end = sexpr.indexOf(".%", search);
if (end === -1)
break;
@@ -159,7 +159,7 @@ var ClosureInspector =
var objGlobal = Cu.getGlobalForObject(obj);
// Do a security check. This is automatic in Fx33+, but do it manually
- // (with the same error message) for compatiblity with older versions.
+ // (with the same error message) for compatibility with older versions.
if (win !== objGlobal && !(win.document && objGlobal.document &&
win.document.nodePrincipal.subsumes(objGlobal.document.nodePrincipal)))
{
@@ -432,7 +432,7 @@ var CookieObserver = Obj.extend(BaseObserver,
logEvent: function(eventObject, context, className)
{
- // xxxHonza: if the cookie is changed befor initContext, the log in
+ // xxxHonza: if the cookie is changed before initContext, the log in
// console is lost.
Firebug.Console.log(eventObject, context, className, null, true);
}
@@ -499,7 +499,7 @@ CookiePanel.prototype = Obj.extend(ActivablePanel,
// Cookie Breakpoints
/**
- * @class Represents an {@link Debugger} listener. This listener is reponsible for
+ * @class Represents an {@link Debugger} listener. This listener is responsible for
* providing a list of cookie breakpoints for the Breakpoints side panel.
*/
CookieModule.DebuggerListener =
@@ -215,7 +215,7 @@ CookieReps.CookieRow = domplate(CookieReps.Rep,
return "";
// The first character is space so, if the table is sorted according
- // to this column, all "Session" cookies are displayed at the begining.
+ // to this column, all "Session" cookies are displayed at the beginning.
if (CookieUtils.isSessionCookie(cookie.cookie))
return " " + Locale.$STR("cookies.Session");
@@ -1834,7 +1834,7 @@ ScriptPanel.prototype = Obj.extend(BasePanel,
function failure(result, context)
{
- // We are mostly not interested in this evaluation error. It just polutes
+ // We are mostly not interested in this evaluation error. It just pollutes
// the tracing console.
// Trace.sysout("scriptPanel.populateInfoTip; ERROR " + result, result);
@@ -814,7 +814,7 @@ function computeDynamicUrl(script, context)
// Workaround for issue 7521. Make sure dynamic scripts always have
// unique URL if the source differs.
// It solves the problem where eval on the same location (i.e. wrapped
- // within a fucntion) is used to generate different scripts.
+ // within a function) is used to generate different scripts.
var sourceFile = context.getSourceFile(uniqueUrl);
if (sourceFile)
{
@@ -126,7 +126,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
}
/* The fake, visible scrollbars. Used to force redraw during scrolling
- before actuall scrolling happens, thus preventing shaking and
+ before actual scrolling happens, thus preventing shaking and
flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
position: absolute;
@@ -260,7 +260,7 @@ EventsPanel.prototype = Obj.extend(Firebug.Panel,
return null;
try
{
- // Pattern match on the occurance of '<minified name>.event.<funcName>.apply'.
+ // Pattern match on the occurrence of '<minified name>.event.<funcName>.apply'.
var matches = /\b([a-zA-Z_$][a-zA-Z0-9_$]*)\.event\.(dispatch|handle)\.apply/.exec(src);
var jqName = (matches && matches[1]) || "";
dbgEnv = dbgEnv.find(jqName);
@@ -102,7 +102,7 @@ var HTMLModule = Obj.extend(Module,
// Mutation Breakpoints
/**
- * @class Represents {@link Firebug.Debugger} listener. This listener is reponsible for
+ * @class Represents {@link Firebug.Debugger} listener. This listener is responsible for
* providing a list of mutation-breakpoints into the Breakpoints side-panel.
*/
HTMLModule.DebuggerListener =
@@ -1501,7 +1501,7 @@ function attachStyles(context, doc)
highlightStyleCache.set(doc, style);
}
- // Cater for the possiblity that someone might have removed our stylesheet.
+ // Cater for the possibility that someone might have removed our stylesheet.
if (!style.parentNode)
Css.addStyleSheet(doc, style);
}
@@ -91,7 +91,7 @@ DomplateTag.prototype =
* Initializer for DOM templates. Called to create new Functions objects like TR, TD,
* OBJLINK, etc. See defineTag
*
- * @param args keyword argments for the template, the {} brace stuff after the tag name,
+ * @param args keyword arguments for the template, the {} brace stuff after the tag name,
* eg TR({...}, TD(...
* @param oldTag a nested tag, eg the TD tag in TR({...}, TD(...
*/
@@ -750,7 +750,7 @@ DomplateLoop.prototype = copyObject(DomplateTag.prototype,
var iterName;
if (this.iter instanceof Parts)
{
- // We have a function with optional aruments or just one variable
+ // We have a function with optional arguments or just one variable
var part = this.iter.parts[0];
// Join our function arguments or variables
@@ -351,7 +351,7 @@ Http.safeGetXHRResponseText = function(xhr)
};
// ********************************************************************************************* //
-// IP Adress and port number (Requires Gecko 5).
+// IP Address and port number (Requires Gecko 5).
Http.safeGetLocalAddress = function(request)
{
@@ -174,7 +174,7 @@ Search.ReversibleIterator = function(length, start, reverse)
*
* @constructor
* @param {String} literal Text to search for
- * @param {Boolean} reverse Truthy to preform a reverse search, falsy to perform a forward seach
+ * @param {Boolean} reverse Truthy to preform a reverse search, falsy to perform a forward search
* @param {Boolean} caseSensitive Truthy to perform a case sensitive search, falsy to perform
* a case insensitive search.
*/
@@ -888,7 +888,7 @@ NetPanel.prototype = Obj.extend(ActivablePanel,
var tbody = this.table.querySelector(".netTableBody");
// xxxHonza: Fake first row (shold be renamed, but it's a hack anyway).
- // There is no way to insert a row befor the current first row in a table.
+ // There is no way to insert a row before the current first row in a table.
// See Domplate.insertRows() comment for more details.
NetRequestEntry.footerTag.insertRows({}, tbody);
@@ -1059,7 +1059,7 @@ NetPanel.prototype = Obj.extend(ActivablePanel,
{
var tbody = this.table.querySelector(".netTableBody");
- // XXXjoe Don't update rows whose phase is done and layed out already
+ // XXXjoe Don't update rows whose phase is done and laid out already
var phase;
for (var row = tbody.firstChild; row; row = row.nextSibling)
{
@@ -1063,7 +1063,7 @@ Firebug.NetMonitor.NetInfoBody = domplate(Rep, new EventSource(),
Firebug.NetMonitor.NetInfoHeaders.renderHeaders(headersText,
file.responseHeaders, "ResponseHeaders");
- // If the request comes from the BFCache do not display reponse headers.
+ // If the request comes from the BFCache do not display response headers.
// There is not real response from the server and all headers come from
// the cache. So, the user should see the 'Response Headers From Cache'
// section (see issue 5573).
@@ -240,7 +240,7 @@ var NetUtils =
getResponseText: function(file, context)
{
- // The response can be also empty string so, check agains "undefined".
+ // The response can be also empty string so, check against "undefined".
return (typeof(file.responseText) != "undefined") ?
file.responseText :
context.sourceCache.loadText(file.href, file.method, file);
@@ -371,7 +371,7 @@ var NetUtils =
* The logic is as follows:
* 1) If the request is an XHR, return 'xhr' as category
* 2) Otherwise use the file extension to guess the MIME type.
- * This is prefered since MIME types in HTTP requests are often wrong.
+ * This is preferred since MIME types in HTTP requests are often wrong.
* This part is based on the 'mimeExtensionMap' map.
* 3) If the file extension is missing or unknown, try to get the MIME type
* from the HTTP request object.
@@ -389,7 +389,7 @@ var NetUtils =
* The logic is as follows:
* 1) If the request is an XHR, add 'xhr' as category
* 2) Use the file extension to guess the MIME type.
- * This is prefered since MIME types in HTTP requests are often wrong.
+ * This is preferred since MIME types in HTTP requests are often wrong.
* This part is based on the 'mimeExtensionMap' map.
* 3) If the file extension is missing or unknown, try to get the MIME type
* from the HTTP request object.
@@ -408,7 +408,7 @@ var NetUtils =
categories.push("xhr");
// Guess mime-type according to the file extension. Using file extension
- // is prefered way since mime-types in HTTP requests are often wrong.
+ // is preferred way since mime-types in HTTP requests are often wrong.
var mimeType = this.getMimeType(null, file.href);
// If no luck with file extension, let's try to get the mime-type from
@@ -908,7 +908,7 @@ function onHTTPSpyAbort(spy)
updateLogRow(spy);
- // Notify Net pane about a request beeing aborted.
+ // Notify Net pane about a request being aborted.
// xxxHonza: the net panel shoud find out this itself.
var netProgress = spy.context.netProgress;
if (netProgress)
@@ -42,7 +42,7 @@ var Locale = {};
* $STR("Label"); - search for key "Label" within the firebug.properties file
* and returns its value. If the key doesn't exist returns "Label".
*
- * $STR("Button Label"); - search for key "Button_Label" withing the firebug.properties
+ * $STR("Button Label"); - search for key "Button_Label" within the firebug.properties
* file. If the key doesn't exist returns "Button Label".
*
* $STR("net.Response Header"); - search for key "net.Response_Header". If the key doesn't
@@ -372,8 +372,8 @@ var TestResultTabView = domplate(
// ********************************************************************************************* //
/**
- * This template displays a parse-erros that can occurs when parsing
- * expected and acuall results (see compare method).
+ * This template displays a parse-errors that can occurs when parsing
+ * expected and actuall results (see compare method).
*
* @domplate
*/
@@ -1997,7 +1997,7 @@ jQuery.fn.extend({
classNames = value.split( rspace );
while ( (className = classNames[ i++ ]) ) {
- // check each className given, space seperated list
+ // check each className given, space separated list
state = isBool ? state : !self.hasClass( className );
self[ state ? "addClass" : "removeClass" ]( className );
}
@@ -3652,7 +3652,7 @@ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[
rNonWord = /\W/;
// Here we check if the JavaScript engine is using some sort of
-// optimization where it does not always call our comparision
+// optimization where it does not always call our comparison
// function. If that is the case, discard the hasDuplicate value.
// Thus far that includes Google Chrome.
[0, 0].sort(function() {
@@ -4630,7 +4630,7 @@ if ( document.documentElement.compareDocumentPosition ) {
};
}
-// Utility function for retreiving the text value of an array of DOM nodes
+// Utility function for retrieving the text value of an array of DOM nodes
Sizzle.getText = function( elems ) {
var ret = "", elem;
@@ -7769,7 +7769,7 @@ if ( jQuery.support.ajax ) {
xml;
// Firefox throws exceptions when accessing properties
- // of an xhr when a network error occured
+ // of an xhr when a network error occurred
// http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE)
try {
@@ -15,7 +15,7 @@
<ol>
<li>Open Firebug and enable the Console panel.</li>
-<li>Execute teh following expression in the command line:<br/>
+<li>Execute the following expression in the command line:<br/>
<code style="color:green">dirxml(document.getElementById("content"));</code></li>
<li>The console panel should display a following XML log:</li>
</ol>
@@ -54,7 +54,7 @@ function onDataComplete(e)
for (var i = 0; i < 80000; i++)
responseText += i + " ";
- // Compare expected and actuall (displayed) response text.
+ // Compare expected and actual (displayed) response text.
var text1 = responseText.substr(0, limit);
var text2 = responseBody.textContent.substr(0, limit);
FBTest.compare(text1, text2, "The response text must be properly displayed");
@@ -4186,7 +4186,7 @@ setDocument = Sizzle.setDocument = function( node ) {
// Regex strategy adopted from Diego Perini
assert(function( div ) {
// Select is set to empty string on purpose
- // This is to test IE's treatment of not explictly
+ // This is to test IE's treatment of not explicitly
// setting a boolean content attribute,
// since its presence should be enough
// http://bugs.jquery.com/ticket/12359
@@ -9,7 +9,7 @@ function runTest()
classes: "logRow logRow-spy error loaded"
};
- // Asynchronously wait for the request beeing displayed.
+ // Asynchronously wait for the request being displayed.
FBTest.waitForDisplayedElement("console", options, function(logRow)
{
FBTest.testDone();
@@ -14,7 +14,7 @@
<h3>Steps to reproduce</h3>
<ol>
<li>Open Firebug</li>
- <li>Switch to the <em>HTML</em> panel and checkt DOM side panel is availble</li>
+ <li>Switch to the <em>HTML</em> panel and checkt DOM side panel is available</li>
<li>Selecte the DOM side panel and check it displayes some properties</li>
</ol>
</section>
@@ -9,7 +9,7 @@ function runTest()
classes: "netRow category-xhr hasHeaders loaded"
};
- // Asynchronously wait for the request beeing displayed.
+ // Asynchronously wait for the request being displayed.
FBTest.waitForDisplayedElement("net", options, function(netRow)
{
var options = {
@@ -348,7 +348,7 @@
{group: "script", uri: "script/4213/issue4213.js", desc: "Script panel's location button is not updated", testPage: "script/4213/issue4213.html"},
{group: "script", uri: "script/4724/issue4724.js", desc: "&quot;Disable Breakpoint&quot; is not checked on disabled breakpoints", testPage: "script/4724/issue4724.html"},
{group: "script", uri: "script/4816/issue4816.js", desc: "Script panel claims No JavaScript when it means you're stopped on a breakpoint on some other tab", testPage: "script/4816/issue4816.html"},
- {group: "script", uri: "script/4818/issue4818.js", desc: "frame.eval fails for everthing but the newest frame of the stack", testPage: "script/4818/issue4818.html"},
+ {group: "script", uri: "script/4818/issue4818.js", desc: "frame.eval fails for everything but the newest frame of the stack", testPage: "script/4818/issue4818.html"},
{group: "script", uri: "script/4932/issue4932.js", desc: "The Script panel shows No Javascript on this page even if they are scripts within an iframe", testPage: "script/4932/issue4932.html"},
{group: "script", uri: "script/5044/issue5044.js", desc: "Shortcut for Break On Next", testPage: "script/5044/issue5044.html"},
{group: "script", uri: "script/6476/issue6476.js", desc: "Change directive for sourceURL", testPage: "script/6476/issue6476.html"},
@@ -1815,7 +1815,7 @@ jQuery.fn.extend({
classNames = value.split( rspaces );
while ( (className = classNames[ i++ ]) ) {
- // check each className given, space seperated list
+ // check each className given, space separated list
state = isBool ? state : !self.hasClass( className );
self[ state ? "addClass" : "removeClass" ]( className );
}
@@ -3272,7 +3272,7 @@ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[
baseHasDuplicate = true;
// Here we check if the JavaScript engine is using some sort of
-// optimization where it does not always call our comparision
+// optimization where it does not always call our comparison
// function. If that is the case, discard the hasDuplicate value.
// Thus far that includes Google Chrome.
[0, 0].sort(function() {
@@ -4234,7 +4234,7 @@ if ( document.documentElement.compareDocumentPosition ) {
};
}
-// Utility function for retreiving the text value of an array of DOM nodes
+// Utility function for retrieving the text value of an array of DOM nodes
Sizzle.getText = function( elems ) {
var ret = "", elem;
Oops, something went wrong.

0 comments on commit 0ed8893

Please sign in to comment.