Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe

This commit is contained in:
Daniel Holbert 2008-10-01 23:49:45 -07:00
Родитель df29d18d6e
Коммит 5492039225
55 изменённых файлов: 73 добавлений и 73 удалений

Просмотреть файл

@ -469,7 +469,7 @@ OBJID_WINDOW<br>
<p style="margin-left: 40px;">MSAA has a well deseved reputation for
quirkiness. It is not "plug and play", and will take a lot of
testing/refinement before your solution works with any product. Here are
some of it's quirks and some solutions/workarounds:<br>
some of its quirks and some solutions/workarounds:<br>
</p>
<div style="margin-left: 40px;"><big><a name="Crash_prone"></a>MSAA can
be crash prone</big><br>
@ -495,7 +495,7 @@ accessibility object should be called whenever the document or UI object
it refers to goes away. The easiest way to do that is to keep a pointer
to an accessible in each internal UI object. If that pointer is
non-null, then there is an accessible object for it. Whenever the UI
object is destroyed, shutdown it's accessible object as well. In
object is destroyed, shutdown its accessible object as well. In
Gecko/Mozilla we are not allowed to keep this extra pointer for each
accessible object, so when accessibility is turned on we use a hash
table to cache these objects. Such a cache must be kept in perfect sync

Просмотреть файл

