add ie9 globals to blacklist

Also, add doctype to globals.html

Change-Id: I316133d15a35c754f8899fa34b154c4818153cf3
diff --git a/dev/core/src/com/google/gwt/dev/js/JsProtectedNames.java b/dev/core/src/com/google/gwt/dev/js/JsProtectedNames.java
index 63c3694..8695ad3 100644
--- a/dev/core/src/com/google/gwt/dev/js/JsProtectedNames.java
+++ b/dev/core/src/com/google/gwt/dev/js/JsProtectedNames.java
@@ -83,6 +83,7 @@
     illegalNames.addAll(javaScriptKeywords);
     illegalNames.addAll(loadGlobals("chrome30"));
     illegalNames.addAll(loadGlobals("firefox25"));
+    illegalNames.addAll(loadGlobals("ie9"));
   }
 
   /**
diff --git a/dev/core/src/com/google/gwt/dev/js/globals/globals.html b/dev/core/src/com/google/gwt/dev/js/globals/globals.html
index d8f7b49..3ba5730 100644
--- a/dev/core/src/com/google/gwt/dev/js/globals/globals.html
+++ b/dev/core/src/com/google/gwt/dev/js/globals/globals.html
@@ -1,3 +1,4 @@
+<!doctype html>
 <html>
 <head>
   <title>Globals defined by your browser</title>
diff --git a/dev/core/src/com/google/gwt/dev/js/globals/ie9.txt b/dev/core/src/com/google/gwt/dev/js/globals/ie9.txt
new file mode 100644
index 0000000..73ebea4
--- /dev/null
+++ b/dev/core/src/com/google/gwt/dev/js/globals/ie9.txt
@@ -0,0 +1,303 @@
+ActiveXObject
+Array
+Attr
+Audio
+BeforeUnloadEvent
+BookmarkCollection
+Boolean
+CDATASection
+CSSFontFaceRule
+CSSImportRule
+CSSMediaRule
+CSSNamespaceRule
+CSSPageRule
+CSSRule
+CSSRuleList
+CSSStyleDeclaration
+CSSStyleRule
+CSSStyleSheet
+CanvasGradient
+CanvasPattern
+CanvasPixelArray
+CanvasRenderingContext2D
+CharacterData
+ClientRect
+ClientRectList
+CollectGarbage
+Comment
+CompositionEvent
+ControlRangeCollection
+Coordinates
+CustomEvent
+DOMException
+DOMImplementation
+DOMParser
+DataTransfer
+Date
+Debug
+Document
+DocumentFragment
+DocumentType
+DragEvent
+Element
+Enumerator
+Error
+EvalError
+Event
+EventException
+FocusEvent
+Function
+Geolocation
+HTMLAnchorElement
+HTMLAppletElement
+HTMLAreaElement
+HTMLAreasCollection
+HTMLAudioElement
+HTMLBGSoundElement
+HTMLBRElement
+HTMLBaseElement
+HTMLBaseFontElement
+HTMLBlockElement
+HTMLBodyElement
+HTMLButtonElement
+HTMLCanvasElement
+HTMLCollection
+HTMLDDElement
+HTMLDListElement
+HTMLDTElement
+HTMLDirectoryElement
+HTMLDivElement
+HTMLElement
+HTMLEmbedElement
+HTMLFieldSetElement
+HTMLFontElement
+HTMLFormElement
+HTMLFrameElement
+HTMLFrameSetElement
+HTMLHRElement
+HTMLHeadElement
+HTMLHeadingElement
+HTMLHtmlElement
+HTMLIFrameElement
+HTMLImageElement
+HTMLInputElement
+HTMLIsIndexElement
+HTMLLIElement
+HTMLLabelElement
+HTMLLegendElement
+HTMLLinkElement
+HTMLMapElement
+HTMLMarqueeElement
+HTMLMediaElement
+HTMLMenuElement
+HTMLMetaElement
+HTMLModElement
+HTMLNextIdElement
+HTMLOListElement
+HTMLObjectElement
+HTMLOptGroupElement
+HTMLOptionElement
+HTMLParagraphElement
+HTMLParamElement
+HTMLPhraseElement
+HTMLPreElement
+HTMLQuoteElement
+HTMLScriptElement
+HTMLSelectElement
+HTMLSourceElement
+HTMLSpanElement
+HTMLStyleElement
+HTMLTableCaptionElement
+HTMLTableCellElement
+HTMLTableColElement
+HTMLTableDataCellElement
+HTMLTableElement
+HTMLTableHeaderCellElement
+HTMLTableRowElement
+HTMLTableSectionElement
+HTMLTextAreaElement
+HTMLTitleElement
+HTMLUListElement
+HTMLUnknownElement
+HTMLVideoElement
+History
+Image
+ImageData
+Infinity
+JSON
+KeyboardEvent
+Location
+MSBehaviorUrnsCollection
+MSCSSProperties
+MSCSSRuleList
+MSCompatibleInfo
+MSCompatibleInfoCollection
+MSCurrentStyleCSSProperties
+MSEventObj
+MSMimeTypesCollection
+MSNamespaceInfo
+MSNamespaceInfoCollection
+MSPluginsCollection
+MSPopupWindow
+MSSelection
+MSSiteModeEvent
+MSStyleCSSProperties
+Math
+MediaError
+MediaList
+MessageEvent
+MouseEvent
+MouseWheelEvent
+MutationEvent
+NaN
+NamedNodeMap
+Navigator
+Node
+NodeFilter
+NodeIterator
+NodeList
+Number
+Object
+Option
+Performance
+PerformanceNavigation
+PerformanceTiming
+Position
+PositionError
+ProcessingInstruction
+Range
+RangeError
+RangeException
+ReferenceError
+RegExp
+SVGAElement
+SVGAngle
+SVGAnimatedAngle
+SVGAnimatedBoolean
+SVGAnimatedEnumeration
+SVGAnimatedInteger
+SVGAnimatedLength
+SVGAnimatedLengthList
+SVGAnimatedNumber
+SVGAnimatedNumberList
+SVGAnimatedPreserveAspectRatio
+SVGAnimatedRect
+SVGAnimatedString
+SVGAnimatedTransformList
+SVGCircleElement
+SVGClipPathElement
+SVGDefsElement
+SVGDescElement
+SVGElement
+SVGElementInstance
+SVGElementInstanceList
+SVGEllipseElement
+SVGException
+SVGGElement
+SVGGradientElement
+SVGImageElement
+SVGLength
+SVGLengthList
+SVGLineElement
+SVGLinearGradientElement
+SVGMarkerElement
+SVGMaskElement
+SVGMatrix
+SVGMetadataElement
+SVGNumber
+SVGNumberList
+SVGPathElement
+SVGPathSeg
+SVGPathSegArcAbs
+SVGPathSegArcRel
+SVGPathSegClosePath
+SVGPathSegCurvetoCubicAbs
+SVGPathSegCurvetoCubicRel
+SVGPathSegCurvetoCubicSmoothAbs
+SVGPathSegCurvetoCubicSmoothRel
+SVGPathSegCurvetoQuadraticAbs
+SVGPathSegCurvetoQuadraticRel
+SVGPathSegCurvetoQuadraticSmoothAbs
+SVGPathSegCurvetoQuadraticSmoothRel
+SVGPathSegLinetoAbs
+SVGPathSegLinetoHorizontalAbs
+SVGPathSegLinetoHorizontalRel
+SVGPathSegLinetoRel
+SVGPathSegLinetoVerticalAbs
+SVGPathSegLinetoVerticalRel
+SVGPathSegList
+SVGPathSegMovetoAbs
+SVGPathSegMovetoRel
+SVGPatternElement
+SVGPoint
+SVGPointList
+SVGPolygonElement
+SVGPolylineElement
+SVGPreserveAspectRatio
+SVGRadialGradientElement
+SVGRect
+SVGRectElement
+SVGSVGElement
+SVGScriptElement
+SVGStopElement
+SVGStringList
+SVGStyleElement
+SVGSwitchElement
+SVGSymbolElement
+SVGTSpanElement
+SVGTextContentElement
+SVGTextElement
+SVGTextPathElement
+SVGTextPositioningElement
+SVGTitleElement
+SVGTransform
+SVGTransformList
+SVGUnitTypes
+SVGUseElement
+SVGViewElement
+SVGZoomAndPan
+SVGZoomEvent
+Screen
+ScriptEngine
+ScriptEngineBuildVersion
+ScriptEngineMajorVersion
+ScriptEngineMinorVersion
+Selection
+Storage
+StorageEvent
+String
+StyleMedia
+StyleSheet
+StyleSheetList
+StyleSheetPageList
+SyntaxError
+Text
+TextEvent
+TextMetrics
+TextRange
+TextRangeCollection
+TimeRanges
+TreeWalker
+TypeError
+UIEvent
+URIError
+VBArray
+WheelEvent
+Window
+XDomainRequest
+XMLHttpRequest
+XMLSerializer
+__IE_DEVTOOLBAR_CONSOLE_COMMAND_LINE
+console
+decodeURI
+decodeURIComponent
+encodeURI
+encodeURIComponent
+escape
+eval
+isFinite
+isNaN
+parseFloat
+parseInt
+undefined
+unescape
diff --git a/dev/core/test/com/google/gwt/dev/js/JsProtectedNamesTest.java b/dev/core/test/com/google/gwt/dev/js/JsProtectedNamesTest.java
index 6e73eee..046412a 100644
--- a/dev/core/test/com/google/gwt/dev/js/JsProtectedNamesTest.java
+++ b/dev/core/test/com/google/gwt/dev/js/JsProtectedNamesTest.java
@@ -30,6 +30,10 @@
     checkNotLegal("uneval");
   }
 
+  public void testIE9Symbol() throws Exception {
+    checkNotLegal("ActiveXObject");
+  }
+
   private void checkNotLegal(String global) {
     assertFalse(global + " shouldn't be legal", JsProtectedNames.isLegalName(global));
   }