Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
authorMichael Kohler <michaelkohler@live.com>
Sun, 23 May 2010 12:26:15 -0700
changeset 42587 98fd6854ad41ed067e5f1694a9531b55029a8ea1
parent 42586 5a490984d550919c9ec15d6d13656a1d9e4aec4b
child 42589 207009f39861be2f4e1b2892cf48eb856b101279
push id13410
push userme@kylehuey.com
push dateSun, 23 May 2010 22:13:46 +0000
treeherdermozilla-central@207009f39861 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstimeless
bugs564091
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
browser/base/content/browser.js
browser/components/places/tests/unit/test_bookmarksRestoreNotification.js
browser/fuel/test/browser_ApplicationPrefs.js
browser/fuel/test/browser_ApplicationStorage.js
config/outofdate.pl
config/rules.mk
configure.in
content/base/src/nsImageLoadingContent.cpp
content/base/test/file_bug416317.xhtml
content/base/test/test_bug390219.html
content/base/test/test_classList.html
content/base/test/test_fileapi.html
content/html/document/src/nsHTMLContentSink.cpp
content/html/document/src/nsHTMLDocument.cpp
docshell/resources/content/netError.xhtml
docshell/test/test_bug529119-1.html
docshell/test/test_bug529119-2.html
dom/src/storage/nsDOMStorage.cpp
editor/libeditor/html/nsHTMLEditor.h
editor/libeditor/html/tests/browserscope/lib/browserscope/README
js/src/config/rules.mk
js/src/jsarray.cpp
js/src/jsgc.cpp
js/src/jsinterp.cpp
js/src/jstracer.cpp
js/src/tests/js1_5/Regress/regress-156354.js
js/src/tests/js1_5/extensions/getset-006.js
js/src/tests/js1_7/iterable/regress-341510.js
js/src/xpconnect/tests/mochitest/test_cows.html
layout/generic/nsBlockFrame.h
layout/reftests/font-face/bug533251.html
layout/reftests/xul-document-load/readme.txt
netwerk/test/TestCacheBlockFiles.cpp
netwerk/test/TestCacheService.cpp
netwerk/test/httpserver/httpd.js
netwerk/test/httpserver/test/test_basic_functionality.js
toolkit/components/passwordmgr/test/unit/test_storage_legacy_1.js
toolkit/components/passwordmgr/test/unit/test_storage_legacy_2.js
toolkit/components/passwordmgr/test/unit/test_storage_mozStorage_1.js
toolkit/components/passwordmgr/test/unit/test_storage_mozStorage_2.js
toolkit/components/places/tests/queries/test_tags.js
toolkit/components/places/tests/unit/test_isvisited.js
toolkit/components/places/tests/unit/test_preventive_maintenance.js
toolkit/components/satchel/test/unit/test_history_api.js
toolkit/components/url-classifier/content/moz/preferences.js
toolkit/components/url-classifier/content/moz/protocol4.js
toolkit/components/url-classifier/content/url-crypto-key-manager.js
toolkit/content/tests/widgets/test_menulist_null_value.xul
toolkit/mozapps/extensions/test/xpcshell/test_LightweightThemeManager.js
toolkit/mozapps/extensions/test/xpcshell/test_fuel.js
uriloader/exthandler/nsHandlerService.js
uriloader/exthandler/tests/unit/test_handlerService.js
widget/src/windows/nsWindowCE.h
xpcom/tests/TestHashtables.cpp
xpcom/tests/unit/test_iniProcessor.js
xulrunner/app/xulrunner.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -4259,17 +4259,17 @@ var XULBrowserWindow = {
   },
 
   // simulate all change notifications after switching tabs
   onUpdateCurrentBrowser: function (aStateFlags, aStatus, aMessage, aTotalProgress) {
     if (FullZoom.updateBackgroundTabs)
       FullZoom.onLocationChange(gBrowser.currentURI, true);
     var nsIWebProgressListener = Components.interfaces.nsIWebProgressListener;
     var loadingDone = aStateFlags & nsIWebProgressListener.STATE_STOP;
-    // use a pseudo-object instead of a (potentially non-existing) channel for getting
+    // use a pseudo-object instead of a (potentially nonexistent) channel for getting
     // a correct error message - and make sure that the UI is always either in
     // loading (STATE_START) or done (STATE_STOP) mode
     this.onStateChange(
       gBrowser.webProgress,
       { URI: gBrowser.currentURI },
       loadingDone ? nsIWebProgressListener.STATE_STOP : nsIWebProgressListener.STATE_START,
       aStatus
     );
--- a/browser/components/places/tests/unit/test_bookmarksRestoreNotification.js
+++ b/browser/components/places/tests/unit/test_bookmarksRestoreNotification.js
@@ -104,17 +104,17 @@ var tests = [
       }
       catch (e) {
         do_throw("  Restore should not have failed");
       }
     }
   },
 
   {
-    desc:       "JSON restore: nonexisting file should fail",
+    desc:       "JSON restore: nonexistent file should fail",
     currTopic:  NSIOBSERVER_TOPIC_BEGIN,
     finalTopic: NSIOBSERVER_TOPIC_FAILED,
     data:       NSIOBSERVER_DATA_JSON,
     folderId:   null,
     run:        function () {
       this.file = Services.dirsvc.get("ProfD", Ci.nsILocalFile);
       this.file.append("this file doesn't exist because nobody created it");
       try {
@@ -158,17 +158,17 @@ var tests = [
       }
       catch (e) {
         do_throw("  Restore should not have failed");
       }
     }
   },
 
   {
-    desc:       "HTML restore: nonexisting file should fail",
+    desc:       "HTML restore: nonexistent file should fail",
     currTopic:  NSIOBSERVER_TOPIC_BEGIN,
     finalTopic: NSIOBSERVER_TOPIC_FAILED,
     data:       NSIOBSERVER_DATA_HTML,
     folderId:   null,
     run:        function () {
       this.file = Services.dirsvc.get("ProfD", Ci.nsILocalFile);
       this.file.append("this file doesn't exist because nobody created it");
       try {
@@ -212,17 +212,17 @@ var tests = [
       }
       catch (e) {
         do_throw("  Restore should not have failed");
       }
     }
   },
 
   {
-    desc:       "HTML initial restore: nonexisting file should fail",
+    desc:       "HTML initial restore: nonexistent file should fail",
     currTopic:  NSIOBSERVER_TOPIC_BEGIN,
     finalTopic: NSIOBSERVER_TOPIC_FAILED,
     data:       NSIOBSERVER_DATA_HTML_INIT,
     folderId:   null,
     run:        function () {
       this.file = Services.dirsvc.get("ProfD", Ci.nsILocalFile);
       this.file.append("this file doesn't exist because nobody created it");
       try {
@@ -274,17 +274,17 @@ var tests = [
       }
       catch (e) {
         do_throw("  Restore should not have failed");
       }
     }
   },
 
   {
-    desc:       "HTML restore into folder: nonexisting file should fail",
+    desc:       "HTML restore into folder: nonexistent file should fail",
     currTopic:  NSIOBSERVER_TOPIC_BEGIN,
     finalTopic: NSIOBSERVER_TOPIC_FAILED,
     data:       NSIOBSERVER_DATA_HTML,
     run:        function () {
       this.file = Services.dirsvc.get("ProfD", Ci.nsILocalFile);
       this.file.append("this file doesn't exist because nobody created it");
       this.folderId = bmsvc.createFolder(bmsvc.unfiledBookmarksFolder,
                                          "test folder",
--- a/browser/fuel/test/browser_ApplicationPrefs.js
+++ b/browser/fuel/test/browser_ApplicationPrefs.js
@@ -3,21 +3,21 @@ var testdata = {
   missing: "fuel.fuel-test-missing",
   dummy: "fuel.fuel-test",
   string: "browser.active_color",
   integer: "permissions.default.image",
   boolean: "browser.blink_allowed"
 };
 
 function test() {
-  // test getting non-existing values
+  // test getting nonexistent values
   var itemValue = Application.prefs.getValue(testdata.missing, "default");
-  is(itemValue, "default", "Check 'Application.prefs.getValue' for non-existing item");
+  is(itemValue, "default", "Check 'Application.prefs.getValue' for nonexistent item");
 
-  is(Application.prefs.get(testdata.missing), null, "Check 'Application.prefs.get' for non-existing item");
+  is(Application.prefs.get(testdata.missing), null, "Check 'Application.prefs.get' for nonexistent item");
 
   // test setting and getting a value
   Application.prefs.setValue(testdata.dummy, "dummy");
   itemValue = Application.prefs.getValue(testdata.dummy, "default");
   is(itemValue, "dummy", "Check 'Application.prefs.getValue' for existing item");
 
   // test for overwriting an existing value
   Application.prefs.setValue(testdata.dummy, "smarty");
--- a/browser/fuel/test/browser_ApplicationStorage.js
+++ b/browser/fuel/test/browser_ApplicationStorage.js
@@ -1,19 +1,19 @@
 function test() {
   // test for existence of values
   var hasItem = Application.storage.has("fuel-test-missing");
-  is(hasItem, false, "Check 'Application.storage.has' for non-existing item");
+  is(hasItem, false, "Check 'Application.storage.has' for nonexistent item");
   Application.storage.set("fuel-test", "dummy");
   hasItem = Application.storage.has("fuel-test");
   is(hasItem, true, "Check 'Application.storage.has' for existing item");
 
-  // test getting non-existing and existing values
+  // test getting nonexistent and existing values
   var itemValue = Application.storage.get("fuel-test-missing", "default");
-  is(itemValue, "default", "Check 'Application.storage.get' for non-existing item");
+  is(itemValue, "default", "Check 'Application.storage.get' for nonexistent item");
   itemValue = Application.storage.get("fuel-test", "default");
   is(itemValue, "dummy", "Check 'Application.storage.get' for existing item");
 
   // test for overwriting an existing value
   Application.storage.set("fuel-test", "smarty");
   itemValue = Application.storage.get("fuel-test", "default");
   is(itemValue, "smarty", "Check 'Application.storage.get' for overwritten item");
 
--- a/config/outofdate.pl
+++ b/config/outofdate.pl
@@ -36,17 +36,17 @@
 #
 # ***** END LICENSE BLOCK *****
 
 #
 #Input: [-d dir] foo1.java foo2.java
 #Compares with: foo1.class foo2.class (if -d specified, checks in 'dir', 
 #  otherwise assumes .class files in same directory as .java files)
 #Returns: list of input arguments which are newer than corresponding class
-#files (non-existent class files are considered to be real old :-)
+#files (nonexistent class files are considered to be real old :-)
 #
 
 $found = 1;
 
 # GLOBALS
 $SEP = 0; # the paltform independent path separator
 $CFG = 0; # the value of the -cfg flag
 
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -1513,17 +1513,17 @@ SPACE := $(EMPTY) $(EMPTY)
 # and class paths to be in the DOS form (i.e. e:/builds/...).  This function
 # does the appropriate conversion on Windows, but is a noop on other systems.
 ifeq (,$(filter-out WINNT WINCE, $(HOST_OS_ARCH)))
 ifdef CYGWIN_WRAPPER
 normalizepath = $(foreach p,$(1),$(shell cygpath -m $(p)))
 else
 # assume MSYS
 #  We use 'pwd -W' to get DOS form of the path.  However, since the given path
-#  could be a file or a non-existent path, we cannot call 'pwd -W' directly
+#  could be a file or a nonexistent path, we cannot call 'pwd -W' directly
 #  on the path.  Instead, we extract the root path (i.e. "c:/"), call 'pwd -W'
 #  on it, then merge with the rest of the path.
 root-path = $(shell echo $(1) | sed -e "s|\(/[^/]*\)/\?\(.*\)|\1|")
 non-root-path = $(shell echo $(1) | sed -e "s|\(/[^/]*\)/\?\(.*\)|\2|")
 normalizepath = $(foreach p,$(1),$(if $(filter /%,$(1)),$(patsubst %/,%,$(shell cd $(call root-path,$(1)) && pwd -W))/$(call non-root-path,$(1)),$(1)))
 endif
 else
 normalizepath = $(1)
--- a/configure.in
+++ b/configure.in
@@ -6271,17 +6271,17 @@ if test `echo "$MOZ_EXTENSIONS" | grep -
     AC_MSG_WARN([spellcheck is no longer an extension.])
     MOZ_EXTENSIONS=`echo $MOZ_EXTENSIONS | sed -e 's|spellcheck||g'`
 fi
 
 dnl Remove dupes
 MOZ_EXTENSIONS=`${PERL} ${srcdir}/build/unix/uniq.pl ${MOZ_EXTENSIONS}`
 
 dnl Ensure every extension exists, to avoid mostly-inscrutable error messages
-dnl when trying to build a non-existent extension.
+dnl when trying to build a nonexistent extension.
 for extension in $MOZ_EXTENSIONS; do
     if test ! -d "${srcdir}/extensions/${extension}"; then
         AC_MSG_ERROR([Unrecognized extension provided to --enable-extensions: ${extension}.])
     fi
 done
 
 
 dnl ========================================================
--- a/content/base/src/nsImageLoadingContent.cpp
+++ b/content/base/src/nsImageLoadingContent.cpp
@@ -427,17 +427,17 @@ nsImageLoadingContent::RemoveObserver(im
     // splice it out
     ImageObserver* oldObserver = observer->mNext;
     observer->mNext = oldObserver->mNext;
     oldObserver->mNext = nsnull;  // so we don't destroy them all
     delete oldObserver;
   }
 #ifdef DEBUG
   else {
-    NS_WARNING("Asked to remove non-existent observer");
+    NS_WARNING("Asked to remove nonexistent observer");
   }
 #endif
   return NS_OK;
 }
 
 NS_IMETHODIMP
 nsImageLoadingContent::GetRequest(PRInt32 aRequestType,
                                   imgIRequest** aRequest)
--- a/content/base/test/file_bug416317.xhtml
+++ b/content/base/test/file_bug416317.xhtml
@@ -660,17 +660,17 @@
       t( "Broken Selector", "()" );
       t( "Broken Selector", "<>" );
       t( "Broken Selector", "{}" );
 
       t( "ID Selector", "#body", ["body"], false );
       t( "ID Selector w/ Element", "body#body", ["body"], false );
       t( "ID Selector w/ Element", "ul#first", [] );
       t( "ID selector with existing ID descendant", "#firstp #simon1", ["simon1"] );
-      t( "ID selector with non-existent descendant", "#firstp #foobar", [] );
+      t( "ID selector with nonexistent descendant", "#firstp #foobar", [] );
 
       t( "ID selector using UTF8", "#台北Táiběi", ["台北Táiběi"] );
       t( "Multiple ID selectors using UTF8", "#台北Táiběi, #台北", ["台北Táiběi","台北"] );
       t( "Descendant ID selector using UTF8", "div #台北", ["台北"] );
       t( "Child ID selector using UTF8", "form > #台北", ["台北"] );
   
       t( "Escaped ID", "#foo\\:bar", ["foo:bar"] );
       t( "Escaped ID", "#test\\.foo\\[5\\]bar", ["test.foo[5]bar"] );
@@ -681,17 +681,17 @@
   
       t( "ID Selector, child ID present", "#form > #radio1", ["radio1"] ); // bug #267
       t( "ID Selector, not an ancestor ID", "#form #first", [] );
       t( "ID Selector, not a child ID", "#form > #option1a", [] );
       
       t( "All Children of ID", "#foo > *", ["sndp", "en", "sap"] );
       t( "All Children of ID with no children", "#firstUL > *", [] );
 
-      t( "ID selector with non-existent ancestor", "#asdfasdf #foobar", [] ); // bug #986
+      t( "ID selector with nonexistent ancestor", "#asdfasdf #foobar", [] ); // bug #986
 
       //t( "body div#form", [], "ID selector within the context of another element" );
 
       t( "Class Selector", ".blog", ["mark","simon"] );
       t( "Class Selector", ".blog.link", ["simon"] );
       t( "Class Selector w/ Element", "a.blog", ["mark","simon"] );
       t( "Parent Class Selector", "p .blog", ["mark","simon"] );
   
--- a/content/base/test/test_bug390219.html
+++ b/content/base/test/test_bug390219.html
@@ -16,17 +16,17 @@ https://bugzilla.mozilla.org/show_bug.cg
   
 </div>
 <pre id="test">
 <script class="testbody" type="text/javascript">
 /** Test for Bug 390219 **/
 
 SimpleTest.waitForExplicitFinish();
 xhr = new XMLHttpRequest();
-xhr.open("GET", "non-existing_url", true);
+xhr.open("GET", "nonexistent_url", true);
 xhr.send(null);
 xhr.abort();
 xhr.open("GET", ".", true);
 xhr.onreadystatechange = function() {
   if (xhr.readyState == 4) {
     is(xhr.status, 200, "wrong status");
     SimpleTest.finish();
   }
--- a/content/base/test/test_classList.html
+++ b/content/base/test/test_classList.html
@@ -64,17 +64,17 @@ function checkModification(e, funcName, 
     is(e.code, expectedException, "wrong exception thrown " + contextMsg);
   }
   e.removeEventListener("DOMAttrModified", onAttrModified, false);
   if (expectedRes !== null)
     is(res, expectedRes, "wrong return value from " + funcName +
        " " + contextMsg);
 
   var expectedAfter = after;
-  // XUL returns an empty string when getting a non-existing class attribute.
+  // XUL returns an empty string when getting a nonexistent class attribute.
   if (e.namespaceURI == XUL_NS && expectedAfter === null)
     expectedAfter = "";
 
   is(e.getAttribute("class"), expectedAfter, "wrong class after modification " +
      contextMsg);
   var expectedMutation = before != after;
   is(gMutationEvents.length, expectedMutation ? 1 : 0,
      "unexpected mutation event count " + contextMsg);
--- a/content/base/test/test_fileapi.html
+++ b/content/base/test/test_fileapi.html
@@ -249,27 +249,27 @@ r.abort();
 is(reuseAbortHasRun, false, "abort() is a no-op unless loading");
 r.readAsText(asciiFile);
 r.readAsText(asciiFile);
 is(reuseAbortHasRun, true, "abort should fire sync");
 r.onload = getLoadHandler(testASCIIData, testASCIIData.length, "reuse-as-abort reading");
 expectedTestCount++;
 
 
-// Test reading from non-existing files
+// Test reading from nonexistent files
 r = new FileReader();
 var didThrow = false;
 try {
   r.readAsDataURL(nonExistingFile);
 } catch(ex) {
   didThrow = true;
 }
 // Once this test passes, we shoud test that onerror gets called and
 // that the FileReader object is in the right state during that call.
-todo(!didThrow, "shouldn't throw when opening non-existing file, should fire error instead");
+todo(!didThrow, "shouldn't throw when opening nonexistent file, should fire error instead");
 
 
 function getLoadHandler(expectedResult, expectedLength, testName) {
   return function (event) {
     is(event.target.readyState, FileReader.DONE,
        "readyState in test " + testName);
     is(event.target.error, null,
        "no error in test " + testName);
--- a/content/html/document/src/nsHTMLContentSink.cpp
+++ b/content/html/document/src/nsHTMLContentSink.cpp
@@ -1759,17 +1759,17 @@ HTMLContentSink::BeginContext(PRInt32 aP
 
   // Create new context
   SinkContext* sc = new SinkContext(this);
   if (!sc) {
     return NS_ERROR_OUT_OF_MEMORY;
   }
 
   if (!mCurrentContext) {
-    NS_ERROR("Non-existing context");
+    NS_ERROR("Nonexistent context");
 
     return NS_ERROR_FAILURE;
   }
 
   // Flush everything in the current context so that we don't have
   // to worry about insertions resulting in inconsistent frame creation.
   mCurrentContext->FlushTags();
 
@@ -1799,17 +1799,17 @@ HTMLContentSink::BeginContext(PRInt32 aP
   mContextStack.AppendElement(mCurrentContext);
   mCurrentContext = sc;
   return NS_OK;
 }
 
 NS_IMETHODIMP
 HTMLContentSink::EndContext(PRInt32 aPosition)
 {
-  NS_PRECONDITION(mCurrentContext && aPosition > -1, "non-existing context");
+  NS_PRECONDITION(mCurrentContext && aPosition > -1, "nonexistent context");
 
   PRUint32 n = mContextStack.Length() - 1;
   SinkContext* sc = mContextStack.ElementAt(n);
 
   const SinkContext::Node &bottom = mCurrentContext->mStack[0];
   
   NS_ASSERTION(sc->mStack[aPosition].mType == bottom.mType,
                "ending a wrong context");
--- a/content/html/document/src/nsHTMLDocument.cpp
+++ b/content/html/document/src/nsHTMLDocument.cpp
@@ -2149,17 +2149,17 @@ nsHTMLDocument::Close()
       FlushPendingNotifications(Flush_Layout);
     }
 
     // Remove the wyciwyg channel request from the document load group
     // that we added in OpenCommon().  If all other requests between
     // document.open() and document.close() have completed, then this
     // method should cause the firing of an onload event.
     NS_ASSERTION(mWyciwygChannel, "nsHTMLDocument::Close(): Trying to remove "
-                 "non-existent wyciwyg channel!");
+                 "nonexistent wyciwyg channel!");
     RemoveWyciwygChannel();
     NS_ASSERTION(!mWyciwygChannel, "nsHTMLDocument::Close(): "
                  "nsIWyciwygChannel could not be removed!");
   }
 
   return NS_OK;
 }
 
--- a/docshell/resources/content/netError.xhtml
+++ b/docshell/resources/content/netError.xhtml
@@ -115,17 +115,17 @@
       {
         // Session history has the URL of the page that failed
         // to load, not the one of the error page. So, just call
         // reload(), which will also repost POST data correctly.
         try {
           location.reload();
         } catch (e) {
           // We probably tried to reload a URI that caused an exception to
-          // occur;  e.g. a non-existent file.
+          // occur;  e.g. a nonexistent file.
         }
 
         buttonEl.disabled = true;
       }
 
       function initPage()
       {
         var err = getErrorCode();
--- a/docshell/test/test_bug529119-1.html
+++ b/docshell/test/test_bug529119-1.html
@@ -6,17 +6,17 @@
 <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>        
 <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
 
 <script class="testbody" type="text/javascript">
 
 SimpleTest.waitForExplicitFinish();
 
 var workingURL = "http://mochi.test:8888/tests/docshell/test/bug529119-window.html";
-var faultyURL = "http://some-non-existent-domain-27489274c892748217cn2384.com/";
+var faultyURL = "http://some-nonexistent-domain-27489274c892748217cn2384.com/";
 
 var w = null;
 var phase = 0;
 var gotWrongPageOnTryAgainClick = false;
 
 function pollForPage(f, w)
 {
   // Start with polling after a delay, we might mistakenly take the current page
--- a/docshell/test/test_bug529119-2.html
+++ b/docshell/test/test_bug529119-2.html
@@ -6,17 +6,17 @@
 <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>        
 <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
 
 <script class="testbody" type="text/javascript">
 
 SimpleTest.waitForExplicitFinish();
 
 var workingURL = "http://mochi.test:8888/tests/docshell/test/bug529119-window.html";
-var faultyURL = "http://some-non-existent-domain-27489274c892748217cn2384.com/";
+var faultyURL = "http://some-nonexistent-domain-27489274c892748217cn2384.com/";
 
 var w = null;
 var phase = 0;
 
 function pollForPage(expectErrorPage, f, w)
 {
   // Start with polling after a delay, we might mistakenly take the current page
   // as an expected one.
--- a/dom/src/storage/nsDOMStorage.cpp
+++ b/dom/src/storage/nsDOMStorage.cpp
@@ -1294,17 +1294,17 @@ nsDOMStorage::SetSecure(const nsAString&
 
     return gStorageDB->SetSecure(this, aKey, aSecure);
   }
 #else
   return NS_ERROR_NOT_IMPLEMENTED;
 #endif
 
   nsSessionStorageEntry *entry = mItems.GetEntry(aKey);
-  NS_ASSERTION(entry, "Don't use SetSecure() with non-existing keys!");
+  NS_ASSERTION(entry, "Don't use SetSecure() with nonexistent keys!");
 
   if (entry) {
     entry->mItem->SetSecureInternal(aSecure);
   }  
 
   return NS_OK;
 }
 
--- a/editor/libeditor/html/nsHTMLEditor.h
+++ b/editor/libeditor/html/nsHTMLEditor.h
@@ -501,17 +501,17 @@ protected:
   NS_IMETHOD SplitCellIntoColumns(nsIDOMElement *aTable, PRInt32 aRowIndex, PRInt32 aColIndex,
                                   PRInt32 aColSpanLeft, PRInt32 aColSpanRight, nsIDOMElement **aNewCell);
 
   NS_IMETHOD SplitCellIntoRows(nsIDOMElement *aTable, PRInt32 aRowIndex, PRInt32 aColIndex,
                                PRInt32 aRowSpanAbove, PRInt32 aRowSpanBelow, nsIDOMElement **aNewCell);
 
   nsresult CopyCellBackgroundColor(nsIDOMElement *destCell, nsIDOMElement *sourceCell);
 
-  // Reduce rowspan/colspan when cells span into non-existent rows/columns
+  // Reduce rowspan/colspan when cells span into nonexistent rows/columns
   NS_IMETHOD FixBadRowSpan(nsIDOMElement *aTable, PRInt32 aRowIndex, PRInt32& aNewRowCount);
   NS_IMETHOD FixBadColSpan(nsIDOMElement *aTable, PRInt32 aColIndex, PRInt32& aNewColCount);
 
   // Fallback method: Call this after using ClearSelection() and you
   //  failed to set selection to some other content in the document
   NS_IMETHOD SetSelectionAtDocumentStart(nsISelection *aSelection);
 
 // End of Table Editing utilities
--- a/editor/libeditor/html/tests/browserscope/lib/browserscope/README
+++ b/editor/libeditor/html/tests/browserscope/lib/browserscope/README
@@ -13,17 +13,17 @@ http://code.google.com/appengine/downloa
 For local development, just startup the server:
 ./pathto/google_appengine/dev_appserver.py --port=8080 browserscope
 
 You should then be able to access the local application at:
 http://localhost:8080/
 
 Note: the first time you hit the homepage it may take a little
 while - that's because it's trying to read out median times for all
-of the tests from a non-existent datastore and write to memcache.
+of the tests from a nonexistent datastore and write to memcache.
 Just be a lil patient.
 
 You can run the unit tests at:
   http://localhost:8080/test
 
 
 CONTRIBUTING
 ------------------
--- a/js/src/config/rules.mk
+++ b/js/src/config/rules.mk
@@ -1513,17 +1513,17 @@ SPACE := $(EMPTY) $(EMPTY)
 # and class paths to be in the DOS form (i.e. e:/builds/...).  This function
 # does the appropriate conversion on Windows, but is a noop on other systems.
 ifeq (,$(filter-out WINNT WINCE, $(HOST_OS_ARCH)))
 ifdef CYGWIN_WRAPPER
 normalizepath = $(foreach p,$(1),$(shell cygpath -m $(p)))
 else
 # assume MSYS
 #  We use 'pwd -W' to get DOS form of the path.  However, since the given path
-#  could be a file or a non-existent path, we cannot call 'pwd -W' directly
+#  could be a file or a nonexistent path, we cannot call 'pwd -W' directly
 #  on the path.  Instead, we extract the root path (i.e. "c:/"), call 'pwd -W'
 #  on it, then merge with the rest of the path.
 root-path = $(shell echo $(1) | sed -e "s|\(/[^/]*\)/\?\(.*\)|\1|")
 non-root-path = $(shell echo $(1) | sed -e "s|\(/[^/]*\)/\?\(.*\)|\2|")
 normalizepath = $(foreach p,$(1),$(if $(filter /%,$(1)),$(patsubst %/,%,$(shell cd $(call root-path,$(1)) && pwd -W))/$(call non-root-path,$(1)),$(1)))
 endif
 else
 normalizepath = $(1)
--- a/js/src/jsarray.cpp
+++ b/js/src/jsarray.cpp
@@ -2778,17 +2778,17 @@ array_concat(JSContext *cx, uintN argc, 
                     return false;
                 for (slot = 0; slot < alength; slot++) {
                     if (!JS_CHECK_OPERATION_LIMIT(cx) ||
                         !GetArrayElement(cx, aobj, slot, &hole, tvr.addr())) {
                         return false;
                     }
 
                     /*
-                     * Per ECMA 262, 15.4.4.4, step 9, ignore non-existent
+                     * Per ECMA 262, 15.4.4.4, step 9, ignore nonexistent
                      * properties.
                      */
                     if (!hole &&
                         !SetArrayElement(cx, nobj, length+slot, tvr.value())) {
                         return false;
                     }
                 }
                 length += alength;
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -408,17 +408,17 @@ inline void
 JSGCChunkInfo::init(JSRuntime *rt)
 {
     runtime = rt;
     numFreeArenas = GC_ARENAS_PER_CHUNK;
     gcChunkAge = 0;
 
     /*
      * For simplicity we set all bits to 1 including the high bits in the
-     * last word that corresponds to non-existing arenas. This is fine since
+     * last word that corresponds to nonexistent arenas. This is fine since
      * the arena scans the bitmap words from lowest to highest bits and the
      * allocation checks numFreeArenas before doing the search.
      */
     memset(getFreeArenaBitmap(), 0xFF, GC_FREE_ARENA_BITMAP_SIZE);
 }
 
 inline void
 CheckValidGCThingPtr(void *thing)
--- a/js/src/jsinterp.cpp
+++ b/js/src/jsinterp.cpp
@@ -1092,17 +1092,17 @@ js_CheckRedeclaration(JSContext *cx, JSO
     uintN oldAttrs, report;
     bool isFunction;
     jsval value;
     const char *type, *name;
 
     /*
      * Both objp and propp must be either null or given. When given, *propp
      * must be null. This way we avoid an extra "if (propp) *propp = NULL" for
-     * the common case of a non-existing property.
+     * the common case of a nonexistent property.
      */
     JS_ASSERT(!objp == !propp);
     JS_ASSERT_IF(propp, !*propp);
 
     /* The JSPROP_INITIALIZER case below may generate a warning. Since we must
      * drop the property before reporting it, we insists on !propp to avoid
      * looking up the property again after the reporting is done.
      */
--- a/js/src/jstracer.cpp
+++ b/js/src/jstracer.cpp
@@ -12981,17 +12981,17 @@ TraceRecorder::prop(JSObject* obj, LIns*
     /*
      * Property cache ensures that we are dealing with an existing property,
      * and guards the shape for us.
      */
     JSObject* obj2;
     PCVal pcval;
     CHECK_STATUS_A(test_property_cache(obj, obj_ins, obj2, pcval));
 
-    /* Check for non-existent property reference, which results in undefined. */
+    /* Check for nonexistent property reference, which results in undefined. */
     if (pcval.isNull()) {
         if (slotp)
             RETURN_STOP_A("property not found");
 
         /*
          * We could specialize to guard on just JSClass.getProperty, but a mere
          * class guard is simpler and slightly faster.
          */
--- a/js/src/tests/js1_5/Regress/regress-156354.js
+++ b/js/src/tests/js1_5/Regress/regress-156354.js
@@ -34,25 +34,25 @@
  * 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 ***** */
 
 /*
  *
  * Date:    16 September 2002
- * SUMMARY: Testing propertyIsEnumerable() on non-existent property
+ * SUMMARY: Testing propertyIsEnumerable() on nonexistent property
  * See http://bugzilla.mozilla.org/show_bug.cgi?id=156354
  *
  */
 //-----------------------------------------------------------------------------
 var gTestfile = 'regress-156354.js';
 var UBound = 0;
 var BUGNUMBER = 156354;
-var summary = 'Testing propertyIsEnumerable() on non-existent property';
+var summary = 'Testing propertyIsEnumerable() on nonexistent property';
 var status = '';
 var statusitems = [];
 var actual = '';
 var actualvalues = [];
 var expect= '';
 var expectedvalues = [];
 
 
--- a/js/src/tests/js1_5/extensions/getset-006.js
+++ b/js/src/tests/js1_5/extensions/getset-006.js
@@ -142,17 +142,17 @@ obj = new TestObject();
 obj.name = cnFRED;
 obj.color = cnRED;
 
 status = 'In SECTION3 of test looking up extant getter/setter';
 actual = [obj.__lookupSetter__(cnName), obj.__lookupGetter__(cnName)];
 expect = [cnNameSetter, cnNameGetter];
 addThis();
 
-status = 'In SECTION3 of test; looking up non-existent getter/setter';
+status = 'In SECTION3 of test; looking up nonexistent getter/setter';
 actual = [obj.__lookupSetter__(cnColor), obj.__lookupGetter__(cnColor)];
 expect = [undefined, undefined];
 addThis();
 
 status = 'In SECTION3 of test; looking up getter/setter on nonexistent property';
 actual = [obj.__lookupSetter__(cnNonExistingProp), obj.__lookupGetter__(cnNonExistingProp)];
 expect = [undefined, undefined];
 addThis();
--- a/js/src/tests/js1_7/iterable/regress-341510.js
+++ b/js/src/tests/js1_7/iterable/regress-341510.js
@@ -34,17 +34,17 @@
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
 var gTestfile = 'regress-341510.js';
 //-----------------------------------------------------------------------------
 var BUGNUMBER = 341510;
 var summary = 'Iterators: crash in close handler with assignment to ' +
-  'non-existing name';
+  'nonexistent name';
 var actual = 'No Crash';
 var expect = 'No Crash';
 
 printBugNumber(BUGNUMBER);
 printStatus (summary);
 
 function gen(i) {
   try {
--- a/js/src/xpconnect/tests/mochitest/test_cows.html
+++ b/js/src/xpconnect/tests/mochitest/test_cows.html
@@ -74,19 +74,19 @@ function COWTests() {
         } catch (e) {
             ok(/SECURITY_MANAGER/.test(e),
                "not able to access arbitrary property " + uneval(name));
         }
     });
 
     try {
         if (strictCOW.foo)
-            ok(false, "non-existent property shouldn't be truthy.");
+            ok(false, "nonexistent property shouldn't be truthy.");
         else
-            ok(true, "'duck-typing' detection on non-existent prop " +
+            ok(true, "'duck-typing' detection on nonexistent prop " +
                      "should work.");
     } catch (e) {
         todo(false,
              "'duck-typing' detection on a non-exposed prop of a COWed " +
              "obj should not throw");
     }
 
     var writable = { __exposedProps__: {foo: 'w'}};
--- a/layout/generic/nsBlockFrame.h
+++ b/layout/generic/nsBlockFrame.h
@@ -91,17 +91,17 @@ class nsIntervalSet;
  * -- The overflow out-of-flows list contains the out-of-
  * flow frames whose placeholders are in the overflow list.
  * -- A given piece of content has at most one placeholder
  * frame in a block's normal child list.
  * -- While a block is being reflowed, it may have a FloatContinuationProperty
  * frame property that points to an nsFrameList in its
  * nsBlockReflowState. This list contains continuations for
  * floats whose prev-in-flow is in the block's regular float
- * list. The list is always empty/non-existent after the
+ * list. The list is always empty/nonexistent after the
  * block has been reflowed.
  * -- In all these frame lists, if there are two frames for
  * the same content appearing in the list, then the frames
  * appear with the prev-in-flow before the next-in-flow.
  * -- While reflowing a block, its overflow line list
  * will usually be empty but in some cases will have lines
  * (while we reflow the block at its shrink-wrap width).
  * In this case any new overflowing content must be
--- a/layout/reftests/font-face/bug533251.html
+++ b/layout/reftests/font-face/bug533251.html
@@ -11,17 +11,17 @@
   src: url(../fonts/markA.ttf);
 }
 
 body {
   background-color: white;
 }
 
 div { 
-  font-family: Bongo2020; /* non-existent font */ 
+  font-family: Bongo2020; /* nonexistent font */ 
   color: white;
 }
 
 p { font-family: test; }
 
 </style>
 </head>
 <body>
--- a/layout/reftests/xul-document-load/readme.txt
+++ b/layout/reftests/xul-document-load/readme.txt
@@ -15,17 +15,17 @@ test004: Same as test003, but removing t
 test005: Same as test003, but removing the stylesheet PI happens from a top-level
          script in an external JS file.
 
 test006: Simple <?xml-stylesheet ?> instruction in the prolog has an effect and exists
          in the DOM.
 
 test007: Same as #006 for xul-overlay PI.
 
-test008: Handle stylesheet PIs pointing to non-existing resources gracefully.
+test008: Handle stylesheet PIs pointing to nonexistent resources gracefully.
 
 test009: Same as #008 for xul-overlay PIs
 
 test010: PIs in the master document, outside the prolog, don't have any effect but get
          added to the DOM.
 
 test011: (bug 363406) Relative URIs in overlay's <?xml-stylesheet ?> PI are
          resolved against overlay's URI, not the document URI.
--- a/netwerk/test/TestCacheBlockFiles.cpp
+++ b/netwerk/test/TestCacheBlockFiles.cpp
@@ -244,17 +244,17 @@ main(void)
         //  local variables used in tests
         //----------------------------------------------------------------
         PRUint32 bytesWritten = 0;
         PRInt32  startBlock;
         PRInt32  i = 0;
 
 
         //----------------------------------------------------------------
-        //  Test 1: Open non-existing file
+        //  Test 1: Open nonexistent file
         //----------------------------------------------------------------
         rv = blockFile->Open(localFile, 256);
         if (NS_FAILED(rv)) {
             printf("Test 1: failed (Open returned: 0x%.8x)\n", rv);
             goto exit;
         }
 
         rv = blockFile->Close();
@@ -332,17 +332,17 @@ main(void)
             (void) blockFile->Close();
             goto exit;
         }
 
         printf("Test 3: passed\n");
 
 
         //----------------------------------------------------------------
-        //  Test 4: Open non-existing file (again)
+        //  Test 4: Open nonexistent file (again)
         //----------------------------------------------------------------
 
         // Delete existing file
         rv = localFile->Delete(PR_FALSE);
         if (NS_FAILED(rv)) {
             printf("Test 4 failed (Delete returned: 0x%.8x)\n", rv);
             goto exit;
         }
--- a/netwerk/test/TestCacheService.cpp
+++ b/netwerk/test/TestCacheService.cpp
@@ -104,24 +104,24 @@ TestMemoryObjectCache()
 {
     printf("\nTesting Memory Object Cache:\n");
     nsCOMPtr<nsICacheSession> session;
     nsresult rv = MakeCacheSession("testClientID", getter_AddRefs(session));
     if (NS_FAILED(rv))  return;
 
     nsCOMPtr<nsICacheEntryDescriptor> descriptor;
 
-    // Test ACCESS_READ for non-existent entry
+    // Test ACCESS_READ for nonexistent entry
     printf("\nTest ACCESS_READ:\n");
-    rv = session->OpenCacheEntry(NS_LITERAL_CSTRING("non-existent entry"),
+    rv = session->OpenCacheEntry(NS_LITERAL_CSTRING("nonexistent entry"),
                                  nsICache::ACCESS_READ,
                                  nsICache::BLOCKING,
                                  getter_AddRefs(descriptor));
     if (rv != NS_ERROR_CACHE_KEY_NOT_FOUND)
-        printf("OpenCacheEntry(ACCESS_READ) returned: %x for non-existent entry\n", rv);
+        printf("OpenCacheEntry(ACCESS_READ) returned: %x for nonexistent entry\n", rv);
 
     NS_NAMED_LITERAL_CSTRING(cacheKey, "http://www.mozilla.org/somekey");
 
     // Test creating new entry
     printf("\nTest ACCESS_READ_WRITE:\n");
     rv = session->OpenCacheEntry(cacheKey,
                                  nsICache::ACCESS_READ_WRITE,
                                  nsICache::BLOCKING,
--- a/netwerk/test/httpserver/httpd.js
+++ b/netwerk/test/httpserver/httpd.js
@@ -592,17 +592,17 @@ nsHttpServer.prototype =
   {
     // XXX true path validation!
     if (path.charAt(0) != "/" ||
         path.charAt(path.length - 1) != "/" ||
         (directory &&
          (!directory.exists() || !directory.isDirectory())))
       throw Cr.NS_ERROR_INVALID_ARG;
 
-    // XXX determine behavior of non-existent /foo/bar when a /foo/bar/ mapping
+    // XXX determine behavior of nonexistent /foo/bar when a /foo/bar/ mapping
     //     exists!
 
     this._handler.registerDirectory(path, directory);
   },
 
   //
   // see nsIHttpServer.registerPathHandler
   //
@@ -3543,17 +3543,17 @@ Response.prototype =
      * Either the bodyOutputStream getter or this method is responsible for
      * starting the asynchronous processor and catching writes of data to the
      * response body of async responses as they happen, for the purpose of
      * forwarding those writes to the actual connection's output stream.
      * If bodyOutputStream is accessed first, calling this method will create
      * the processor (when it first is clear that body data is to be written
      * immediately, not buffered).  If this method is called first, accessing
      * bodyOutputStream will create the processor.  If only this method is
-     * called, we'll write nothing, neither headers nor the non-existent body,
+     * called, we'll write nothing, neither headers nor the nonexistent body,
      * until finish() is called.  Since that delay is easily avoided by simply
      * getting bodyOutputStream or calling write(""), we don't worry about it.
      */
     if (this._bodyOutputStream && !this._asyncCopier)
       this._startAsyncProcessor();
   },
 
   //
--- a/netwerk/test/httpserver/test/test_basic_functionality.js
+++ b/netwerk/test/httpserver/test/test_basic_functionality.js
@@ -41,17 +41,17 @@
  */
 
 var tests =
   [
    new Test("http://localhost:4444/objHandler",
             null, start_objHandler, null),
    new Test("http://localhost:4444/functionHandler",
             null, start_functionHandler, null),
-   new Test("http://localhost:4444/non-existent-path",
+   new Test("http://localhost:4444/nonexistent-path",
             null, start_non_existent_path, null),
    new Test("http://localhost:4444/lotsOfHeaders",
             null, start_lots_of_headers, null),
   ];
 
 function run_test()
 {
   var srv = createServer();
--- a/toolkit/components/passwordmgr/test/unit/test_storage_legacy_1.js
+++ b/toolkit/components/passwordmgr/test/unit/test_storage_legacy_1.js
@@ -49,17 +49,17 @@ file.append(filename);
 var exists = file.exists();
 if (exists) {
     // Go ahead and remove the file, so that this failure doesn't
     // repeat itself w/o intervention.
     file.remove(false);
     do_check_false(exists); // fail on purpose
 }
 
-testdesc = "Initialize with a non-existent data file";
+testdesc = "Initialize with a nonexistent data file";
 
 storage = LoginTest.initStorage(OUTDIR, filename);
 
 LoginTest.checkStorageData(storage, [], []);
 
 if (file.exists())
     file.remove(false);
 
--- a/toolkit/components/passwordmgr/test/unit/test_storage_legacy_2.js
+++ b/toolkit/components/passwordmgr/test/unit/test_storage_legacy_2.js
@@ -44,17 +44,17 @@ dummyuser2.init("http://dummyhost2.mozil
 dummyuser3.init("http://dummyhost2.mozilla.org", "http://cgi.site.com", null,
     "dummydude3", "itsasecret3", "put_user3_here", "put_pw3_here");
 
 
 /* ========== 2 ========== */
 testnum++;
 
 testdesc = "[ensuring file doesn't exist]";
-var filename="non-existent-file-"+Math.floor(Math.random() * 10000);
+var filename="nonexistent-file-"+Math.floor(Math.random() * 10000);
 var file = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);
 file.initWithPath(OUTDIR);
 file.append(filename);
 var exists = file.exists();
 if (exists) {
     // Go ahead and remove the file, so that this failure
     // doesn't repeat itself w/o intervention.
     file.remove(false);
--- a/toolkit/components/passwordmgr/test/unit/test_storage_mozStorage_1.js
+++ b/toolkit/components/passwordmgr/test/unit/test_storage_mozStorage_1.js
@@ -51,17 +51,17 @@ testdesc = "[ensuring file doesn't exist
 
 var filename="this-file-does-not-exist.pwmgr.sqlite";
 file = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);
 file.initWithPath(OUTDIR);
 file.append(filename);
 if(file.exists())
     file.remove(false);
 
-testdesc = "Initialize with a non-existent data file";
+testdesc = "Initialize with a nonexistent data file";
 
 storage = LoginTest.reloadStorage(OUTDIR, filename);
 
 LoginTest.checkStorageData(storage, [], []);
 
 try {
     if (file.exists())
         file.remove(false);
@@ -220,17 +220,17 @@ LoginTest.deleteFile(OUTDIR, "signons-06
 
 /* ========== 11 ========== */
 testnum++;
 testdesc = "Initialize with signons-06.txt (1 disabled, 1 login); test modifyLogin";
 
 storage = LoginTest.initStorage(INDIR, "signons-06.txt", OUTDIR, "signons-06-3.sqlite");
 LoginTest.checkStorageData(storage, ["https://www.site.net"], [testuser1]);
 
-// Try modifying a non-existent login
+// Try modifying a nonexistent login
 var err = null;
 try {
     storage.modifyLogin(testuser2, testuser1);
 } catch (e) {
     err = e;
 }
 LoginTest.checkExpectedError(/No matching logins/, err);
 LoginTest.checkStorageData(storage, ["https://www.site.net"], [testuser1]);
--- a/toolkit/components/passwordmgr/test/unit/test_storage_mozStorage_2.js
+++ b/toolkit/components/passwordmgr/test/unit/test_storage_mozStorage_2.js
@@ -36,17 +36,17 @@ dummyuser2.init("http://dummyhost2.mozil
 dummyuser3.init("http://dummyhost2.mozilla.org", "http://cgi.site.com", null,
     "dummydude3", "itsasecret3", "put_user3_here", "put_pw3_here");
 
 
 /* ========== 2 ========== */
 testnum++;
 
 testdesc = "[ensuring file doesn't exist]";
-var filename="non-existent-file-pwmgr.sqlite";
+var filename="nonexistent-file-pwmgr.sqlite";
 var file = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);
 file.initWithPath(OUTDIR);
 file.append(filename);
 if(file.exists())
     file.remove(false);
 
 testdesc = "Initialize with no existing file";
 storage = LoginTest.reloadStorage(OUTDIR, filename);
--- a/toolkit/components/places/tests/queries/test_tags.js
+++ b/toolkit/components/places/tests/queries/test_tags.js
@@ -261,17 +261,17 @@ var gTests = [
         executeAndCheckQueryResults(query, opts, []);
         [query, opts] = makeQuery(["foo", "bar", "baz", "bogus"]);
         executeAndCheckQueryResults(query, opts, []);
       });
     }
   },
 
   {
-    desc: "Querying history on nonexisting tags should return no results",
+    desc: "Querying history on nonexistent tags should return no results",
     run:   function () {
       doWithVisit(["foo", "bar", "baz"], function (aURI) {
         var [query, opts] = makeQuery(["bogus"]);
         executeAndCheckQueryResults(query, opts, []);
         [query, opts] = makeQuery(["bogus", "gnarly"]);
         executeAndCheckQueryResults(query, opts, []);
       });
     }
@@ -345,17 +345,17 @@ var gTests = [
         [query, opts] = makeQuery(["foo", "bar", "baz", "bogus"]);
         opts.queryType = opts.QUERY_TYPE_BOOKMARKS;
         executeAndCheckQueryResults(query, opts, []);
       });
     }
   },
 
   {
-    desc: "Querying bookmarks on nonexisting tag should return no results",
+    desc: "Querying bookmarks on nonexistent tag should return no results",
     run:   function () {
       doWithBookmark(["foo", "bar", "baz"], function (aURI) {
         var [query, opts] = makeQuery(["bogus"]);
         opts.queryType = opts.QUERY_TYPE_BOOKMARKS;
         executeAndCheckQueryResults(query, opts, []);
         [query, opts] = makeQuery(["bogus", "gnarly"]);
         opts.queryType = opts.QUERY_TYPE_BOOKMARKS;
         executeAndCheckQueryResults(query, opts, []);
--- a/toolkit/components/places/tests/unit/test_isvisited.js
+++ b/toolkit/components/places/tests/unit/test_isvisited.js
@@ -67,17 +67,17 @@ function run_test() {
   add_uri_to_history(uri2);
   do_check_true(gh.isVisited(uri2));
 
   // add a ftp:// uri
   var uri3 = uri("ftp://ftp.mozilla.org");
   add_uri_to_history(uri3);
   do_check_true(gh.isVisited(uri3));
 
-  // check if a non-existent uri is visited
+  // check if a nonexistent uri is visited
   var uri4 = uri("http://foobarcheese.com");
   do_check_false(gh.isVisited(uri4));
 
   // check that certain schemes never show up as visited
   // even if we attempt to add them to history
   // see CanAddURI() in nsNavHistory.cpp
   var urlsToIgnore = ["about:config", 
     "data:,Hello%2C%20World!",
--- a/toolkit/components/places/tests/unit/test_preventive_maintenance.js
+++ b/toolkit/components/places/tests/unit/test_preventive_maintenance.js
@@ -189,17 +189,17 @@ tests.push({
     stmt.params['anno'] = this._usedPageAttribute;
     stmt.execute();
     stmt.finalize();
     stmt = mDBConn.createStatement("INSERT INTO moz_annos (place_id, anno_attribute_id) VALUES(:place_id, (SELECT id FROM moz_anno_attributes WHERE name = :anno))");
     stmt.params['place_id'] = this._placeId;
     stmt.params['anno'] = this._usedPageAttribute;
     stmt.execute();
     stmt.finalize();
-    // Add an annotation with a nonexisting attribute
+    // Add an annotation with a nonexistent attribute
     stmt = mDBConn.createStatement("INSERT INTO moz_annos (place_id, anno_attribute_id) VALUES(:place_id, 1337)");
     stmt.params['place_id'] = this._placeId;
     stmt.execute();
     stmt.finalize();
   },
 
   check: function() {
     // Check that used attribute is still there
@@ -236,17 +236,17 @@ tests.push({
     stmt.params['anno'] = this._usedPageAttribute;
     stmt.execute();
     stmt.finalize();
     stmt = mDBConn.createStatement("INSERT INTO moz_annos (place_id, anno_attribute_id) VALUES(:place_id, (SELECT id FROM moz_anno_attributes WHERE name = :anno))");
     stmt.params['place_id'] = this._placeId;
     stmt.params['anno'] = this._usedPageAttribute;
     stmt.execute();
     stmt.reset();
-    // Add an annotation to a nonexisting page
+    // Add an annotation to a nonexistent page
     stmt.params['place_id'] = 1337;
     stmt.params['anno'] = this._usedPageAttribute;
     stmt.execute();
     stmt.finalize();
   },
 
   check: function() {
     // Check that used attribute is still there
@@ -254,17 +254,17 @@ tests.push({
     stmt.params['anno'] = this._usedPageAttribute;
     do_check_true(stmt.executeStep());
     stmt.finalize();
     // check that annotation with valid attribute is still there
     stmt = mDBConn.createStatement("SELECT id FROM moz_annos WHERE anno_attribute_id = (SELECT id FROM moz_anno_attributes WHERE name = :anno)");
     stmt.params['anno'] = this._usedPageAttribute;
     do_check_true(stmt.executeStep());
     stmt.finalize();
-    // Check that an annotation to a nonexisting page has been removed
+    // Check that an annotation to a nonexistent page has been removed
     stmt = mDBConn.createStatement("SELECT id FROM moz_annos WHERE place_id = 1337");
     do_check_false(stmt.executeStep());
     stmt.finalize();
   }
 });
 
 //------------------------------------------------------------------------------
 tests.push({
@@ -521,17 +521,17 @@ tests.push({
     stmt.params["id"] = this._validKeywordId;
     stmt.params["keyword"] = "used";
     stmt.execute();
     stmt.finalize();
     // Add a place to ensure place_id = 1 is valid
     this._placeId = addPlace();
     // Add a bookmark using the keyword
     this._validKeywordItemId = addBookmark(this._placeId, bs.TYPE_BOOKMARK, bs.unfiledBookmarksFolder, this._validKeywordId);
-    // Add a bookmark using a nonexisting keyword
+    // Add a bookmark using a nonexistent keyword
     this._invalidKeywordItemId = addBookmark(this._placeId, bs.TYPE_BOOKMARK, bs.unfiledBookmarksFolder, this._invalidKeywordId);
   },
 
   check: function() {
     // Check that item with valid keyword is there
     let stmt = mDBConn.createStatement("SELECT id FROM moz_bookmarks WHERE id = :item_id AND keyword_id = :keyword");
     stmt.params["item_id"] = this._validKeywordItemId;
     stmt.params["keyword"] = this._validKeywordId;
@@ -888,17 +888,17 @@ tests.push({
     stmt.params['anno'] = this._usedItemAttribute;
     stmt.execute();
     stmt.finalize();
     stmt = mDBConn.createStatement("INSERT INTO moz_items_annos (item_id, anno_attribute_id) VALUES(:item_id, (SELECT id FROM moz_anno_attributes WHERE name = :anno))");
     stmt.params['item_id'] = this._bookmarkId;
     stmt.params['anno'] = this._usedItemAttribute;
     stmt.execute();
     stmt.finalize();
-    // Add an annotation with a nonexisting attribute
+    // Add an annotation with a nonexistent attribute
     stmt = mDBConn.createStatement("INSERT INTO moz_items_annos (item_id, anno_attribute_id) VALUES(:item_id, 1337)");
     stmt.params['item_id'] = this._bookmarkId;
     stmt.execute();
     stmt.finalize();
   },
 
   check: function() {
     // Check that used attribute is still there
@@ -939,17 +939,17 @@ tests.push({
     stmt.params['anno'] = this._usedItemAttribute;
     stmt.execute();
     stmt.finalize();
     stmt = mDBConn.createStatement("INSERT INTO moz_items_annos (item_id, anno_attribute_id) VALUES (:item_id, (SELECT id FROM moz_anno_attributes WHERE name = :anno))");
     stmt.params["item_id"] = this._bookmarkId;
     stmt.params["anno"] = this._usedItemAttribute;
     stmt.execute();
     stmt.reset();
-    // Add an annotation to a nonexisting item
+    // Add an annotation to a nonexistent item
     stmt.params["item_id"] = this._invalidBookmarkId;
     stmt.params["anno"] = this._usedItemAttribute;
     stmt.execute();
     stmt.finalize();
   },
 
   check: function() {
     // Check that used attribute is still there
@@ -957,17 +957,17 @@ tests.push({
     stmt.params['anno'] = this._usedItemAttribute;
     do_check_true(stmt.executeStep());
     stmt.finalize();
     // check that annotation with valid attribute is still there
     stmt = mDBConn.createStatement("SELECT id FROM moz_items_annos WHERE anno_attribute_id = (SELECT id FROM moz_anno_attributes WHERE name = :anno)");
     stmt.params['anno'] = this._usedItemAttribute;
     do_check_true(stmt.executeStep());
     stmt.finalize();
-    // Check that an annotation to a nonexisting page has been removed
+    // Check that an annotation to a nonexistent page has been removed
     stmt = mDBConn.createStatement("SELECT id FROM moz_items_annos WHERE item_id = 8888");
     do_check_false(stmt.executeStep());
     stmt.finalize();
   }
 });
 
 
 //------------------------------------------------------------------------------
@@ -1023,17 +1023,17 @@ tests.push({
     // Insert a favicon entry
     let stmt = mDBConn.createStatement("INSERT INTO moz_favicons (id, url) VALUES(1, :url)");
     stmt.params["url"] = "http://www.mozilla.org/favicon.ico";
     stmt.execute();
     stmt.finalize();
     // Insert a place using the existing favicon entry
     this._validIconPlaceId = addPlace("http://www1.mozilla.org", 1);
 
-    // Insert a place using a nonexisting favicon entry
+    // Insert a place using a nonexistent favicon entry
     this._invalidIconPlaceId = addPlace("http://www2.mozilla.org", 1337);
   },
 
   check: function() {
     // Check that bogus favicon is not there
     let stmt = mDBConn.createStatement("SELECT id FROM moz_places WHERE favicon_id = :favicon_id");
     stmt.params["favicon_id"] = 1337;
     do_check_false(stmt.executeStep());
--- a/toolkit/components/satchel/test/unit/test_history_api.js
+++ b/toolkit/components/satchel/test/unit/test_history_api.js
@@ -69,17 +69,17 @@ function run_test()
   do_check_true(fh.entryExists("name-A", "value-A"));
   do_check_true(fh.entryExists("name-B", "value-B1"));
   do_check_true(fh.entryExists("name-B", "value-B2"));
   do_check_true(fh.entryExists("name-C", "value-C"));
   do_check_true(fh.entryExists("name-D", "value-D"));
   // time-A/B/C/D checked below.
 
   // ===== 2 =====
-  // Test looking for non-existent / bogus data.
+  // Test looking for nonexistent / bogus data.
   testnum++;
   do_check_false(fh.nameExists("blah"));
   do_check_false(fh.nameExists(""));
   do_check_false(fh.nameExists(null));
   do_check_false(fh.entryExists("name-A", "blah"));
   do_check_false(fh.entryExists("name-A", ""));
   do_check_false(fh.entryExists("name-A", null));
   do_check_false(fh.entryExists("blah", "value-A"));
--- a/toolkit/components/url-classifier/content/moz/preferences.js
+++ b/toolkit/components/url-classifier/content/moz/preferences.js
@@ -163,17 +163,17 @@ G_Preferences.prototype.getPref = functi
 /**
  * Delete a preference. 
  *
  * @param which Name of preference to obliterate
  */
 G_Preferences.prototype.clearPref = function(which) {
   try {
     // This throws if the pref doesn't exist, which is fine because a 
-    // non-existent pref is cleared
+    // nonexistent pref is cleared
     this.prefs_.clearUserPref(which);
   } catch(e) {}
 }
 
 /**
  * Add an observer for a given pref.
  *
  * @param which String containing the pref to listen to
--- a/toolkit/components/url-classifier/content/moz/protocol4.js
+++ b/toolkit/components/url-classifier/content/moz/protocol4.js
@@ -139,17 +139,17 @@ function TEST_G_Protocol4Parser() {
     t = "foo:3:bar\r\n";
     G_Assert(z, p.parse(t)["foo"] === "bar", "Parsing with crlf broken");
 
 
     t = "foo:3:bar\nbar:3:baz\r\nbom:3:yaz\n";
     G_Assert(z, p.parse(t)["foo"] === "bar", "First in multiline");
     G_Assert(z, p.parse(t)["bar"] === "baz", "Second in multiline");
     G_Assert(z, p.parse(t)["bom"] === "yaz", "Third in multiline");
-    G_Assert(z, p.parse(t)[""] === undefined, "Non-existent in multiline");
+    G_Assert(z, p.parse(t)[""] === undefined, "Nonexistent in multiline");
     
     // Test serialization
 
     var original = { 
       "1": "1", 
       "2": "2", 
       "foobar": "baz",
       "hello there": "how are you?" ,
--- a/toolkit/components/url-classifier/content/url-crypto-key-manager.js
+++ b/toolkit/components/url-classifier/content/url-crypto-key-manager.js
@@ -453,17 +453,17 @@ function TEST_PROT_UrlCryptoKeyManager()
     removeTestFile(kf);
 
     var km = new PROT_UrlCryptoKeyManager(kf, true /* testing */);
 
     // CASE: simulate nothing on disk, then get something from server
 
     G_Assert(z, !km.hasKey(), "KM already has key?");
     km.maybeLoadOldKey();
-    G_Assert(z, !km.hasKey(), "KM loaded non-existent key?");
+    G_Assert(z, !km.hasKey(), "KM loaded nonexistent key?");
     km.onGetKeyResponse(null);
     G_Assert(z, !km.hasKey(), "KM got key from null response?");
     km.onGetKeyResponse("");
     G_Assert(z, !km.hasKey(), "KM got key from empty response?");
     km.onGetKeyResponse("aslkaslkdf:34:a230\nskdjfaljsie");
     G_Assert(z, !km.hasKey(), "KM got key from garbage response?");
     
     var realResponse = "clientkey:24:zGbaDbx1pxoYe7siZYi8VA==\n" +
--- a/toolkit/content/tests/widgets/test_menulist_null_value.xul
+++ b/toolkit/content/tests/widgets/test_menulist_null_value.xul
@@ -74,17 +74,17 @@ function runTests()
   is(list.getAttribute("label"), "", "Check list label after setting value to undefined");
 
   // select something again to make sure the label is not already empty
   list.selectedIndex = 1;
   // set the value to something that does not exist in any menuitem of the list
   // and make sure the previous label is removed
   list.value = "this does not exist";
   is(list.value, "this does not exist", "Check the list value after setting it to something not associated witn an existing menuitem");
-  is(list.getAttribute("label"), "", "Check that the list label is empty after selecting a non-existent item");
+  is(list.getAttribute("label"), "", "Check that the list label is empty after selecting a nonexistent item");
 
   SimpleTest.finish();
 }
 
 ]]>
 </script>
 
 <body xmlns="http://www.w3.org/1999/xhtml">
--- a/toolkit/mozapps/extensions/test/xpcshell/test_LightweightThemeManager.js
+++ b/toolkit/mozapps/extensions/test/xpcshell/test_LightweightThemeManager.js
@@ -77,17 +77,17 @@ function run_test() {
 
   ltm.currentTheme = dummy("x8");
   do_check_eq(ltm.usedThemes.length, 8);
   do_check_eq(ltm.currentTheme.id, "x8");
   do_check_eq(ltm.usedThemes[1].id, "x7");
   do_check_eq(ltm.usedThemes[7].id, "x1");
   do_check_eq(ltm.getUsedTheme("x0"), null);
 
-  ltm.forgetUsedTheme("nonexisting");
+  ltm.forgetUsedTheme("nonexistent");
   do_check_eq(ltm.usedThemes.length, 8);
   do_check_neq(ltm.currentTheme, null);
 
   ltm.forgetUsedTheme("x8");
   do_check_eq(ltm.usedThemes.length, 7);
   do_check_eq(ltm.currentTheme, null);
   do_check_eq(ltm.usedThemes[0].id, "x7");
   do_check_eq(ltm.usedThemes[6].id, "x1");
--- a/toolkit/mozapps/extensions/test/xpcshell/test_fuel.js
+++ b/toolkit/mozapps/extensions/test/xpcshell/test_fuel.js
@@ -137,17 +137,17 @@ function run_test() {
 
       // PREF TESTING
       // Reset the install event preference, so that we can test it again later
       //inspector.prefs.get("install-event-fired").reset();
 
       // test the value of the preference root
       do_check_eq(extensions.all[0].prefs.root, "extensions.addon1@tests.mozilla.org.");
 
-      // test getting non-existing values
+      // test getting nonexistent values
       var itemValue = inspector.prefs.getValue(testdata.missing, "default");
       do_check_eq(itemValue, "default");
 
       do_check_eq(inspector.prefs.get(testdata.missing), null);
 
       // test setting and getting a value
       inspector.prefs.setValue(testdata.dummy, "dummy");
       itemValue = inspector.prefs.getValue(testdata.dummy, "default");
--- a/uriloader/exthandler/nsHandlerService.js
+++ b/uriloader/exthandler/nsHandlerService.js
@@ -414,17 +414,17 @@ HandlerService.prototype = {
 
   exists: function HS_exists(aHandlerInfo) {
     var found;
 
     try {
       var typeID = this._getTypeID(this._getClass(aHandlerInfo), aHandlerInfo.type);
       found = this._hasLiteralAssertion(typeID, NC_VALUE, aHandlerInfo.type);
     } catch (e) {
-      // If the RDF threw (eg, corrupt file), treat as non-existent.
+      // If the RDF threw (eg, corrupt file), treat as nonexistent.
       found = false;
     }
 
     return found;
   },
 
   remove: function HS_remove(aHandlerInfo) {
     var preferredHandlerID =
--- a/uriloader/exthandler/tests/unit/test_handlerService.js
+++ b/uriloader/exthandler/tests/unit/test_handlerService.js
@@ -407,17 +407,17 @@ function run_test() {
   do_check_eq(str, "-test3");
 
   // FIXME: test round trip integrity for a protocol.
   // FIXME: test round trip integrity for a handler info with a web handler.
 
   //**************************************************************************//
   // getTypeFromExtension tests
 
-  // test non-existent extension
+  // test nonexistent extension
   var lolType = handlerSvc.getTypeFromExtension("lolcat");
   do_check_eq(lolType, "");
 
 
   // add a handler for the extension
   var lolHandler = mimeSvc.getFromTypeAndExtension("application/lolcat", null);
 
   do_check_false(lolHandler.extensionExists("lolcat"));
--- a/widget/src/windows/nsWindowCE.h
+++ b/widget/src/windows/nsWindowCE.h
@@ -70,17 +70,17 @@
 
 #ifndef WINCE_WINDOWS_MOBILE
 // Aliases to make nsFilePicker work.
 #define BROWSEINFOW             BROWSEINFO
 #define BFFM_SETSELECTIONW      BFFM_SETSELECTION
 #define SHBrowseForFolderW(a)   SHBrowseForFolder(a)
 #endif
 
-// No-ops for non-existent ce global apis.
+// No-ops for nonexistent ce global apis.
 inline void FlashWindow(HWND window, BOOL ignore){}
 inline BOOL IsIconic(HWND inWnd){return false;}
 
 class nsWindowCE {
 public:
   static BOOL EnumChildWindows(HWND inParent, WNDENUMPROC inFunc, LPARAM inParam);
 
 #if defined(WINCE_HAVE_SOFTKB)
--- a/xpcom/tests/TestHashtables.cpp
+++ b/xpcom/tests/TestHashtables.cpp
@@ -164,17 +164,17 @@ testTHashtable(nsTHashtable<EntityToUnic
     if (!entry) {
       printf("FAILED\n");
       exit (4);
     }
 
     printf("Found %u\n", entry->mNode->mUnicode);
   }
 
-  printf("Testing non-existent entries...");
+  printf("Testing nonexistent entries...");
 
   EntityToUnicodeEntry* entry =
     hash.GetEntry("xxxy");
 
   if (entry) {
     printf("FOUND! BAD!\n");
     exit (5);
   }
@@ -480,17 +480,17 @@ main(void) {
     if (!UniToEntity.Get(gEntities[i].mUnicode, &str)) {
       printf("FAILED\n");
       exit (12);
     }
 
     printf("Found %s\n", str);
   }
 
-  printf("Testing non-existent entries...");
+  printf("Testing nonexistent entries...");
   if (UniToEntity.Get(99446, &str)) {
     printf("FOUND! BAD!\n");
     exit (13);
   }
       
   printf("not found; good.\n");
       
   printf("Enumerating:\n");
@@ -545,17 +545,17 @@ main(void) {
     if (!UniToEntityL.Get(gEntities[i].mUnicode, &str)) {
       printf("FAILED\n");
       exit (12);
     }
 
     printf("Found %s\n", str);
   }
 
-  printf("Testing non-existent entries...");
+  printf("Testing nonexistent entries...");
   if (UniToEntityL.Get(99446, &str)) {
     printf("FOUND! BAD!\n");
     exit (13);
   }
       
   printf("not found; good.\n");
       
   printf("Enumerating:\n");
@@ -614,17 +614,17 @@ main(void) {
     if (!EntToUniClass.Get(nsDependentCString(gEntities[i].mStr), &myChar)) {
       printf("FAILED\n");
       exit (18);
     }
 
     printf("Found %c\n", myChar->GetChar());
   }
 
-  printf("Testing non-existent entries...");
+  printf("Testing nonexistent entries...");
   if (EntToUniClass.Get(NS_LITERAL_CSTRING("xxxx"), &myChar)) {
     printf("FOUND! BAD!\n");
     exit (19);
   }
       
   printf("not found; good.\n");
       
   printf("Enumerating:\n");
@@ -682,17 +682,17 @@ main(void) {
     if (!EntToUniClassL.Get(nsDependentCString(gEntities[i].mStr), &myChar)) {
       printf("FAILED\n");
       exit (18);
     }
 
     printf("Found %c\n", myChar->GetChar());
   }
 
-  printf("Testing non-existent entries...");
+  printf("Testing nonexistent entries...");
   if (EntToUniClassL.Get(NS_LITERAL_CSTRING("xxxx"), &myChar)) {
     printf("FOUND! BAD!\n");
     exit (19);
   }
       
   printf("not found; good.\n");
       
   printf("Enumerating:\n");
@@ -758,17 +758,17 @@ main(void) {
     if (!EntToUniClass2.Get(fooArray[i], &myChar2)) {
       printf("FAILED\n");
       exit (24);
     }
 
     printf("Found %c\n", myChar2);
   }
 
-  printf("Testing non-existent entries...");
+  printf("Testing nonexistent entries...");
   if (EntToUniClass2.Get((nsISupports*) 0x55443316, &myChar2)) {
     printf("FOUND! BAD!\n");
     exit (25);
   }
       
   printf("not found; good.\n");
       
   printf("Enumerating:\n");
@@ -831,17 +831,17 @@ main(void) {
       exit (30);
     }
     
     nsCAutoString str;
     myEnt->GetString(str);
     printf("Found %s\n", str.get());
   }
 
-  printf("Testing non-existent entries...");
+  printf("Testing nonexistent entries...");
   nsCOMPtr<IFoo> myEnt;
   if (UniToEntClass2.Get(9462, getter_AddRefs(myEnt))) {
     printf("FOUND! BAD!\n");
     exit (31);
   }
       
   printf("not found; good.\n");
       
@@ -905,17 +905,17 @@ main(void) {
       exit (30);
     }
     
     nsCAutoString str;
     myEnt->GetString(str);
     printf("Found %s\n", str.get());
   }
 
-  printf("Testing non-existent entries...");
+  printf("Testing nonexistent entries...");
   if (UniToEntClass2L.Get(9462, getter_AddRefs(myEnt))) {
     printf("FOUND! BAD!\n");
     exit (31);
   }
       
   printf("not found; good.\n");
       
   printf("Enumerating:\n");
--- a/xpcom/tests/unit/test_iniProcessor.js
+++ b/xpcom/tests/unit/test_iniProcessor.js
@@ -118,17 +118,17 @@ for (testnum = 1; testnum <= 15; testnum
     parser = parserForFile(newfilename);
     checkParserOutput(parser, testdata[testnum - 1].reference);
 }
 
 /* ========== 16 ========== */
 
 // test writing to a new file.
 let newfile = do_get_file("data/");
-newfile.append("non-existent-file.ini");
+newfile.append("nonexistent-file.ini");
 if (newfile.exists())
     newfile.remove(false);
 do_check_false(newfile.exists());
 
 let parser = factory.createINIParser(newfile);
 do_check_true(!!parser);
 do_check_true(parser instanceof Ci.nsIINIParserWriter);
 checkParserOutput(parser, {});
@@ -136,17 +136,17 @@ parser.writeFile();
 do_check_true(newfile.exists());
 
 // test adding a new section and new key
 parser.setString("section", "key", "value");
 parser.writeFile();
 do_check_true(newfile.exists());
 checkParserOutput(parser, {section: {key: "value"} });
 // read it in again, check for same data.
-parser = parserForFile("data/non-existent-file.ini");
+parser = parserForFile("data/nonexistent-file.ini");
 checkParserOutput(parser, {section: {key: "value"} });
 
 /* ========== 17 ========== */
 
 // test modifying a existing key's value (in an existing section)
 parser = parserForFile("data/iniparser09.ini");
 checkParserOutput(parser, {section1: {name1: "value1"} });
 
--- a/xulrunner/app/xulrunner.js
+++ b/xulrunner/app/xulrunner.js
@@ -32,17 +32,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 ***** */
 
 #filter substitution
 
 // We need to override the default values of these preferences since all.js
-// assumes these are in the navigator package, which for us is non-existent.
+// assumes these are in the navigator package, which for us is nonexistent.
 // XXX(darin): perhaps all.js should not be seamonkey specific
 pref("general.useragent.locale", "@AB_CD@");
 pref("font.language.group", "chrome://global/locale/intl.properties");
 pref("intl.accept_languages", "chrome://global/locale/intl.properties");
 pref("intl.charsetmenu.browser.static", "chrome://global/locale/intl.properties");
 pref("intl.charsetmenu.browser.more1",  "chrome://global/locale/intl.properties");
 pref("intl.charsetmenu.browser.more2",  "chrome://global/locale/intl.properties");
 pref("intl.charsetmenu.browser.more3",  "chrome://global/locale/intl.properties");