@ -86,7 +86,7 @@ interface nsIAccessibilityService : nsIAccessibleRetrieval
/**
* Invalidate the accessibility cache associated with aPresShell, for accessibles
* that were generated for aContainerContent and it's subtree.
* that were generated for aContainerContent and its subtree.
* The container content node for the change is passed in, rather than the
* changed presentation for the content node itself.
* @param aPresShell The presShell where changes occured

Просмотреть файл

@ -538,7 +538,7 @@ NS_IMETHODIMP nsAccessible::Shutdown()
mNextSibling = nsnull;
// Invalidate the child count and pointers to other accessibles, also make
// sure none of it's children point to this parent
// sure none of its children point to this parent
InvalidateChildren();
if (mParent) {
nsCOMPtr<nsPIAccessible> privateParent(do_QueryInterface(mParent));
@ -1975,7 +1975,7 @@ nsresult nsAccessible::GetXULName(nsAString& aLabel, PRBool aCanAggregateSubtree
// Check if label's value attribute is used
if (xulLabel && NS_SUCCEEDED(xulLabel->GetValue(label)) && label.IsEmpty()) {
// If no value attribute, a non-empty label must contain
// children that define it's text -- possibly using HTML
// children that define its text -- possibly using HTML
AppendFlatStringFromSubtree(labelContent, &label);
}
}
@ -2653,7 +2653,7 @@ nsAccessible::GetValue(nsAString& aValue)
if (!aValue.IsEmpty())
return NS_OK;
// Check if it's an simple xlink.
// Check if it's a simple xlink.
if (nsAccUtils::IsXLink(content)) {
nsCOMPtr<nsIPresShell> presShell(do_QueryReferent(mWeakShell));
if (presShell)
@ -2788,7 +2788,7 @@ nsAccessible::GetNumActions(PRUint8 *aNumActions)
if (!content)
return NS_OK;
// Check if it's an simple xlink.
// Check if it's a simple xlink.
if (nsAccUtils::IsXLink(content)) {
*aNumActions = 1;
return NS_OK;
@ -2816,7 +2816,7 @@ nsAccessible::GetActionName(PRUint8 aIndex, nsAString& aName)
if (IsDefunct())
return NS_ERROR_FAILURE;
// Check if it's simple xlink.
// Check if it's a simple xlink.
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
if (nsAccUtils::IsXLink(content)) {
aName.AssignLiteral("jump");
@ -2859,7 +2859,7 @@ nsAccessible::DoAction(PRUint8 aIndex)
PRBool doAction = PR_FALSE;
// Check if it's simple xlink.
// Check if it's a simple xlink.
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
if (nsAccUtils::IsXLink(content))
doAction = PR_TRUE;
@ -3454,7 +3454,7 @@ nsAccessible::GetURI(PRInt32 aIndex, nsIURI **aURI)
if (aIndex != 0)
return NS_ERROR_INVALID_ARG;
// Check if it's simple xlink.
// Check if it's a simple xlink.
nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode));
if (nsAccUtils::IsXLink(content)) {
nsAutoString href;

Просмотреть файл

@ -136,7 +136,7 @@ private:
nsCOMPtr<nsIDOMNode> mCurrentControl; // Selection controller for the currently focused control
// Info for the the last selection event.
// If it was on a control, then it's control's selection. Otherwise, it's for
// If it was on a control, then its control's selection. Otherwise, it's for
// a document where the selection changed.
nsCOMPtr<nsIWeakReference> mLastUsedSelection; // Weak ref to nsISelection
nsCOMPtr<nsIAccessibleText> mLastTextAccessible;

Просмотреть файл

@ -92,7 +92,7 @@ NS_IMETHODIMP nsXULButtonAccessible::GetActionName(PRUint8 aIndex, nsAString& aN
}
/**
* Tell the button to do it's action
* Tell the button to do its action
*/
NS_IMETHODIMP nsXULButtonAccessible::DoAction(PRUint8 index)
{
@ -271,7 +271,7 @@ NS_IMETHODIMP nsXULDropmarkerAccessible::GetActionName(PRUint8 aIndex, nsAString
}
/**
* Tell the Dropmarker to do it's action
* Tell the Dropmarker to do its action
*/
NS_IMETHODIMP nsXULDropmarkerAccessible::DoAction(PRUint8 index)
{
@ -893,7 +893,7 @@ NS_IMETHODIMP nsXULTextFieldAccessible::GetActionName(PRUint8 aIndex, nsAString&
}
/**
* Tell the button to do it's action
* Tell the button to do its action
*/
NS_IMETHODIMP nsXULTextFieldAccessible::DoAction(PRUint8 index)
{

Просмотреть файл

@ -71,7 +71,7 @@ NS_IMETHODIMP nsXULTabAccessible::GetActionName(PRUint8 aIndex, nsAString& aName
return NS_ERROR_INVALID_ARG;
}
/** Tell the tab to do it's action */
/** Tell the tab to do its action */
NS_IMETHODIMP nsXULTabAccessible::DoAction(PRUint8 index)
{
if (index == eAction_Switch) {

Просмотреть файл

@ -4264,7 +4264,7 @@ function displaySecurityInfo()
* @param commandID a string identifying the sidebar to toggle; see the
* note below. (Optional if a sidebar is already open.)
* @param forceOpen boolean indicating whether the sidebar should be
* opened regardless of it's current state (optional).
* opened regardless of its current state (optional).
* @note
* We expect to find a xul:broadcaster element with the specified ID.
* The following attributes on that element may be used and/or modified:

Просмотреть файл

@ -258,7 +258,7 @@ var onProcessFrame = [ ];
var onProcessElement = [ ];
// These functions are called once when all the elements in all of the target
// document (and all of it's subframes, if any) have been processed
// document (and all of its subframes, if any) have been processed
var onFinished = [ ];
// These functions are called once when the Page Info window is closed.

Просмотреть файл

@ -143,7 +143,7 @@ function needHomepageOverride(prefb) {
}
// Copies a pref override file into the user's profile pref-override folder,
// and then tells the pref service to reload it's default prefs.
// and then tells the pref service to reload its default prefs.
function copyPrefOverride() {
try {
var fileLocator = Components.classes["@mozilla.org/file/directory_service;1"]

Просмотреть файл

@ -567,7 +567,7 @@ PlacesTreeView.prototype = {
// Need to redraw the rows around this one because session boundaries
// may have changed. For example, if we add a page to a session, the
// previous page will need to be redrawn because it's session border
// previous page will need to be redrawn because its session border
// will disappear.
if (this._showSessions) {
if (newViewIndex > 0)
@ -606,7 +606,7 @@ PlacesTreeView.prototype = {
/**
* THIS FUNCTION DOES NOT HANDLE cases where a collapsed node is being
* removed but the node it is collapsed with is not being removed (this then
* just swap out the removee with it's collapsing partner). The only time
* just swap out the removee with its collapsing partner). The only time
* when we really remove things is when deleting URIs, which will apply to
* all collapsees. This function is called sometimes when resorting items.
* However, we won't do this when sorted by date because dates will never

Просмотреть файл

@ -66,7 +66,7 @@ function test() {
testRootNode.containerOpen = true;
is(testRootNode.childCount, 0, "confirm test root node is a container, and is empty");
// create folder A, fill it, validate it's contents
// create folder A, fill it, validate its contents
var folderAId = PlacesUtils.bookmarks.createFolder(testRootId, "A", -1);
populate(folderAId);
var folderANode = PlacesUtils.getFolderContents(folderAId).root;

Просмотреть файл

@ -49,7 +49,7 @@
# * The session file stores a session.state property, that
# * indicates whether the browser is currently running. When the browser shuts
# * down, the field is changed to "stopped". At startup, this field is read, and
# * if it's value is "running", then it's assumed that the browser had previously
# * if its value is "running", then it's assumed that the browser had previously
# * crashed, or at the very least that something bad happened, and that we should
# * restore the session.
# *

Просмотреть файл

@ -40,7 +40,7 @@
*
* Overview
* This service keeps track of a user's session, storing the various bits
* required to return the browser to it's current state. The relevant data is
* required to return the browser to its current state. The relevant data is
* stored in memory, and is periodically saved to disk in a file in the
* profile directory. The service is started at first window load, in
* delayedStartup, and will restore the session from the data received from
@ -567,7 +567,7 @@ SessionStoreService.prototype = {
},
/**
* When a tab closes, collect it's properties
* When a tab closes, collect its properties
* @param aWindow
* Window reference
* @param aTab

Просмотреть файл

@ -796,7 +796,7 @@ class Section(dict):
Note: if ``call_on_sections`` is ``True`` then - on encountering a
subsection, *first* the function is called for the *whole* subsection,
and then recurses into it's members. This means your function must be
and then recurses into its members. This means your function must be
able to handle strings, dictionaries and lists. This allows you
to change the key of subsections as well as for ordinary members. The
return value when called on the whole subsection has to be discarded.

Просмотреть файл

@ -38,7 +38,7 @@
# This is a partial python port of nsinstall.
# It's intended to be used when there's no natively compile nsinstall
# available, and doesn't intend to be fully equivalent.
# It's major use is for l10n repackaging on systems that don't have
# Its major use is for l10n repackaging on systems that don't have
# a full build environment set up.
# The basic limitation is, it doesn't even try to link and ignores
# all related options.

Просмотреть файл

@ -2273,7 +2273,7 @@ nsPrefMigration::DetermineOldPath(nsIFileSpec *profilePath, const char *oldPathN
we'll also be converting:
Please make sure that any pref that contains native characters
in it's value is not included in this list as we do not want to
in its value is not included in this list as we do not want to
convert them into UTF-8 format. Prefs are being get and set in a
unicode format (FileXPref) now and there is no need for
conversion of those prefs.

Просмотреть файл

@ -67,7 +67,7 @@ interface nsIRDFRemoteDataSource : nsISupports
void Refresh(in boolean aBlocking);
/**
* Request that a data source write it's contents out to
* Request that a data source write its contents out to
* permanent storage, if applicable.
*/
void Flush();

Просмотреть файл

@ -66,7 +66,7 @@ interface nsIRDFResource : nsIRDFNode {
/**
* This method is called by the nsIRDFService after constructing
* a resource object to initialize it's URI. You would not normally
* a resource object to initialize its URI. You would not normally
* call this method directly
*/
void Init(in string uri);

Просмотреть файл

@ -1023,7 +1023,7 @@ RDFServiceImpl::GetResource(const nsACString& aURI, nsIRDFResource** aResource)
rv = factory->CreateInstance(nsnull, NS_GET_IID(nsIRDFResource), (void**) &result);
if (NS_FAILED(rv)) return rv;
// Now initialize it with it's URI. At this point, the resource
// Now initialize it with its URI. At this point, the resource
// implementation should register itself with the RDF service.
rv = result->Init(flatURI.get());
if (NS_FAILED(rv)) {

Просмотреть файл

@ -115,7 +115,7 @@ interface nsIDownload : nsITransfer {
/**
* Optional. If set, it will contain the target's relevant MIME information.
* This includes it's MIME Type, helper app, and whether that helper should be
* This includes its MIME Type, helper app, and whether that helper should be
* executed.
*/
readonly attribute nsIMIMEInfo MIMEInfo;

Просмотреть файл

@ -80,7 +80,7 @@ function test()
getService(Ci.nsIDownloadManagerUI);
ok(dmui.visible, "Download Manager window is open, as expected.");
// Reset the pref to it's default value
// Reset the pref to its default value
Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch).
setBoolPref(PREF_BDM_CLOSEWHENDONE, false);

Просмотреть файл

@ -226,7 +226,7 @@ nsParentalControlsServiceWin::RequestURIOverride(nsIURI *aTarget, nsIInterfaceRe
return NS_ERROR_INVALID_ARG;
HWND hWnd = nsnull;
// If we have a native window, use it's handle instead
// If we have a native window, use its handle instead
nsCOMPtr<nsIWidget> widget(do_GetInterface(aWindowContext));
if (widget)
hWnd = (HWND)widget->GetNativeData(NS_NATIVE_WINDOW);
@ -265,7 +265,7 @@ nsParentalControlsServiceWin::RequestURIOverrides(nsIArray *aTargets, nsIInterfa
}
HWND hWnd = nsnull;
// If we have a native window, use it's handle instead
// If we have a native window, use its handle instead
nsCOMPtr<nsIWidget> widget(do_GetInterface(aWindowContext));
if (widget)
hWnd = (HWND)widget->GetNativeData(NS_NATIVE_WINDOW);

Просмотреть файл

@ -231,7 +231,7 @@ LoginManagerStorage_legacy.prototype = {
var key = login.hostname;
// If first entry for key, create an Array to hold it's logins.
// If first entry for key, create an Array to hold its logins.
var rollback;
if (!this._logins[key]) {
this._logins[key] = [];

Просмотреть файл

@ -75,7 +75,7 @@ interface nsIAnnotationService : nsISupports
// Removed at application exit.
const unsigned short EXPIRE_SESSION = 0;
// NOTE: 1 is skipped due to it's temporary use as EXPIRE_NEVER in bug #319455.
// NOTE: 1 is skipped due to its temporary use as EXPIRE_NEVER in bug #319455.
// For general page settings, things the user is interested in seeing
// if they come back to this page some time in the near future.

Просмотреть файл

@ -2070,7 +2070,7 @@ nsNavBookmarks::QueryFolderChildren(PRInt64 aFolderId,
while (NS_SUCCEEDED(mDBGetChildren->ExecuteStep(&results)) && results) {
// The results will be in order of index. Even if we don't add a node
// because it was excluded, we need to count it's index, so do that
// because it was excluded, we need to count its index, so do that
// before doing anything else. Index was initialized to -1 above, so
// it will start counting at 0 the first time through the loop.
index ++;

Просмотреть файл

@ -1503,7 +1503,7 @@ nsNavHistory::CleanUpOnQuit()
if (NS_SUCCEEDED(rv)) {
mozStorageTransaction transaction(mDBConn, PR_FALSE);
// 1. Indexes are moved along with the renamed table. Since we're dropping
// that table, we're also dropping it's indexes, and later re-creating them
// that table, we're also dropping its indexes, and later re-creating them
// for the new table.
rv = mDBConn->ExecuteSimpleSQL(
NS_LITERAL_CSTRING("DROP INDEX IF EXISTS moz_places_urlindex"));

Просмотреть файл

@ -840,7 +840,7 @@ nsNavHistoryExpire::ExpireEmbeddedLinks(mozIStorageConnection* aConnection)
// visits, bookmarks or "place:" URIs.
//
// The aMaxRecords parameter is an optional cap on the number of
// records to delete. If it's value is -1, all records will be deleted.
// records to delete. If its value is -1, all records will be deleted.
nsresult
nsNavHistoryExpire::ExpireHistoryParanoid(mozIStorageConnection* aConnection,

Просмотреть файл

@ -1271,7 +1271,7 @@ var PlacesUtils = {
},
/**
* Serializes the given node (and all it's descendents) as JSON
* Serializes the given node (and all its descendents) as JSON
* and writes the serialization to the given output stream.
*
* @param aNode

Просмотреть файл

@ -78,7 +78,7 @@ bmsvc.setItemTitle(bm2, newTitle);
this gets called after our observer gets notified of onItemChanged
which is triggered by updating the item's title.
after receiving the notification, our original query should also
have been live-updated, so we can iterate through it's children,
have been live-updated, so we can iterate through its children,
to check that only the modified bookmark has changed.
*/
function runTest() {

Просмотреть файл

@ -254,7 +254,7 @@ function populateDB(aArray) {
* database. It also has some interesting meta functions to determine which APIs
* should be called, and to determine if this object should show up in the
* resulting query.
* It's parameter is an object specifying which attributes you want to set.
* Its parameter is an object specifying which attributes you want to set.
* For ex:
* var myobj = new queryData({isVisit: true, uri:"http://mozilla.com", title="foo"});
* Note that it doesn't do any input checking on that object.

Просмотреть файл

@ -448,7 +448,7 @@ function run_test() {
var expirationDate = (Date.now() - (8 * 86400 * 1000)) * 1000;
dbConnection.executeSimpleSQL("UPDATE moz_annos SET dateAdded = " + expirationDate);
dbConnection.executeSimpleSQL("UPDATE moz_items_annos SET dateAdded = " + expirationDate);
// modify it's value
// modify its value
annosvc.setPageAnnotation(testURI, testAnnoName, "mod", 0, annosvc.EXPIRE_DAYS);
annosvc.setItemAnnotation(bookmark, testAnnoName, "mod", 0, annosvc.EXPIRE_DAYS);
// add a uri and then remove it, to trigger expiration

Просмотреть файл

@ -120,7 +120,7 @@ var PrintUtils = {
// For the browser implemented via XUL with the PP toolbar we cannot let it be
// automatically opened from the print engine because the XUL scrollbars in the PP window
// will layout before the content window and a crash will occur.
// Doing it all from script, means it lays out before hand and we can let printing do it's own thing
// Doing it all from script, means it lays out before hand and we can let printing do its own thing
var PPROMPTSVC = Components.classes["@mozilla.org/embedcomp/printingprompt-service;1"]
.getService(Components.interfaces.nsIPrintingPromptService);
// just in case we are already printing,

Просмотреть файл

@ -432,7 +432,7 @@ function fillRowWithFlex(aRow)
/**
* Makes sure that an item that has been cloned from a template
* is stripped of all properties that may adversely affect it's
* is stripped of all properties that may adversely affect its
* appearance in the palette.
*/
function cleanUpItemForPalette(aItem, aWrapper)
@ -466,7 +466,7 @@ function cleanUpItemForPalette(aItem, aWrapper)
/**
* Makes sure that an item that has been cloned from a template
* is stripped of all properties that may adversely affect it's
* is stripped of all properties that may adversely affect its
* appearance in the toolbar. Store critical properties on the
* wrapper so they can be put back on the item when we're done.
*/
@ -860,7 +860,7 @@ var toolbarDNDObserver =
if (wrapper.parentNode.lastPermanentChild && wrapper.parentNode.lastPermanentChild.id == wrapper.firstChild.id)
return;
// Remove the item from it's place in the toolbar.
// Remove the item from its place in the toolbar.
wrapper.parentNode.removeChild(wrapper);
// Determine which toolbar we are dropping on.

Просмотреть файл

@ -629,7 +629,7 @@ interface nsIAddonInstallListener : nsISupports
/**
* Called when an add-on compatibility check starts. This will be called
* during an install if an add-on is incompatible according to it's
* during an install if an add-on is incompatible according to its
* install.rdf.
* @param addon
* The add-on that the compatibility check will be for

Просмотреть файл

@ -190,7 +190,7 @@ function newURI(spec) {
/**
* Checks whether this blocklist element is valid for the current OS and ABI.
* If the element has an "os" attribute then the current OS must appear in
* it's comma separated list for the element to be valid. Similarly for the
* its comma separated list for the element to be valid. Similarly for the
* xpcomabi attribute.
*/
function matchesOSABI(blocklistElement) {

Просмотреть файл

@ -3683,7 +3683,7 @@ ExtensionManager.prototype = {
if (ds.getItemProperty(id, "providesUpdatesSecurely") == "false") {
/* It's possible the previous version did not understand updateKeys so
* check if we can import one for this addon from it's manifest. */
* check if we can import one for this addon from its manifest. */
installRDF = location.getItemFile(id, FILE_INSTALL_MANIFEST);
if (installRDF.exists()) {
metadataDS = getInstallManifest(installRDF);

Просмотреть файл

@ -258,7 +258,7 @@ NO_PKG_FILES += \
necko_unit_tests \
$(NULL)
# browser/locales/Makefile uses this makefile for it's variable defs, but
# browser/locales/Makefile uses this makefile for its variable defs, but
# doesn't want the libs:: rule.
ifndef PACKAGER_NO_LIBS
libs:: make-package

Просмотреть файл

@ -61,7 +61,7 @@ function checkCert(channel) {
}
/**
* This class implements nsIBadCertListener. It's job is to prevent "bad cert"
* This class implements nsIBadCertListener. Its job is to prevent "bad cert"
* security dialogs from being shown to the user. It is better to simply fail
* if the certificate is bad. See bug 304286.
*/

Просмотреть файл

@ -548,7 +548,7 @@ public:
// Perform the operation. Return OK to indicate success. After all actions
// have been executed, Finish will be called. A requirement of Execute is
// that it's operation be reversable from Finish.
// that its operation be reversable from Finish.
virtual int Execute() = 0;
// Finish is called after execution of all actions. If status is OK, then

Просмотреть файл

@ -1761,7 +1761,7 @@ int map2tsv(Options* inOptions)
/*
** Guess using offsets.
** Is there a next symbol available? If so, it's start offset is the end of this symbol.
** Is there a next symbol available? If so, its start offset is the end of this symbol.
** Otherwise, our section offset + length is the end of this symbol.
**
** The trick is, the DB size can not go beyond the offset size, for sanity.

Просмотреть файл

@ -61,7 +61,7 @@
#
# You can tweak ``linux.gnuplot.in'' to change the graph's output.
# This script computes a line using linear regression; it's output is
# This script computes a line using linear regression; its output is
# of the form:
#
# <b1> * x + <b0>

Просмотреть файл

@ -71,7 +71,7 @@
# mozilla.org.)
#
# This script computes a line using linear regression; it's output is
# This script computes a line using linear regression; its output is
# of the form:
#
# <b1> * x + <b0>

Просмотреть файл

@ -427,7 +427,7 @@ main(int argc, char *argv[])
}
// The first arc in the sorted set will have the largest
// weight. Pull it out, and emit it's sink.
// weight. Pull it out, and emit its sink.
arc_count_index_t::iterator max = sorted_arcs.begin();
call_graph_arc *arc = const_cast<call_graph_arc *>(*max);

Просмотреть файл

@ -172,7 +172,7 @@ sub main {
# essentially calls `kill -9 $pid`.
# the reason this exists is because i can't figure
# out how to kill apprunner yet, since i can't grab
# it's pid. (it's harder than you think.)
# its pid. (it's harder than you think.)
# when i figure it out, i'll fix it here, then all will
# be great. until then, all apprunners are killed!)
################################################################

Просмотреть файл

@ -688,7 +688,7 @@ recalculateAllocationCost(STOptions * inOptions, STContext * inContext,
/*
** Now, see if they desire a callsite update.
** As mentioned previously, we decide if the run desires us to
** manipulate the callsite data only if it's stamp is set.
** manipulate the callsite data only if its stamp is set.
** We change all callsites and parent callsites to have that
** stamp as well, so as to mark them as being relevant to
** the current run in question.
@ -1461,7 +1461,7 @@ getLiveAllocationByHeapID(STRun * aRun, PRUint32 aHeapID)
/*
** appendEvent
**
** Given an allocation, append a new event to it's lifetime.
** Given an allocation, append a new event to its lifetime.
** Returns the new event on success, otherwise NULL.
*/
STAllocEvent *
@ -2871,7 +2871,7 @@ displayMemoryLeaks(STRequest * inRequest, STRun * aRun)
current = aRun->mAllocations[loop];
if (NULL != current && 0 != current->mEventCount) {
/*
** In order to be a leak, the last event of it's life must
** In order to be a leak, the last event of its life must
** NOT be a free operation.
**
** A free operation is just that, a free.

Просмотреть файл

@ -41,7 +41,7 @@
/**
* This function returns an instance of nsIInterfaceRequestor that aggregates
* two nsIInterfaceRequestor instances. It's GetInterface method queries
* two nsIInterfaceRequestor instances. Its GetInterface method queries
* aFirst for the requested interface and will query aSecond only if aFirst
* failed to supply the requested interface. Both aFirst and aSecond may
* be null.

Просмотреть файл

@ -73,7 +73,7 @@ public:
/**
* CategoryNode keeps a hashtable of it's entries.
* CategoryNode keeps a hashtable of its entries.
* the CategoryNode itself is permanently allocated in
* the arena.
*/

Просмотреть файл

@ -183,7 +183,7 @@
// This clashes with some of the Win32 system headers (specifically,
// winbase.h). Hopefully they'll have been included first; else we may
// have problems. We could include winbase.h before doing this;
// unfortunately, it's bring in too much crap and'd slow stuff down
// unfortunately, it'd bring in too much crap and'd slow stuff down
// more than it's worth doing.
#ifdef CreateDirectory
#undef CreateDirectory

Просмотреть файл

@ -257,7 +257,7 @@ PRBool xptiInterfaceInfoManager::BuildFileSearchPath(nsISupportsArray** aPath)
// Add the GRE's component directory to searchPath if the
// application is using an GRE.
// An application indicates that it's using an GRE by returning
// a valid nsIFile via it's directory service provider interface.
// a valid nsIFile via its directory service provider interface.
//
// Please see http://www.mozilla.org/projects/embedding/MRE.html
// for more info. on GREs

Просмотреть файл

@ -114,7 +114,7 @@ public:
/* NS_IMETHOD WriteValue(const char *aPrefix); */
/**
* nsISample.idl specifies all of it's string types as string, instead
* nsISample.idl specifies all of its string types as string, instead
* of wstring (wide string), the Unicode type. If the world were a
* perfect place, all normal strings in XPCOM interfaces would be unicode.
* If this type had been specified as wstring, it would appear as

Просмотреть файл

@ -534,7 +534,7 @@ class nsTSubstring_CharT
/**
* this function releases mData and does not change the value of
* any of it's member variables. in other words, this function acts
* any of its member variables. in other words, this function acts
* like a destructor.
*/
void NS_FASTCALL Finalize();

Просмотреть файл

@ -334,7 +334,7 @@ verify_attribute_declaration(IDL_tree attr_tree)
/* We don't support attributes named IID, conflicts with static GetIID
* member. The conflict is due to certain compilers (VC++) choosing a
* different vtable order, placing GetIID at the beginning regardless
* of it's placement
* of its placement
*/
if (strcmp(
IDL_IDENT(
@ -521,7 +521,7 @@ check_param_attribute(IDL_tree method_tree, IDL_tree param,
}
if (referred_param == param) {
IDL_tree_error(method_tree,
"attribute [%s(%s)] refers to it's own parameter",
"attribute [%s(%s)] refers to its own parameter",
attr_name, referred_name);
return FALSE;
}
@ -581,7 +581,7 @@ verify_method_declaration(IDL_tree method_tree)
/* We don't support attributes named IID, conflicts with static GetIID
* member. The conflict is due to certain compilers (VC++) choosing a
* different vtable order, placing GetIID at the beginning regardless
* of it's placement
* of its placement
*/
if (strcmp(method_name, "GetIID") == 0) {
IDL_tree_error(method_tree,

Просмотреть файл

@ -45,7 +45,7 @@ interface nsIDOMElement;
/**
* The nsIXULBrowserWindow supplies the methods that may be called from the
* internals of the browser area to tell the containing xul window to update
* it's ui.
* its ui.
*/
[scriptable, uuid(67a601df-f091-4894-a2e2-2e6cfebb35ea)]
interface nsIXULBrowserWindow : nsISupports

Просмотреть файл

@ -453,7 +453,7 @@ void AEGenericClass::HandleMake(AEDesc *token, const AppleEvent *appleEvent, App
// then deal with it correctly later.
if (objectSpec.descriptorType == typeNull)
{
::AEDisposeDesc(token); // destroy it's old representation, token will now be null descriptor
::AEDisposeDesc(token); // destroy its old representation, token will now be null descriptor
}
else
{

Просмотреть файл

@ -112,7 +112,7 @@ interface nsIDownload : nsITransfer {
/**
* Optional. If set, it will contain the target's relevant MIME information.
* This includes it's MIME Type, helper app, and whether that helper should be
* This includes its MIME Type, helper app, and whether that helper should be
* executed.
*/
readonly attribute nsIMIMEInfo MIMEInfo;