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
authorDaniel Holbert <dholbert@cs.stanford.edu>
Wed, 01 Oct 2008 23:49:45 -0700
changeset 20072 d47a01a87c6c07e894685d7994d901d351afaea0
parent 20071 6ec53662fbef518fd0610fa623b4d50f10df046c
child 20073 f9dccfb26ec9faa5399d84113fcbfd572ed90393
push id2622
push userdholbert@mozilla.com
push dateThu, 02 Oct 2008 06:50:10 +0000
treeherdermozilla-central@d47a01a87c6c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs458167
milestone1.9.1b1pre
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
accessible/accessible-docs.html
accessible/public/nsIAccessibilityService.idl
accessible/src/base/nsAccessible.cpp
accessible/src/base/nsCaretAccessible.h
accessible/src/xul/nsXULFormControlAccessible.cpp
accessible/src/xul/nsXULTabAccessible.cpp
browser/base/content/browser.js
browser/base/content/pageinfo/pageInfo.js
browser/components/nsBrowserContentHandler.js
browser/components/places/content/treeView.js
browser/components/places/tests/browser/browser_425884.js
browser/components/sessionstore/src/nsSessionStartup.js
browser/components/sessionstore/src/nsSessionStore.js
config/configobj.py
config/nsinstall.py
profile/pref-migrator/src/nsPrefMigration.cpp
rdf/base/idl/nsIRDFRemoteDataSource.idl
rdf/base/idl/nsIRDFResource.idl
rdf/base/src/nsRDFService.cpp
toolkit/components/downloads/public/nsIDownload.idl
toolkit/components/downloads/test/browser/browser_bug414214.js
toolkit/components/parentalcontrols/src/nsParentalControlsServiceWin.cpp
toolkit/components/passwordmgr/src/storage-Legacy.js
toolkit/components/places/public/nsIAnnotationService.idl
toolkit/components/places/src/nsNavBookmarks.cpp
toolkit/components/places/src/nsNavHistory.cpp
toolkit/components/places/src/nsNavHistoryExpire.cpp
toolkit/components/places/src/utils.js
toolkit/components/places/tests/chrome/test_371798.xul
toolkit/components/places/tests/queries/head_queries.js
toolkit/components/places/tests/unit/test_expiration.js
toolkit/components/printing/content/printUtils.js
toolkit/content/customizeToolbar.js
toolkit/mozapps/extensions/public/nsIExtensionManager.idl
toolkit/mozapps/extensions/src/nsBlocklistService.js
toolkit/mozapps/extensions/src/nsExtensionManager.js.in
toolkit/mozapps/installer/packager.mk
toolkit/mozapps/shared/src/badCertHandler.js
toolkit/mozapps/update/src/updater/updater.cpp
tools/codesighs/msmap2tsv.c
tools/footprint/linux-gdf.mk
tools/footprint/win32-gdf.mk
tools/reorder/grope.cpp
tools/tests/unix/smoke.pl
tools/trace-malloc/spacetrace.c
xpcom/base/nsInterfaceRequestorAgg.h
xpcom/components/nsCategoryManager.h
xpcom/obsolete/nsFileSpec.h
xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp
xpcom/sample/nsSample.h
xpcom/string/public/nsTSubstring.h
xpcom/typelib/xpidl/xpidl_util.c
xpfe/appshell/public/nsIXULBrowserWindow.idl
xpfe/bootstrap/appleevents/nsAEGenericClass.cpp
xpfe/components/download-manager/public/nsIDownload.idl
--- a/accessible/accessible-docs.html
+++ b/accessible/accessible-docs.html
@@ -464,17 +464,17 @@ OBJID_VSCROLL<br>
 OBJID_WINDOW<br>
   </dt>
 </dl>
 <h2><a name="quirks"></a>3. Dealing with the Quirks of MSAA</h2>
 <div style="margin-left: 40px;"> </div>
 <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>
 </div>
 <div style="margin-left: 80px;"><br>
 <span style="text-decoration: underline;">Problem</span>: Many of
 MSAA's crash occur because more than one process is refcounting the same
 objects, and because pointers are being shared between processes. When
@@ -490,17 +490,17 @@ and a destructor is called in an unloade
 "shutdown" method for each internal accessible object, to remove any
 references to other internal objects before any of your dll's are
 unloaded. In order to do this effectively, you will have to keep track
 of every accessible object that you create. The shutdown method for an
 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
 with the tree of UI and document objects, which is difficult. Therefore,
 unless 4 bytes extra on each object is criticial in your application,
 just keep the extra pointer around instead of using a hash table.<br>
 <br>
 Also, don't implement EVENT_OBJECT_CREATE or EVENT_OBJECT_DESTROY.
