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