Skip to content

Commit

Permalink
Merge pull request #7931 from vlajos/typofixes-vlajos-20150807
Browse files Browse the repository at this point in the history
  • Loading branch information
janodvarko committed Aug 10, 2015
2 parents 52c2569 + 0ed8893 commit d478fe9
Show file tree
Hide file tree
Showing 55 changed files with 82 additions and 82 deletions.
2 changes: 1 addition & 1 deletion extension/content/firebug/bti/inProcess/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
};
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/chrome/reps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/chrome/tabWatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]
//
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/chrome/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

// ********************************************************************************************* //
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/console/autoCompleter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/console/closureInspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
{
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/cookies/cookieObserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/cookies/cookiePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/cookies/cookieReps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/debugger/script/scriptPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/debugger/script/sourceTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/firebugui/codemirror.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/html/eventsPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/html/htmlModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/html/inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions extension/content/firebug/lib/domplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(...
*/
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/lib/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/lib/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
4 changes: 2 additions & 2 deletions extension/content/firebug/net/netPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/net/netReps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
8 changes: 4 additions & 4 deletions extension/content/firebug/net/netUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion extension/content/firebug/net/spy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion extension/modules/locale.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/FBTest/content/testResultTabView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
8 changes: 4 additions & 4 deletions tests/content/commandLine/4391/jquery-latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
Expand Down Expand Up @@ -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() {
Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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 {

Expand Down
2 changes: 1 addition & 1 deletion tests/content/commandLine/api/dirxml.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>Command Line API: dirxml</h1>

<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>
Expand Down
2 changes: 1 addition & 1 deletion tests/content/console/1693/issue1693.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion tests/content/console/6356/jquery-1.9.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/content/console/spy/2462/issue2462.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion tests/content/dom/sidePanel/sidePanel.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1>Existence of the DOM side panel</h1>
<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>
Expand Down
2 changes: 1 addition & 1 deletion tests/content/examples/exampleNet1.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion tests/content/firebug.html
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down
6 changes: 3 additions & 3 deletions tests/content/html/events/5440/jquery-1.5.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
Expand Down Expand Up @@ -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() {
Expand Down Expand Up @@ -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;

Expand Down
Loading

0 comments on commit d478fe9

Please sign in to comment.