--- a/accessible/public/nsIAccessibilityService.idl
+++ b/accessible/public/nsIAccessibilityService.idl
@@ -81,17 +81,17 @@ interface nsIAccessibilityService : nsIA
                               inout nsIFrame frameHint, out boolean aIsHidden);
 
   // For gtk+ native window accessible
   nsIAccessible addNativeRootAccessible(in voidPtr aAtkAccessible);
   void removeNativeRootAccessible(in nsIAccessible aRootAccessible);
 
   /**
    * 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
    * @param aChangeContent     The affected DOM content
    * @param aEvent             The event from nsIAccessibleEvent that
    *                           caused the change:
    *                           Must be one of:
    *                           EVENT_REORDER (change),
--- a/accessible/src/base/nsAccessible.cpp
+++ b/accessible/src/base/nsAccessible.cpp
@@ -533,17 +533,17 @@ nsIContent *nsAccessible::GetRoleContent
   return content;
 }
 
 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));
     privateParent->InvalidateChildren();
     mParent = nsnull;
   }
 
   return nsAccessNodeWrap::Shutdown();
@@ -1970,17 +1970,17 @@ nsresult nsAccessible::GetXULName(nsAStr
     nsIContent *labelContent =
       nsAccUtils::FindNeighbourPointingToNode(content, nsAccessibilityAtoms::control,
                                               nsAccessibilityAtoms::label);
 
     nsCOMPtr<nsIDOMXULLabelElement> xulLabel(do_QueryInterface(labelContent));
     // 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);
     }
   }
 
   // XXX If CompressWhiteSpace worked on nsAString we could avoid a copy
   label.CompressWhitespace();
   if (!label.IsEmpty()) {
     aLabel = label;
@@ -2648,17 +2648,17 @@ nsAccessible::GetValue(nsAString& aValue
     if (!content->GetAttr(kNameSpaceID_None, nsAccessibilityAtoms::aria_valuetext, aValue)) {
       content->GetAttr(kNameSpaceID_None, nsAccessibilityAtoms::aria_valuenow, 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)
       return presShell->GetLinkLocation(mDOMNode, aValue);
   }
 
   return NS_OK;
 }
@@ -2783,17 +2783,17 @@ nsAccessible::GetNumActions(PRUint8 *aNu
 
   if (IsDefunct())
     return NS_ERROR_FAILURE;
 
   nsCOMPtr<nsIContent> content = GetRoleContent(mDOMNode);
   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;
   }
 
   // Has registered 'click' event handler.
   PRBool isOnclick = nsAccUtils::HasListener(content,
                                              NS_LITERAL_STRING("click"));
@@ -2811,17 +2811,17 @@ nsAccessible::GetActionName(PRUint8 aInd
   aName.Truncate();
 
   if (aIndex != 0)
     return NS_ERROR_INVALID_ARG;
 
   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");
     return NS_OK;
   }
 
   // Has registered 'click' event handler.
   PRBool isOnclick = nsAccUtils::HasListener(content,
@@ -2854,17 +2854,17 @@ nsAccessible::DoAction(PRUint8 aIndex)
   if (aIndex != 0)
     return NS_ERROR_INVALID_ARG;
 
   if (IsDefunct())
     return NS_ERROR_FAILURE;
 
   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;
 
   // Has registered 'click' event handler.
   if (!doAction)
     doAction = nsAccUtils::HasListener(content, NS_LITERAL_STRING("click"));
   
@@ -3449,17 +3449,17 @@ NS_IMETHODIMP
 nsAccessible::GetURI(PRInt32 aIndex, nsIURI **aURI)
 {
   NS_ENSURE_ARG_POINTER(aURI);
   *aURI = nsnull;
 
   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;
     content->GetAttr(kNameSpaceID_XLink, nsAccessibilityAtoms::href, href);
 
     nsCOMPtr<nsIURI> baseURI = content->GetBaseURI();
     nsCOMPtr<nsIDocument> document = content->GetOwnerDoc();
     return NS_NewURI(aURI, href,
--- a/accessible/src/base/nsCaretAccessible.h
+++ b/accessible/src/base/nsCaretAccessible.h
@@ -131,17 +131,17 @@ protected:
 private:
   // The currently focused control -- never a document.
   // We listen to selection for one control at a time (the focused one)
   // Document selection is handled separately via additional listeners on all active documents
   // The current control is set via SetControlSelectionListener()
   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;
   PRInt32 mLastCaretOffset;
 
   nsRootAccessible *mRootAccessible;
 };
 
--- a/accessible/src/xul/nsXULFormControlAccessible.cpp
+++ b/accessible/src/xul/nsXULFormControlAccessible.cpp
@@ -87,17 +87,17 @@ NS_IMETHODIMP nsXULButtonAccessible::Get
   if (aIndex == eAction_Click) {
     aName.AssignLiteral("press"); 
     return NS_OK;
   }
   return NS_ERROR_INVALID_ARG;
 }
 
 /**
-  * Tell the button to do it's action
+  * Tell the button to do its action
   */
 NS_IMETHODIMP nsXULButtonAccessible::DoAction(PRUint8 index)
 {
   if (index == 0) {
     return DoCommand();
   }
   return NS_ERROR_INVALID_ARG;
 }
