summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dom/dom-constructors-expected.txt
blob: 00cdbc4f1f1b3af1bd5b9390c0af645c5f89955f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
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.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS TryAllocate('Attr') is 'exception'
PASS TryAllocate('CharacterData') is 'exception'
PASS TryAllocate('CDATASection') is 'exception'
PASS TryAllocate('Document') is 'exception'
PASS TryAllocate('DocumentType') is 'exception'
PASS TryAllocate('Element') is 'exception'
PASS TryAllocate('EventTarget') is 'exception'
PASS TryAllocate('HTMLDocument') is 'exception'
PASS TryAllocate('Node') is 'exception'
PASS TryAllocate('ProcessingInstruction') is 'exception'
PASS TryAllocate('HTMLAllCollection') is 'exception'
PASS TryAllocate('HTMLAnchorElement') is 'exception'
PASS TryAllocate('HTMLAreaElement') is 'exception'
PASS TryAllocate('HTMLBaseElement') is 'exception'
PASS TryAllocate('HTMLBodyElement') is 'exception'
PASS TryAllocate('HTMLBRElement') is 'exception'
PASS TryAllocate('HTMLButtonElement') is 'exception'
PASS TryAllocate('HTMLCanvasElement') is 'exception'
PASS TryAllocate('HTMLDirectoryElement') is 'exception'
PASS TryAllocate('HTMLDivElement') is 'exception'
PASS TryAllocate('HTMLDListElement') is 'exception'
PASS TryAllocate('HTMLEmbedElement') is 'exception'
PASS TryAllocate('HTMLFieldSetElement') is 'exception'
PASS TryAllocate('HTMLFontElement') is 'exception'
PASS TryAllocate('HTMLFormElement') is 'exception'
PASS TryAllocate('HTMLFrameElement') is 'exception'
PASS TryAllocate('HTMLFrameSetElement') is 'exception'
PASS TryAllocate('HTMLHeadingElement') is 'exception'
PASS TryAllocate('HTMLHeadElement') is 'exception'
PASS TryAllocate('HTMLHRElement') is 'exception'
PASS TryAllocate('HTMLHtmlElement') is 'exception'
PASS TryAllocate('HTMLIFrameElement') is 'exception'
PASS TryAllocate('HTMLImageElement') is 'exception'
PASS TryAllocate('HTMLInputElement') is 'exception'
PASS TryAllocate('HTMLLabelElement') is 'exception'
PASS TryAllocate('HTMLLegendElement') is 'exception'
PASS TryAllocate('HTMLLIElement') is 'exception'
PASS TryAllocate('HTMLLinkElement') is 'exception'
PASS TryAllocate('HTMLMapElement') is 'exception'
PASS TryAllocate('HTMLMarqueeElement') is 'exception'
PASS TryAllocate('HTMLMenuElement') is 'exception'
PASS TryAllocate('HTMLMetaElement') is 'exception'
PASS TryAllocate('HTMLModElement') is 'exception'
PASS TryAllocate('HTMLObjectElement') is 'exception'
PASS TryAllocate('HTMLOListElement') is 'exception'
PASS TryAllocate('HTMLOptGroupElement') is 'exception'
PASS TryAllocate('HTMLOptionElement') is 'exception'
PASS TryAllocate('HTMLParagraphElement') is 'exception'
PASS TryAllocate('HTMLParamElement') is 'exception'
PASS TryAllocate('HTMLPreElement') is 'exception'
PASS TryAllocate('HTMLQuoteElement') is 'exception'
PASS TryAllocate('HTMLScriptElement') is 'exception'
PASS TryAllocate('HTMLSelectElement') is 'exception'
PASS TryAllocate('HTMLStyleElement') is 'exception'
PASS TryAllocate('HTMLTableCaptionElement') is 'exception'
PASS TryAllocate('HTMLTableColElement') is 'exception'
PASS TryAllocate('HTMLTableElement') is 'exception'
PASS TryAllocate('HTMLTableSectionElement') is 'exception'
PASS TryAllocate('HTMLTableCellElement') is 'exception'
PASS TryAllocate('HTMLTableRowElement') is 'exception'
PASS TryAllocate('HTMLTextAreaElement') is 'exception'
PASS TryAllocate('HTMLTitleElement') is 'exception'
PASS TryAllocate('HTMLUListElement') is 'exception'
PASS TryAllocate('HTMLElement') is 'exception'
PASS TryAllocate('CanvasRenderingContext2D') is 'exception'
PASS TryAllocate('CSSFontFaceRule') is 'exception'
PASS TryAllocate('CSSImportRule') is 'exception'
PASS TryAllocate('CSSMediaRule') is 'exception'
PASS TryAllocate('CSSPageRule') is 'exception'
PASS TryAllocate('CSSRule') is 'exception'
PASS TryAllocate('CSSRuleList') is 'exception'
PASS TryAllocate('CSSStyleDeclaration') is 'exception'
PASS TryAllocate('CSSStyleRule') is 'exception'
PASS TryAllocate('CSSStyleSheet') is 'exception'
PASS TryAllocate('DOMImplementation') is 'exception'
PASS TryAllocate('DataTransfer') is 'exception'
PASS TryAllocate('HTMLCollection') is 'exception'
PASS TryAllocate('MediaList') is 'exception'
PASS TryAllocate('MimeType') is 'exception'
PASS TryAllocate('MimeTypeArray') is 'exception'
PASS TryAllocate('MutationEvent') is 'exception'
PASS TryAllocate('NamedNodeMap') is 'exception'
PASS TryAllocate('NodeFilter') is 'exception'
PASS TryAllocate('NodeList') is 'exception'
PASS TryAllocate('Plugin') is 'exception'
PASS TryAllocate('PluginArray') is 'exception'
PASS TryAllocate('StyleSheet') is 'exception'
PASS TryAllocate('StyleSheetList') is 'exception'
PASS TryAllocate('TextEvent') is 'exception'
PASS TryAllocate('XPathResult') is 'exception'
FAIL TryAllocate('BarInfo') should be exception. Was no constructor.
PASS TryAllocate('CanvasGradient') is 'exception'
PASS TryAllocate('CanvasPattern') is 'exception'
FAIL TryAllocate('Console') should be exception. Was no constructor.
PASS TryAllocate('Selection') is 'exception'
PASS TryAllocate('Window') is 'exception'
PASS TryAllocate('History') is 'exception'
PASS TryAllocate('HTMLOptionsCollection') is 'exception'
PASS TryAllocate('Location') is 'exception'
PASS TryAllocate('Navigator') is 'exception'
PASS TryAllocate('NodeIterator') is 'exception'
PASS TryAllocate('Screen') is 'exception'
PASS TryAllocate('TreeWalker') is 'exception'
PASS TryAllocate('XPathExpression') is 'exception'
PASS TryAllocate('Worker') is 'exception'
PASS TryAllocate('EventTargetNode') is 'no constructor'
PASS TryAllocate('UndetectableHTMLCollection') is 'no constructor'
PASS TryAllocate('XPathNSResolver') is 'no constructor'
PASS TryAllocate('EventListener') is 'no constructor'
PASS TryAllocate('NPObject') is 'no constructor'
PASS TryAllocate('Comment') is '[object Comment]'
PASS TryAllocate('Comment') is '[object Comment]'
PASS TryAllocate('Comment') is '[object Comment]'
PASS TryAllocate('DOMParser') is '[object DOMParser]'
PASS TryAllocate('DOMParser') is '[object DOMParser]'
PASS TryAllocate('DOMParser') is '[object DOMParser]'
PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]'
PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]'
PASS TryAllocate('DocumentFragment') is '[object DocumentFragment]'
PASS TryAllocate('Range') is '[object Range]'
PASS TryAllocate('Range') is '[object Range]'
PASS TryAllocate('Range') is '[object Range]'
PASS TryAllocate('Text') is '[object Text]'
PASS TryAllocate('Text') is '[object Text]'
PASS TryAllocate('Text') is '[object Text]'
PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]'
PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]'
PASS TryAllocate('XMLHttpRequest') is '[object XMLHttpRequest]'
PASS TryAllocate('XMLSerializer') is '[object XMLSerializer]'
PASS TryAllocate('XMLSerializer') is '[object XMLSerializer]'
PASS TryAllocate('XMLSerializer') is '[object XMLSerializer]'
PASS TryAllocate('XPathEvaluator') is '[object XPathEvaluator]'
PASS TryAllocate('XPathEvaluator') is '[object XPathEvaluator]'
PASS TryAllocate('XPathEvaluator') is '[object XPathEvaluator]'
PASS TryAllocate('XSLTProcessor') is '[object XSLTProcessor]'
PASS TryAllocate('XSLTProcessor') is '[object XSLTProcessor]'
PASS TryAllocate('XSLTProcessor') is '[object XSLTProcessor]'
PASS TryAllocate('Audio') is '[object HTMLAudioElement]'
PASS TryAllocate('Audio') is '[object HTMLAudioElement]'
PASS TryAllocate('Audio') is '[object HTMLAudioElement]'
PASS TryAllocate('Option') is '[object HTMLOptionElement]'
PASS TryAllocate('Option') is '[object HTMLOptionElement]'
PASS TryAllocate('Option') is '[object HTMLOptionElement]'
PASS TryAllocate('Image') is '[object HTMLImageElement]'
PASS TryAllocate('Image') is '[object HTMLImageElement]'
PASS TryAllocate('Image') is '[object HTMLImageElement]'
PASS successfullyParsed is true

TEST COMPLETE