Bug 742570 followup - fix typos. DONTBUILD.
authorJesse Ruderman <jruderman@gmail.com>
Wed, 17 Oct 2012 17:14:03 -0700
changeset 110755 4686dc4138ba97ce3e138c73b6c05bc541c3bd3b
parent 110754 3b0b4ccb241f77772938e5a96885eb28aca01201
child 110756 d9871b40e0f6d1192d5602fed7152d459cd052bf
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
bugs742570
milestone19.0a1
Bug 742570 followup - fix typos. DONTBUILD.
js/src/builtin/TestingFunctions.cpp
--- a/js/src/builtin/TestingFunctions.cpp
+++ b/js/src/builtin/TestingFunctions.cpp
@@ -162,18 +162,18 @@ GetBuildConfiguration(JSContext *cx, uns
 }
 
 static JSBool
 GC(JSContext *cx, unsigned argc, jsval *vp)
 {
     /*
      * If the first argument is 'compartment', we collect any compartments
      * previously scheduled for GC via schedulegc. If the first argument is an
-     * object, we collect the object's compartment (any any other compartments
-     * scheduled for GC). Otherwise, we collect call compartments.
+     * object, we collect the object's compartment (and any other compartments
+     * scheduled for GC). Otherwise, we collect all compartments.
      */
     JSBool compartment = false;
     if (argc == 1) {
         Value arg = vp[2];
         if (arg.isString()) {
             if (!JS_StringEqualsAscii(cx, arg.toString(), "compartment", &compartment))
                 return false;
         } else if (arg.isObject()) {