blob: 62f4eab19f6aba14632fcd3ddeaf4d98a46f3a50 [file] [log] [blame]
aboya@igalia.comc51641d2019-05-22 17:25:25 +00001Checks that get_by_pname doesn't get confused about which properties go where when it comes to stacic properties.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6PASS a["foo"] is 1
7PASS a["bar"] is 2
8PASS a["wibble"] is 3
9PASS a["hick"] is 4
10PASS a["hock"] is 5
11PASS a["snood"] is 6
12PASS a["adcampaignid"] is
13PASS a["addestination"] is
14PASS a["charset"] is
15PASS a["coords"] is
16PASS a["download"] is
17PASS a["hreflang"] is
18PASS a["name"] is
19PASS a["ping"] is
20PASS a["rel"] is
21PASS a["rev"] is
22PASS a["shape"] is
23PASS a["target"] is
24PASS a["type"] is
25PASS a["text"] is nerget
26PASS a["relList"] is
27PASS a["origin"] is file://
28PASS a["protocol"] is file:
29PASS a["username"] is
30PASS a["password"] is
31PASS a["host"] is
32PASS a["hostname"] is
33PASS a["port"] is
34PASS a["search"] is
35PASS a["hash"] is
36PASS a["title"] is
37PASS a["lang"] is
38PASS a["translate"] is true
39PASS a["dir"] is
40PASS a["dataset"] is [object DOMStringMap]
41PASS a["hidden"] is false
42PASS a["tabIndex"] is 0
43PASS a["accessKey"] is
44PASS a["draggable"] is true
45PASS a["spellcheck"] is true
46PASS a["innerText"] is nerget
47PASS a["contentEditable"] is inherit
48PASS a["isContentEditable"] is false
49PASS a["offsetParent"] is [object HTMLBodyElement]
50PASS a["offsetTop"] is 744
51PASS a["offsetLeft"] is 8
52PASS a["offsetWidth"] is 39
53PASS a["offsetHeight"] is 17
54PASS a["outerText"] is nerget
55PASS a["webkitdropzone"] is
56PASS a["inputMode"] is
57PASS a["style"] is [object CSSStyleDeclaration]
58PASS a["onabort"] is null
59PASS a["onblur"] is null
60PASS a["oncanplay"] is null
61PASS a["oncanplaythrough"] is null
62PASS a["onchange"] is null
63PASS a["onclick"] is null
64PASS a["oncontextmenu"] is null
65PASS a["oncuechange"] is null
66PASS a["ondblclick"] is null
67PASS a["ondrag"] is null
68PASS a["ondragend"] is null
69PASS a["ondragenter"] is null
70PASS a["ondragleave"] is null
71PASS a["ondragover"] is null
72PASS a["ondragstart"] is null
73PASS a["ondrop"] is null
74PASS a["ondurationchange"] is null
75PASS a["onemptied"] is null
76PASS a["onended"] is null
77PASS a["onerror"] is null
78PASS a["onfocus"] is null
79PASS a["oninput"] is null
80PASS a["oninvalid"] is null
81PASS a["onkeydown"] is null
82PASS a["onkeypress"] is null
83PASS a["onkeyup"] is null
84PASS a["onload"] is null
85PASS a["onloadeddata"] is null
86PASS a["onloadedmetadata"] is null
87PASS a["onloadstart"] is null
88PASS a["onmousedown"] is null
89PASS a["onmouseenter"] is null
90PASS a["onmouseleave"] is null
91PASS a["onmousemove"] is null
92PASS a["onmouseout"] is null
93PASS a["onmouseover"] is null
94PASS a["onmouseup"] is null
95PASS a["onmousewheel"] is null
96PASS a["onpause"] is null
97PASS a["onplay"] is null
98PASS a["onplaying"] is null
99PASS a["onprogress"] is null
100PASS a["onratechange"] is null
101PASS a["onrejectionhandled"] is null
102PASS a["onreset"] is null
103PASS a["onresize"] is null
104PASS a["onscroll"] is null
105PASS a["onseeked"] is null
106PASS a["onseeking"] is null
107PASS a["onselect"] is null
108PASS a["onstalled"] is null
109PASS a["onsubmit"] is null
110PASS a["onsuspend"] is null
111PASS a["ontimeupdate"] is null
112PASS a["ontoggle"] is null
113PASS a["onunhandledrejection"] is null
114PASS a["onvolumechange"] is null
115PASS a["onwaiting"] is null
116PASS a["ontransitionend"] is null
117PASS a["ontransitionrun"] is null
118PASS a["ontransitionstart"] is null
119PASS a["ontransitioncancel"] is null
120PASS a["onanimationend"] is null
121PASS a["onanimationiteration"] is null
122PASS a["onanimationstart"] is null
123PASS a["onanimationcancel"] is null
124PASS a["ongotpointercapture"] is null
125PASS a["onlostpointercapture"] is null
126PASS a["onpointerdown"] is null
127PASS a["onpointermove"] is null
128PASS a["onpointerup"] is null
129PASS a["onpointercancel"] is null
130PASS a["onpointerover"] is null
131PASS a["onpointerout"] is null
132PASS a["onpointerenter"] is null
133PASS a["onpointerleave"] is null
134PASS a["namespaceURI"] is http://www.w3.org/1999/xhtml
135PASS a["prefix"] is null
136PASS a["localName"] is a
137PASS a["tagName"] is A
138PASS a["id"] is foo
139PASS a["className"] is
140PASS a["classList"] is
141PASS a["slot"] is
142PASS a["attributes"] is [object NamedNodeMap]
143PASS a["shadowRoot"] is null
144PASS a["scrollTop"] is 0
145PASS a["scrollLeft"] is 0
146PASS a["scrollWidth"] is 0
147PASS a["scrollHeight"] is 0
148PASS a["clientTop"] is 0
149PASS a["clientLeft"] is 0
150PASS a["clientWidth"] is 0
151PASS a["clientHeight"] is 0
152PASS a["innerHTML"] is nerget
153PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a>
154PASS a["oncopy"] is null
155PASS a["oncut"] is null
156PASS a["onpaste"] is null
157PASS a["previousElementSibling"] is [object HTMLDivElement]
158PASS a["nextElementSibling"] is [object HTMLScriptElement]
159PASS a["children"] is [object HTMLCollection]
160PASS a["firstElementChild"] is null
161PASS a["lastElementChild"] is null
162PASS a["childElementCount"] is 0
163PASS a["assignedSlot"] is null
164PASS a["nodeType"] is 1
165PASS a["nodeName"] is A
166PASS a["isConnected"] is true
167PASS a["ownerDocument"] is [object HTMLDocument]
168PASS a["parentNode"] is [object HTMLBodyElement]
169PASS a["parentElement"] is [object HTMLBodyElement]
170PASS a["childNodes"] is [object NodeList]
171PASS a["firstChild"] is [object Text]
172PASS a["lastChild"] is [object Text]
173PASS a["previousSibling"] is [object Text]
174PASS a["nextSibling"] is [object Text]
175PASS a["nodeValue"] is null
176PASS a["textContent"] is nerget
177PASS a["ELEMENT_NODE"] is 1
178PASS a["ATTRIBUTE_NODE"] is 2
179PASS a["TEXT_NODE"] is 3
180PASS a["CDATA_SECTION_NODE"] is 4
181PASS a["ENTITY_REFERENCE_NODE"] is 5
182PASS a["ENTITY_NODE"] is 6
183PASS a["PROCESSING_INSTRUCTION_NODE"] is 7
184PASS a["COMMENT_NODE"] is 8
185PASS a["DOCUMENT_NODE"] is 9
186PASS a["DOCUMENT_TYPE_NODE"] is 10
187PASS a["DOCUMENT_FRAGMENT_NODE"] is 11
188PASS a["NOTATION_NODE"] is 12
189PASS a["DOCUMENT_POSITION_DISCONNECTED"] is 1
190PASS a["DOCUMENT_POSITION_PRECEDING"] is 2
191PASS a["DOCUMENT_POSITION_FOLLOWING"] is 4
192PASS a["DOCUMENT_POSITION_CONTAINS"] is 8
193PASS a["DOCUMENT_POSITION_CONTAINED_BY"] is 16
194PASS a["DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC"] is 32
195PASS successfullyParsed is true
196
197TEST COMPLETE
198nerget