@@ -266,17 +266,17 @@ NS_IMETHODIMP nsXULDropmarkerAccessible:
       aName.AssignLiteral("open");
     return NS_OK;
   }
 
   return NS_ERROR_INVALID_ARG;
 }
 
 /**
-  * Tell the Dropmarker to do it's action
+  * Tell the Dropmarker to do its action
   */
 NS_IMETHODIMP nsXULDropmarkerAccessible::DoAction(PRUint8 index)
 {
   if (index == eAction_Click) {
     DropmarkerOpen(PR_TRUE); // Reverse the open attribute
     return NS_OK;
   }
   return NS_ERROR_INVALID_ARG;
@@ -888,17 +888,17 @@ NS_IMETHODIMP nsXULTextFieldAccessible::
   if (aIndex == eAction_Click) {
     aName.AssignLiteral("activate"); 
     return NS_OK;
   }
   return NS_ERROR_INVALID_ARG;
 }
 
 /**
-  * Tell the button to do it's action
+  * Tell the button to do its action
   */
 NS_IMETHODIMP nsXULTextFieldAccessible::DoAction(PRUint8 index)
 {
   if (index == 0) {
     nsCOMPtr<nsIDOMXULElement> element(do_QueryInterface(mDOMNode));
     if (element)
     {
       element->Focus();
--- a/accessible/src/xul/nsXULTabAccessible.cpp
+++ b/accessible/src/xul/nsXULTabAccessible.cpp
@@ -66,17 +66,17 @@ NS_IMETHODIMP nsXULTabAccessible::GetAct
 {
   if (aIndex == eAction_Switch) {
     aName.AssignLiteral("switch"); 
     return NS_OK;
   }
   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) {
     nsCOMPtr<nsIDOMXULElement> tab(do_QueryInterface(mDOMNode));
     if ( tab )
     {
       tab->Click();
       return NS_OK;
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -4259,17 +4259,17 @@ function displaySecurityInfo()
 }
 
 /**
  * Opens or closes the sidebar identified by commandID.
  *
  * @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:
  *  - id           (required) the string to match commandID. The convention
  *                 is to use this naming scheme: 'view<sidebar-name>Sidebar'.
  *  - sidebarurl   (required) specifies the URL to load in this sidebar.
  *  - sidebartitle or label (in that order) specify the title to 
  *                 display on the sidebar.
--- a/browser/base/content/pageinfo/pageInfo.js
+++ b/browser/base/content/pageinfo/pageInfo.js
@@ -253,17 +253,17 @@ var onResetRegistry = [ ];
 // the target document itself. The frame is passed as an argument.
 var onProcessFrame = [ ];
 
 // These functions are called once for each element (in all subframes, if any)
 // in the target document. The element is passed as an argument.
 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.
 var onUnloadRegistry = [ ];
 
 
 /* Called when PageInfo window is loaded.  Arguments are:
  *  window.arguments[0] - (optional) an object consisting of
--- a/browser/components/nsBrowserContentHandler.js
+++ b/browser/components/nsBrowserContentHandler.js
@@ -138,17 +138,17 @@ function needHomepageOverride(prefb) {
     prefb.setCharPref("browser.startup.homepage_override.mstone", mstone);
     return (savedmstone ? OVERRIDE_NEW_MSTONE : OVERRIDE_NEW_PROFILE);
   }
 
   return OVERRIDE_NONE;
 }
 
 // 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"]
                                 .getService(Components.interfaces.nsIProperties);
     const NS_APP_EXISTING_PREF_OVERRIDE = "ExistingPrefOverride";
     var prefOverride = fileLocator.get(NS_APP_EXISTING_PREF_OVERRIDE,
                                        Components.interfaces.nsIFile);
     if (!prefOverride.exists())
--- a/browser/components/places/content/treeView.js
+++ b/browser/components/places/content/treeView.js
@@ -562,17 +562,17 @@ PlacesTreeView.prototype = {
     for (var i = newViewIndex + 1;
          i < this._visibleElements.length; i ++) {
       this._visibleElements[i].node.viewIndex = i;
     }
     this._tree.rowCountChanged(newViewIndex, 1);
 
     // 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)
         this._tree.invalidateRange(newViewIndex - 1, newViewIndex - 1);
       if (newViewIndex < this._visibleElements.length -1)
         this._tree.invalidateRange(newViewIndex + 1, newViewIndex + 1);
     }
 
@@ -601,17 +601,17 @@ PlacesTreeView.prototype = {
       this.itemChanged(aParent);
 
     return;
   },
 
   /**
    * 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
    * change for visits, and date sorting is the only time things are collapsed.
    */
   itemRemoved: function PTV_itemRemoved(aParent, aItem, aOldIndex) {
     NS_ASSERT(this._result, "Got a notification but have no result!");
     if (!this._tree)
--- a/browser/components/places/tests/browser/browser_425884.js
+++ b/browser/components/places/tests/browser/browser_425884.js
@@ -61,17 +61,17 @@ function test() {
   var oldCount = toolbarNode.childCount;
   var testRootId = PlacesUtils.bookmarks.createFolder(toolbarId, "test root", -1);
   is(toolbarNode.childCount, oldCount+1, "confirm test root node is a container, and is empty");
   var testRootNode = toolbarNode.getChild(toolbarNode.childCount-1);
   testRootNode.QueryInterface(Ci.nsINavHistoryContainerResultNode);
   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;
   validate(folderANode);
   is(testRootNode.childCount, 1, "create test folder");
 
   // copy it, using the front-end helper functions
   var serializedNode = PlacesUtils.wrapNode(folderANode, PlacesUtils.TYPE_X_MOZ_PLACE_CONTAINER);
--- a/browser/components/sessionstore/src/nsSessionStartup.js
+++ b/browser/components/sessionstore/src/nsSessionStartup.js
@@ -44,17 +44,17 @@
 # * This service reads user's session file at startup, and makes a determination 
 # * as to whether the session should be restored. It will restore the session 
 # * under the circumstances described below.
 # * 
 # * Crash Detection
 # * 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.
 # * 
 # * Forced Restarts
 # * In the event that a restart is required due to application update or extension
 # * installation, set the browser.sessionstore.resume_session_once pref to true,
 # * and the session will be restored the next time the browser starts.
 # * 
--- a/browser/components/sessionstore/src/nsSessionStore.js
+++ b/browser/components/sessionstore/src/nsSessionStore.js
@@ -35,17 +35,17 @@
  *
  * ***** END LICENSE BLOCK ***** */
 
 /**
  * Session Storage and Restoration
  * 
  * 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
  * the nsSessionStartup service.
  */
 
 /* :::::::: Constants and Helpers ::::::::::::::: */
 
@@ -562,17 +562,17 @@ SessionStoreService.prototype = {
     delete aPanel.__SS_data;
     
     if (!aNoNotification) {
       this.saveStateDelayed(aWindow);
     }
   },
 
   /**
-   * When a tab closes, collect it's properties
+   * When a tab closes, collect its properties
    * @param aWindow
    *        Window reference
    * @param aTab
    *        TabPanel reference
    */
   onTabClose: function sss_onTabClose(aWindow, aTab) {
     // notify the tabbrowser that the tab state will be retrieved for the last time
     // (so that extension authors can easily set data on soon-to-be-closed tabs)
--- a/config/configobj.py
+++ b/config/configobj.py
@@ -791,17 +791,17 @@ class Section(dict):
         unless ``raise_errors=False``, in which case set the return value to
         ``False``.
         
         Any unrecognised keyword arguments you pass to walk, will be pased on
         to the function you pass in.
         
         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.
         
         See  the encode and decode methods for examples, including functions.
         
         .. caution::
         
--- a/config/nsinstall.py
+++ b/config/nsinstall.py
@@ -33,17 +33,17 @@
 # the provisions above, a recipient may use your version of this file under
 # the terms of any one of the MPL, the GPL or the LGPL.
 #
 # ***** END LICENSE BLOCK *****
 
 # 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.
 
 from optparse import OptionParser
 import os
 import os.path
 import sys
--- a/profile/pref-migrator/src/nsPrefMigration.cpp
+++ b/profile/pref-migrator/src/nsPrefMigration.cpp
@@ -2268,17 +2268,17 @@ nsPrefMigration::DetermineOldPath(nsIFil
 // nsPrefConverter
 ////////////////////////////////////////////////////////////////////////
 
 /* 
   these are the prefs we know we need to convert to utf8.
   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. 
 
  "ldap_2.server.*.description"
  "intl.font*.fixed_font"
  "intl.font*.prop_font"
  "mail.identity.vcard.*"
--- a/rdf/base/idl/nsIRDFRemoteDataSource.idl
+++ b/rdf/base/idl/nsIRDFRemoteDataSource.idl
@@ -62,15 +62,15 @@ interface nsIRDFRemoteDataSource : nsISu
      * from the URI.
      *
      * @param aBlocking If <code>true</code>, the call will block
      * until the datasource has completely reloaded.
      */
     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();
     void FlushTo(in string aURI);
 };
 
--- a/rdf/base/idl/nsIRDFResource.idl
+++ b/rdf/base/idl/nsIRDFResource.idl
@@ -61,17 +61,17 @@ interface nsIRDFResource : nsIRDFNode {
      * An unscriptable version used to avoid a string copy. Meant
      * for use as a performance optimization. The string is encoded
      * in UTF-8.
      */
     [noscript] void GetValueConst([shared] out string aConstValue);
 
     /**
      * 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);
 
     /**
      * Determine if the resource has the given URI.
      */
     boolean EqualsString(in string aURI);
--- a/rdf/base/src/nsRDFService.cpp
+++ b/rdf/base/src/nsRDFService.cpp
@@ -1018,17 +1018,17 @@ RDFServiceImpl::GetResource(const nsACSt
             mLastURIPrefix = Substring(begin, p);
         }
     }
 
     nsIRDFResource *result;
     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)) {
         NS_ERROR("unable to initialize resource");
         NS_RELEASE(result);
         return rv;
     }
 
--- a/toolkit/components/downloads/public/nsIDownload.idl
+++ b/toolkit/components/downloads/public/nsIDownload.idl
@@ -110,17 +110,17 @@ interface nsIDownload : nsITransfer {
 
     /**
      * The speed of the transfer in bytes/sec.
      */
     readonly attribute double speed;
 
     /**
      * 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;
 
     /**
      * The id of the download that is stored in the database.
      */
     readonly attribute unsigned long id;
--- a/toolkit/components/downloads/test/browser/browser_bug414214.js
+++ b/toolkit/components/downloads/test/browser/browser_bug414214.js
@@ -75,17 +75,17 @@ function test()
   ww.registerNotification(obs);
 
   // The window doesn't open once we call show, so we need to wait a little bit
   function finishUp() {
     var dmui = Cc["@mozilla.org/download-manager-ui;1"].
                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);
 
     finish();
   }
   
   // OK, let's pull up the UI
   // Linux uses y, everything else is j
--- a/toolkit/components/parentalcontrols/src/nsParentalControlsServiceWin.cpp
+++ b/toolkit/components/parentalcontrols/src/nsParentalControlsServiceWin.cpp
@@ -221,17 +221,17 @@ nsParentalControlsServiceWin::RequestURI
   NS_ENSURE_ARG_POINTER(aTarget);
 
   nsCAutoString spec;
   aTarget->GetSpec(spec);
   if (spec.IsEmpty())
     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);
   if (hWnd == nsnull)
     hWnd = GetDesktopWindow();
 
   nsRefPtr<IWPCWebSettings> wpcws;
   if (SUCCEEDED(mPC->GetWebSettings(NULL, getter_AddRefs(wpcws))))
@@ -260,17 +260,17 @@ nsParentalControlsServiceWin::RequestURI
   if (arrayLength == 1) {
     nsCOMPtr<nsIURI> uri = do_QueryElementAt(aTargets, 0);
     if (!uri)
       return NS_ERROR_INVALID_ARG;
     return RequestURIOverride(uri, aWindowContext, _retval);
   }
 
   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);
   if (hWnd == nsnull)
     hWnd = GetDesktopWindow();
 
   // The first entry should be the root uri
   nsCAutoString rootSpec;
--- a/toolkit/components/passwordmgr/src/storage-Legacy.js
+++ b/toolkit/components/passwordmgr/src/storage-Legacy.js
@@ -226,17 +226,17 @@ LoginManagerStorage_legacy.prototype = {
         var clone = new this._nsLoginInfo();
         clone.init(login.hostname, login.formSubmitURL, login.httpRealm,
                    login.username,      login.password,
                    login.usernameField, login.passwordField);
         login = clone;
 
         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] = [];
             rollback = null;
         } else {
             rollback = this._logins[key].concat(); // clone array
         }
 
--- a/toolkit/components/places/public/nsIAnnotationService.idl
+++ b/toolkit/components/places/public/nsIAnnotationService.idl
@@ -70,17 +70,17 @@ interface nsIAnnotationService : nsISupp
      * will not expire so long as the user keeps visiting the page from time
      * to time.
      */
 
     // For temporary data that can be discarded when the user exits.
     // 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.
     // Removed at 30 days. 
     const unsigned short EXPIRE_WEEKS = 2;
 
     // Something that the user will be interested in seeing in their
     // history like favicons. If they haven't visited a page in a couple
--- a/toolkit/components/places/src/nsNavBookmarks.cpp
+++ b/toolkit/components/places/src/nsNavBookmarks.cpp
@@ -2065,17 +2065,17 @@ nsNavBookmarks::QueryFolderChildren(PRIn
 
   PRBool results;
 
   nsCOMPtr<nsNavHistoryQueryOptions> options = do_QueryInterface(aOptions, &rv);
   PRInt32 index = -1;
   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 ++;
 
     PRInt32 itemType = mDBGetChildren->AsInt32(kGetChildrenIndex_Type);
     PRInt64 id = mDBGetChildren->AsInt64(nsNavHistory::kGetInfoIndex_ItemId);
     nsRefPtr<nsNavHistoryResultNode> node;
     if (itemType == TYPE_BOOKMARK) {
--- a/toolkit/components/places/src/nsNavHistory.cpp
+++ b/toolkit/components/places/src/nsNavHistory.cpp
@@ -1498,17 +1498,17 @@ nsNavHistory::CleanUpOnQuit()
   // bug #371800 - remove moz_places.user_title
   // test for moz_places.user_title
   nsCOMPtr<mozIStorageStatement> statement2;
   nsresult rv = mDBConn->CreateStatement(NS_LITERAL_CSTRING(
     "SELECT user_title FROM moz_places"), getter_AddRefs(statement2));
   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"));
     NS_ENSURE_SUCCESS(rv, rv);
     rv = mDBConn->ExecuteSimpleSQL(
         NS_LITERAL_CSTRING("DROP INDEX IF EXISTS moz_places_titleindex"));
     NS_ENSURE_SUCCESS(rv, rv);
     rv = mDBConn->ExecuteSimpleSQL(
--- a/toolkit/components/places/src/nsNavHistoryExpire.cpp
+++ b/toolkit/components/places/src/nsNavHistoryExpire.cpp
@@ -835,17 +835,17 @@ nsNavHistoryExpire::ExpireEmbeddedLinks(
 
 
 // nsNavHistoryExpire::ExpireHistoryParanoid
 //
 //    Deletes any dangling history entries that aren't associated with any
 //    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,
                                           PRInt32 aMaxRecords)
 {
   nsCAutoString query(
     "DELETE FROM moz_places WHERE id IN ("
       "SELECT h.id FROM moz_places h "
--- a/toolkit/components/places/src/utils.js
+++ b/toolkit/components/places/src/utils.js
@@ -1266,17 +1266,17 @@ var PlacesUtils = {
 
     var stringURI = this.history.queriesToQueryString(fixedQueries,
                                                       fixedQueries.length,
                                                       options.value);
     return this._uri(stringURI);
   },
 
   /**
-   * 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
    *          An nsINavHistoryResultNode
    * @param   aStream
    *          An nsIOutputStream. NOTE: it only uses the write(str, len)
    *          method of nsIOutputStream. The caller is responsible for
    *          closing the stream.
--- a/toolkit/components/places/tests/chrome/test_371798.xul
+++ b/toolkit/components/places/tests/chrome/test_371798.xul
@@ -73,17 +73,17 @@ bmsvc.addObserver(observer, false);
 // modify the bookmark's title
 var newTitle = "foo";
 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() {
   // result node should be updated
   var cc = rootNode.childCount;
   for (var i=0; i < cc; ++i) {
     var node = rootNode.getChild(i);
     // test that bm1 does not have new title
--- a/toolkit/components/places/tests/queries/head_queries.js
+++ b/toolkit/components/places/tests/queries/head_queries.js
@@ -249,17 +249,17 @@ function populateDB(aArray) {
 }
 
 /**
  * The Query Data Object - this object encapsulates data for our queries and is
  * used to parameterize our calls to the Places APIs to put data into the
  * 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.
  */
 function queryData(obj) {
   this.isVisit = obj.isVisit ? obj.isVisit : false;
   this.isBookmark = obj.isBookmark ? obj.isBookmark: false;
   this.uri = obj.uri ? obj.uri : "";
--- a/toolkit/components/places/tests/unit/test_expiration.js
+++ b/toolkit/components/places/tests/unit/test_expiration.js
@@ -443,17 +443,17 @@ function run_test() {
   // test expiration of anno dateAdded vs lastModified (bug #389902)
   // add an anno w/ days expiration
   annosvc.setPageAnnotation(testURI, testAnnoName, testAnnoVal, 0, annosvc.EXPIRE_DAYS);
   annosvc.setItemAnnotation(bookmark, testAnnoName, testAnnoVal, 0, annosvc.EXPIRE_DAYS);
   // make it 8 days old
   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
   histsvc.addVisit(triggerURI, Date.now() * 1000, null, histsvc.TRANSITION_TYPED, false, 0);
   bhist.removePage(triggerURI);
   // anno should still be there
   try {
     var annoVal = annosvc.getPageAnnotation(testURI, testAnnoName);
--- a/toolkit/components/printing/content/printUtils.js
+++ b/toolkit/components/printing/content/printUtils.js
@@ -115,17 +115,17 @@ var PrintUtils = {
     var ppParams        = {};
     var notifyOnOpen    = {};
     var webBrowserPrint = this.getWebBrowserPrint(aWindow);
     var printSettings   = this.getPrintSettings();
     // Here we get the PrintingPromptService so we can display the PP Progress from script
     // 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, 
     // an error code could be returned if the Prgress Dialog is already displayed
     try {
       PPROMPTSVC.showProgress(this, webBrowserPrint, printSettings, this._obsPP, false,
                               this._webProgressPP, ppParams, notifyOnOpen);
       if (ppParams.value) {
--- a/toolkit/content/customizeToolbar.js
+++ b/toolkit/content/customizeToolbar.js
@@ -427,17 +427,17 @@ function fillRowWithFlex(aRow)
                                           "spacer");
     spacer.setAttribute("flex", remainingFlex);
     aRow.appendChild(spacer);
   }
 }
 
 /**
  * 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)
 {
   aWrapper.setAttribute("place", "palette");
   setWrapperType(aItem, aWrapper);
 
   if (aItem.hasAttribute("title"))
@@ -461,17 +461,17 @@ function cleanUpItemForPalette(aItem, aW
     // So the throbber doesn't throb in the dialog,
     // cute as that may be...
     aItem.firstChild.removeAttribute("busy");
   }
 }
 
 /**
  * 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.
  */
 function cleanupItemForToolbar(aItem, aWrapper)
 {
   setWrapperType(aItem, aWrapper);
   aWrapper.setAttribute("place", "toolbar");
 
@@ -855,17 +855,17 @@ var toolbarDNDObserver =
         return;
 
       // Don't allow static kids (e.g., the menubar) to move.
       if (wrapper.parentNode.firstPermanentChild && wrapper.parentNode.firstPermanentChild.id == wrapper.firstChild.id)
         return;
       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.
       var dropToolbar = null;
       if (gCurrentDragOverItem.localName == "toolbar")
         dropToolbar = gCurrentDragOverItem;
       else
         dropToolbar = gCurrentDragOverItem.parentNode;
--- a/toolkit/mozapps/extensions/public/nsIExtensionManager.idl
+++ b/toolkit/mozapps/extensions/public/nsIExtensionManager.idl
@@ -624,17 +624,17 @@ interface nsIAddonInstallListener : nsIS
    * through a call to installItemFromFile or from a webpage triggered install.
    * @param   addon
    *          The add-on being installed
    */
   void onInstallStarted(in nsIUpdateItem addon);
 
   /**
    * 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
    */
   void onCompatibilityCheckStarted(in nsIUpdateItem addon);
 
   /**
    * Called at the end of an add-on compatibility check. The status will be one
--- a/toolkit/mozapps/extensions/src/nsBlocklistService.js
+++ b/toolkit/mozapps/extensions/src/nsBlocklistService.js
@@ -185,17 +185,17 @@ function newURI(spec) {
   var ioServ = Cc["@mozilla.org/network/io-service;1"].
                getService(Ci.nsIIOService);
   return ioServ.newURI(spec, null, null);
 }
 
 /**
  * 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) {
   if (blocklistElement.hasAttribute("os")) {
     var choices = blocklistElement.getAttribute("os").split(",");
     if (choices.length > 0 && choices.indexOf(gApp.OS) < 0)
       return false;
   }
--- a/toolkit/mozapps/extensions/src/nsExtensionManager.js.in
+++ b/toolkit/mozapps/extensions/src/nsExtensionManager.js.in
@@ -3678,17 +3678,17 @@ ExtensionManager.prototype = {
 
       var properties = {
         availableUpdateURL: null,
         availableUpdateVersion: null
       };
 
       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);
           var literal = metadataDS.GetTarget(gInstallManifestRoot, EM_R("updateKey"), true);
           if (literal && literal instanceof Ci.nsIRDFLiteral)
             ds.setItemProperty(id, EM_R("updateKey"), literal);
         }
       }
--- a/toolkit/mozapps/installer/packager.mk
+++ b/toolkit/mozapps/installer/packager.mk
@@ -253,17 +253,17 @@ NO_PKG_FILES += \
 	chrome/app-chrome.manifest \
 	chrome/overlayinfo \
 	components/compreg.dat \
 	components/xpti.dat \
 	content_unit_tests \
 	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
 endif
 
 DEFINES += -DDLL_PREFIX=$(DLL_PREFIX) -DDLL_SUFFIX=$(DLL_SUFFIX)
 
 ifdef MOZ_PKG_REMOVALS
--- a/toolkit/mozapps/shared/src/badCertHandler.js
+++ b/toolkit/mozapps/shared/src/badCertHandler.js
@@ -56,17 +56,17 @@ function checkCert(channel) {
     issuer = cert.issuer;
   }
 
   if (!issuer || issuer.tokenName != "Builtin Object Token")
     throw "cert issuer is not built-in";
 }
 
 /**
- * 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.
  */
 function BadCertHandler() {
 }
 BadCertHandler.prototype = {
 
   // nsIChannelEventSink
--- a/toolkit/mozapps/update/src/updater/updater.cpp
+++ b/toolkit/mozapps/update/src/updater/updater.cpp
@@ -543,17 +543,17 @@ public:
   virtual int Parse(char *line) = 0;
 
   // Do any preprocessing to ensure that the action can be performed.  Execute
   // will be called if this Action and all others return OK from this method.
   virtual int Prepare() = 0;
 
   // 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
   // all actions were successfully executed.  Otherwise, some action failed.
   virtual void Finish(int status) = 0;
 
 private:
   Action* mNext;
--- a/tools/codesighs/msmap2tsv.c
+++ b/tools/codesighs/msmap2tsv.c
@@ -1756,17 +1756,17 @@ int map2tsv(Options* inOptions)
 
             /*
             **  Use the symbol DB size if available.
             */
             dbSize = symbol->mSymDBSize;
 
             /*
             **  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.
             */
             
             /*
             **  Try next symbol, but only if in same section.
             **  If still not, use the end of the segment.
--- a/tools/footprint/linux-gdf.mk
+++ b/tools/footprint/linux-gdf.mk
@@ -56,17 +56,17 @@
 # To use this program, you'll need to:
 #
 # 1. Install gnuplot, e.g., using your RedHat distro.
 # 2. Install the "buster.cgi" script onto a webserver somewhere
 # 3. Have a mozilla build.
 #
 # 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>
 #
 # Where <b1> is the slope and <b0> is the y-intercept.
 LINEAR_REGRESSION=awk -f linear-regression.awk Skip=5
 
 INTERVAL=10
--- a/tools/footprint/win32-gdf.mk
+++ b/tools/footprint/win32-gdf.mk
@@ -66,17 +66,17 @@
 #
 #     ftp://ftp.dartmouth.edu/pub/gnuplot/gnuplot3.7cyg.zip
 #
 # . The "standard" cygwin tools that you probably already have. (If
 #   you don't have 'em, see the Win32 build instructions on
 #   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>
 #
 # Where <b1> is the slope and <b0> is the y-intercept.
 LINEAR_REGRESSION=awk -f linear-regression.awk
 
 PROGRAM_PATH=..\\..\\dist\\win32_o.obj\\bin
--- a/tools/reorder/grope.cpp
+++ b/tools/reorder/grope.cpp
@@ -422,17 +422,17 @@ main(int argc, char *argv[])
                  ++iter) {
                 cerr << symtab.get_symbol_name(iter->first) << ": " << *(iter->second) << endl;
             }
 
             cerr << endl;
         }
 
         // 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);
 
         sorted_arcs.erase(max);
 
         if (opt_debug)
             cerr << "pulling " << *arc << endl;
 
--- a/tools/tests/unix/smoke.pl
+++ b/tools/tests/unix/smoke.pl
@@ -167,17 +167,17 @@ sub main {
 ################################################################################
 
 
 #
 # my_kill -- takes a pid or the string "apprunner".
 #            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!)
 ################################################################
 sub my_kill{
     local $pid = shift || "";
     
     if ($pid eq ""){
         return;
--- a/tools/trace-malloc/spacetrace.c
+++ b/tools/trace-malloc/spacetrace.c
@@ -683,17 +683,17 @@ byteSize(STOptions * inOptions, STAlloca
 int
 recalculateAllocationCost(STOptions * inOptions, STContext * inContext,
                           STRun * aRun, STAllocation * aAllocation,
                           PRBool updateParent)
 {
     /*
      ** 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.
      */
     if (NULL != inContext && 0 != aRun->mStats[inContext->mIndex].mStamp) {
         PRUint32 timeval =
             aAllocation->mMaxTimeval - aAllocation->mMinTimeval;
         PRUint32 size = byteSize(inOptions, aAllocation);
@@ -1456,17 +1456,17 @@ getLiveAllocationByHeapID(STRun * aRun, 
     }
 
     return retval;
 }
 
 /*
 ** 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 *
 appendEvent(STAllocation * aAllocation, PRUint32 aTimeval, char aEventType,
             PRUint32 aHeapID, PRUint32 aHeapSize, tmcallsite * aCallsite)
 {
     STAllocEvent *retval = NULL;
 
@@ -2866,17 +2866,17 @@ displayMemoryLeaks(STRequest * inRequest
          ** Loop over all of the items, or until we've displayed enough.
          */
         for (loop = 0;
              displayed < inRequest->mOptions.mListItemMax
              && loop < aRun->mAllocationCount; loop++) {
             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.
                  */
                 if (TM_EVENT_FREE !=
                     current->mEvents[current->mEventCount - 1].mEventType) {
                     PRUint32 lifespan =
                         current->mMaxTimeval - current->mMinTimeval;
--- a/xpcom/base/nsInterfaceRequestorAgg.h
+++ b/xpcom/base/nsInterfaceRequestorAgg.h
@@ -36,17 +36,17 @@
 
 #ifndef nsInterfaceRequestorAgg_h__
 #define nsInterfaceRequestorAgg_h__
 
 #include "nsIInterfaceRequestor.h"
 
 /**
  * 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.
  */
 extern NS_COM nsresult
 NS_NewInterfaceRequestorAggregation(nsIInterfaceRequestor  *aFirst,
                                     nsIInterfaceRequestor  *aSecond,
                                     nsIInterfaceRequestor **aResult);
--- a/xpcom/components/nsCategoryManager.h
+++ b/xpcom/components/nsCategoryManager.h
@@ -68,17 +68,17 @@ public:
       pValue(nsnull),
       nonpValue(nsnull) { }
   const char* pValue;
   const char* nonpValue;
 };
 
 
 /**
- * CategoryNode keeps a hashtable of it's entries.
+ * CategoryNode keeps a hashtable of its entries.
  * the CategoryNode itself is permanently allocated in
  * the arena.
  */
 class CategoryNode
 {
 public:
   NS_METHOD GetLeaf(const char* aEntryName,
                     char** _retval);
--- a/xpcom/obsolete/nsFileSpec.h
+++ b/xpcom/obsolete/nsFileSpec.h
@@ -178,17 +178,17 @@
 
 #if defined(XP_UNIX) || defined(XP_BEOS)
 #include <dirent.h>
 #elif defined(XP_WIN)
 
 // 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
 #endif
 
 #include "prio.h"
 #elif defined(XP_OS2)
 #define INCL_DOS
--- a/xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp
+++ b/xpcom/reflect/xptinfo/src/xptiInterfaceInfoManager.cpp
@@ -252,17 +252,17 @@ PRBool xptiInterfaceInfoManager::BuildFi
     }
 
     // Add additional plugins dirs
     // No error checking here since this is optional in some embeddings
     
     // 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
     //
     nsCOMPtr<nsILocalFile> greComponentDirectory;
     nsresult rv = GetDirectoryFromDirService(NS_GRE_COMPONENT_DIR, 
                                     getter_AddRefs(greComponentDirectory));
     if(NS_SUCCEEDED(rv) && greComponentDirectory)
--- a/xpcom/sample/nsSample.h
+++ b/xpcom/sample/nsSample.h
@@ -109,17 +109,17 @@ public:
     /**
      * The const came from the "in" specifier in nsISample.idl.  "in"
      * specifies that the value of this parameter is used only for input,
      * this method is not allowed to modify the contents of the buffer.
      */
     /* 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
      * PRUnichar * in C++, which is the NSPR type for unicode characters.
      */
     /* NS_IMETHOD Poke(const char* aValue); */
 
 private:
--- a/xpcom/string/public/nsTSubstring.h
+++ b/xpcom/string/public/nsTSubstring.h
@@ -529,17 +529,17 @@ class nsTSubstring_CharT
       NS_COM nsTSubstring_CharT( PRUint32 flags );
 
         // copy-constructor, constructs as dependent on given object
         // (NOTE: this is for internal use only)
       NS_COM nsTSubstring_CharT( const self_type& str );
 
         /**
          * 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();
 
         /**
          * this function prepares mData to be mutated.
          *
          * @param capacity     specifies the required capacity of mData  
--- a/xpcom/typelib/xpidl/xpidl_util.c
+++ b/xpcom/typelib/xpidl/xpidl_util.c
@@ -329,17 +329,17 @@ verify_attribute_declaration(IDL_tree at
 {
     IDL_tree iface;
     IDL_tree ident;
     IDL_tree attr_type;
 
     /* 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(
             IDL_LIST(IDL_ATTR_DCL(attr_tree).simple_declarations).data).str, 
         "IID") == 0) {
         IDL_tree_error(attr_tree,
                        "Attributes named IID not supported, causes vtable "
                        "ordering problems");
@@ -516,17 +516,17 @@ check_param_attribute(IDL_tree method_tr
             IDL_tree_error(method_tree,
                            "attribute [%s(%s)] refers to missing "
                            "parameter \"%s\"",
                            attr_name, referred_name, referred_name);
             return FALSE;
         }
         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;
         }
         
         referred_param_type = IDL_PARAM_DCL(referred_param).param_type_spec;
         if (whattocheck == IID_IS) {
             /* require IID type */
             if (IDL_tree_property_get(referred_param_type, "nsid") == NULL) {
@@ -576,17 +576,17 @@ verify_method_declaration(IDL_tree metho
     gboolean scriptable_method;
     gboolean seen_retval = FALSE;
     gboolean hasoptional = PR_FALSE;
     const char *method_name = IDL_IDENT(IDL_OP_DCL(method_tree).ident).str;
 
     /* 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,
                        "Methods named GetIID not supported, causes vtable "
                        "ordering problems");
         return FALSE;
     }
     if (op->f_varargs) {
--- a/xpfe/appshell/public/nsIXULBrowserWindow.idl
+++ b/xpfe/appshell/public/nsIXULBrowserWindow.idl
@@ -40,17 +40,17 @@
 #include "nsISupports.idl"
 
 interface nsIRequest;
 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
 {
   /**
    * Sets the status according to JS' version of status.
    */
   void setJSStatus(in AString status);
--- a/xpfe/bootstrap/appleevents/nsAEGenericClass.cpp
+++ b/xpfe/bootstrap/appleevents/nsAEGenericClass.cpp
@@ -448,17 +448,17 @@ void AEGenericClass::HandleMake(AEDesc *
 	}
 
 	// if there was a object specifier in the insertion location (eg, "before rectangle 1 of document 1"),
 	//   then we call AEResolve() to get a token for it,
 	// Otherwise, is was something like "at end" or "at beginning", which is also OK, 
 	//   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
 	{
 		err = ::AEResolve(&objectSpec, 
 							 kAEIDoMinimum, 
 							 token);			// token will contain info about the object to insert before, after, etc.
 		ThrowIfOSErr(err);
 	}
--- a/xpfe/components/download-manager/public/nsIDownload.idl
+++ b/xpfe/components/download-manager/public/nsIDownload.idl
@@ -107,17 +107,17 @@ interface nsIDownload : nsITransfer {
 
     /**
      * The speed of the transfer in bytes/sec.
      */
     readonly attribute double speed;
 
     /**
      * 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;
 
     /**
      * The id of the download that is stored in the database.
      */
     readonly attribute unsigned long id;