Fixes issue #1824; reserves "getClass" which has a global meaning in Firefox.

Found by: mmastrac


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1500 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/js/ast/JsRootScope.java b/dev/core/src/com/google/gwt/dev/js/ast/JsRootScope.java
index 99fddf0..20f52d0 100644
--- a/dev/core/src/com/google/gwt/dev/js/ast/JsRootScope.java
+++ b/dev/core/src/com/google/gwt/dev/js/ast/JsRootScope.java
@@ -42,13 +42,12 @@
   }
 
   private void ctorAddKnownGlobalSymbols() {
-    // HACK: debugger is modelled as an ident even though it's really a keyword
     String[] commonBuiltins = new String[] {
         "ActiveXObject", "Array", "Boolean", "Date", "Debug", "Enumerator",
         "Error", "Function", "Global", "Image", "Math", "Number", "Object",
         "RegExp", "String", "VBArray", "window", "document", "event",
         "arguments", "call", "toString", "$wnd", "$doc", "$moduleName",
-        "$moduleBase", "debugger", "undefined"};
+        "$moduleBase", "undefined", "getClass"};
 
     for (int i = 0; i < commonBuiltins.length; i++) {
       String ident = commonBuiltins[i];
diff --git a/dev/core/src/com/google/gwt/dev/js/ast/JsScope.java b/dev/core/src/com/google/gwt/dev/js/ast/JsScope.java
index 4d2a66a..67c94ef 100644
--- a/dev/core/src/com/google/gwt/dev/js/ast/JsScope.java
+++ b/dev/core/src/com/google/gwt/dev/js/ast/JsScope.java
@@ -46,7 +46,7 @@
  * {@link com.google.gwt.dev.js.ast.JsProgram#getGlobalScope()}), but
  * parentless scopes are useful for managing names that are always accessed with
  * a qualifier and could therefore never be confused with the global scope
- * heirarchy.
+ * hierarchy.
  */
 public class JsScope {