Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / dom-constructors-expected.txt
1 This test checks that all but a handful of dom constructors throw exceptions, and the rest return reasonable objects. It also tests that those constructors have higher precedence than a document element with the same ID or name.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS TryAllocate('Attr') is 'exception'
7 PASS TryAllocate('CharacterData') is 'exception'
8 PASS TryAllocate('CDATASection') is 'exception'
9 PASS TryAllocate('Document') is 'exception'
10 PASS TryAllocate('DocumentType') is 'exception'
11 PASS TryAllocate('Element') is 'exception'
12 PASS TryAllocate('EventTarget') is 'exception'
13 PASS TryAllocate('HTMLDocument') is 'exception'
14 PASS TryAllocate('Node') is 'exception'
15 PASS TryAllocate('ProcessingInstruction') is 'exception'
16 PASS TryAllocate('HTMLAllCollection') is 'exception'
17 PASS TryAllocate('HTMLAnchorElement') is 'exception'
18 PASS TryAllocate('HTMLAppletElement') is 'exception'
19 PASS TryAllocate('HTMLAreaElement') is 'exception'
20 PASS TryAllocate('HTMLBaseElement') is 'exception'
21 PASS TryAllocate('HTMLBodyElement') is 'exception'
22 PASS TryAllocate('HTMLBRElement') is 'exception'
23 PASS TryAllocate('HTMLButtonElement') is 'exception'
24 PASS TryAllocate('HTMLCanvasElement') is 'exception'
25 PASS TryAllocate('HTMLDirectoryElement') is 'exception'
26 PASS TryAllocate('HTMLDivElement') is 'exception'
27 PASS TryAllocate('HTMLDListElement') is 'exception'
28 PASS TryAllocate('HTMLEmbedElement') is 'exception'
29 PASS TryAllocate('HTMLFieldSetElement') is 'exception'
30 PASS TryAllocate('HTMLFontElement') is 'exception'
31 PASS TryAllocate('HTMLFormElement') is 'exception'
32 PASS TryAllocate('HTMLFrameElement') is 'exception'
33 PASS TryAllocate('HTMLFrameSetElement') is 'exception'
34 PASS TryAllocate('HTMLHeadingElement') is 'exception'
35 PASS TryAllocate('HTMLHeadElement') is 'exception'
36 PASS TryAllocate('HTMLHRElement') is 'exception'
37 PASS TryAllocate('HTMLHtmlElement') is 'exception'
38 PASS TryAllocate('HTMLIFrameElement') is 'exception'
39 PASS TryAllocate('HTMLImageElement') is 'exception'
40 PASS TryAllocate('HTMLInputElement') is 'exception'
41 PASS TryAllocate('HTMLLabelElement') is 'exception'
42 PASS TryAllocate('HTMLLegendElement') is 'exception'
43 PASS TryAllocate('HTMLLIElement') is 'exception'
44 PASS TryAllocate('HTMLLinkElement') is 'exception'
45 PASS TryAllocate('HTMLMapElement') is 'exception'
46 PASS TryAllocate('HTMLMarqueeElement') is 'exception'
47 PASS TryAllocate('HTMLMenuElement') is 'exception'
48 PASS TryAllocate('HTMLMetaElement') is 'exception'
49 PASS TryAllocate('HTMLModElement') is 'exception'
50 PASS TryAllocate('HTMLObjectElement') is 'exception'
51 PASS TryAllocate('HTMLOListElement') is 'exception'
52 PASS TryAllocate('HTMLOptGroupElement') is 'exception'
53 PASS TryAllocate('HTMLOptionElement') is 'exception'
54 PASS TryAllocate('HTMLParagraphElement') is 'exception'
55 PASS TryAllocate('HTMLParamElement') is 'exception'
56 PASS TryAllocate('HTMLPreElement') is 'exception'
57 PASS TryAllocate('HTMLQuoteElement') is 'exception'
58 PASS TryAllocate('HTMLScriptElement') is 'exception'
59 PASS TryAllocate('HTMLSelectElement') is 'exception'
60 PASS TryAllocate('HTMLStyleElement') is 'exception'
61 PASS TryAllocate('HTMLTableCaptionElement') is 'exception'
62 PASS TryAllocate('HTMLTableColElement') is 'exception'
63 PASS TryAllocate('HTMLTableElement') is 'exception'
64 PASS TryAllocate('HTMLTableSectionElement') is 'exception'
65 PASS TryAllocate('HTMLTableCellElement') is 'exception'
66 PASS TryAllocate('HTMLTableRowElement') is 'exception'
67 PASS TryAllocate('HTMLTextAreaElement') is 'exception'
68 PASS TryAllocate('HTMLTitleElement') is 'exception'
69 PASS TryAllocate('HTMLUListElement') is 'exception'
70 PASS TryAllocate('HTMLElement') is 'exception'
71 PASS TryAllocate('CanvasRenderingContext2D') is 'exception'
72 PASS TryAllocate('Counter') is 'exception'
73 PASS TryAllocate('CSSCharsetRule') is 'exception'
74 PASS TryAllocate('CSSFontFaceRule') is 'exception'
75 PASS TryAllocate('CSSImportRule') is 'exception'
76 PASS TryAllocate('CSSMediaRule') is 'exception'
77 PASS TryAllocate('CSSPageRule') is 'exception'
78 PASS TryAllocate('CSSPrimitiveValue') is 'exception'
79 PASS TryAllocate('CSSRule') is 'exception'
80 PASS TryAllocate('CSSRuleList') is 'exception'
81 PASS TryAllocate('CSSStyleDeclaration') is 'exception'
82 PASS TryAllocate('CSSStyleRule') is 'exception'
83 PASS TryAllocate('CSSStyleSheet') is 'exception'
84 PASS TryAllocate('CSSValue') is 'exception'
85 PASS TryAllocate('CSSValueList') is 'exception'
86 PASS TryAllocate('DOMImplementation') is 'exception'
87 PASS TryAllocate('DataTransfer') is 'exception'
88 PASS TryAllocate('HTMLCollection') is 'exception'
89 PASS TryAllocate('MediaList') is 'exception'
90 PASS TryAllocate('MimeType') is 'exception'
91 PASS TryAllocate('MimeTypeArray') is 'exception'
92 PASS TryAllocate('MutationEvent') is 'exception'
93 PASS TryAllocate('NamedNodeMap') is 'exception'
94 PASS TryAllocate('NodeFilter') is 'exception'
95 PASS TryAllocate('NodeList') is 'exception'
96 PASS TryAllocate('Plugin') is 'exception'
97 PASS TryAllocate('PluginArray') is 'exception'
98 PASS TryAllocate('Rect') is 'exception'
99 PASS TryAllocate('StyleSheet') is 'exception'
100 PASS TryAllocate('StyleSheetList') is 'exception'
101 PASS TryAllocate('TextEvent') is 'exception'
102 PASS TryAllocate('XPathResult') is 'exception'
103 FAIL TryAllocate('BarInfo') should be exception. Was no constructor.
104 PASS TryAllocate('CanvasGradient') is 'exception'
105 PASS TryAllocate('CanvasPattern') is 'exception'
106 FAIL TryAllocate('Console') should be exception. Was no constructor.
107 PASS TryAllocate('Selection') is 'exception'
108 PASS TryAllocate('Window') is 'exception'
109 PASS TryAllocate('History') is 'exception'
110 PASS TryAllocate('HTMLOptionsCollection') is 'exception'
111 PASS TryAllocate('Location') is 'exception'
112 PASS TryAllocate('Navigator') is 'exception'
113 PASS TryAllocate('NodeIterator') is 'exception'
114 PASS TryAllocate('RGBColor') is 'exception'
115 PASS TryAllocate('Screen') is 'exception'
116 PASS TryAllocate('TreeWalker') is 'exception'
117 PASS TryAllocate('XPathExpression') is 'exception'
118 PASS TryAllocate('Worker') is 'exception'
119 PASS TryAllocate('EventTargetNode') is 'no constructor'
120 PASS TryAllocate('UndetectableHTMLCollection') is 'no constructor'
121 PASS TryAllocate('XPathNSResolver') is 'no constructor'
122 PASS TryAllocate('EventListener') is 'no constructor'
123 PASS TryAllocate('NPObject') is 'no constructor'
124 PASS TryAllocate('Comment') is '[object Comment]'
125 PASS TryAllocate('Comment') is '[object Comment]'
126 PASS TryAllocate('Comment') is '[object Comment]'
127 PASS TryAllocate('DOMParser') is '[object DOMParser]'
128 PASS TryAllocate('DOMParser') is '[object DOMParser]'
129 PASS TryAllocate('DOMParser') is '[object DOMParser]'
130 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]'
131 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]'
132 PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]'
133 PASS TryAllocate('Range') is '[object Range]'
134 PASS TryAllocate('Range') is '[object Range]'
135 PASS TryAllocate('Range') is '[object Range]'
136 PASS TryAllocate('Text') is '[object Text]'
137 PASS TryAllocate('Text') is '[object Text]'
138 PASS TryAllocate('Text') is '[object Text]'
139 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]'
140 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]'
141 PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]'
142 PASS TryAllocate('XMLSerializer') is '[object XMLSerializer]'
143 PASS TryAllocate('XMLSerializer') is '[object XMLSerializer]'
144 PASS TryAllocate('XMLSerializer') is '[object XMLSerializer]'
145 PASS TryAllocate('XPathEvaluator') is '[object XPathEvaluator]'
146 PASS TryAllocate('XPathEvaluator') is '[object XPathEvaluator]'
147 PASS TryAllocate('XPathEvaluator') is '[object XPathEvaluator]'
148 PASS TryAllocate('XSLTProcessor') is '[object XSLTProcessor]'
149 PASS TryAllocate('XSLTProcessor') is '[object XSLTProcessor]'
150 PASS TryAllocate('XSLTProcessor') is '[object XSLTProcessor]'
151 PASS TryAllocate('Audio') is '[object HTMLAudioElement]'
152 PASS TryAllocate('Audio') is '[object HTMLAudioElement]'
153 PASS TryAllocate('Audio') is '[object HTMLAudioElement]'
154 PASS TryAllocate('Option') is '[object HTMLOptionElement]'
155 PASS TryAllocate('Option') is '[object HTMLOptionElement]'
156 PASS TryAllocate('Option') is '[object HTMLOptionElement]'
157 PASS TryAllocate('Image') is '[object HTMLImageElement]'
158 PASS TryAllocate('Image') is '[object HTMLImageElement]'
159 PASS TryAllocate('Image') is '[object HTMLImageElement]'
160 PASS successfullyParsed is true
161
162 TEST COMPLETE
163