Summary

Harness status: OK

Found 17 tests

Details

ResultTest NameMessage
PassForms should not have an item method
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:102:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:103:3)
PassForms should not have a namedItem method
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:108:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:109:3)
PassName for a single element should work
Asserts run
Pass
assert_equals("button", "button")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:115:3)
Pass
assert_equals(Element node <input type="button" name="button"></input>, Element node <input type="button" name="button"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:116:3)
Pass
assert_equals(Element node <input type="button" name="button"></input>, Element node <input type="button" name="button"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:118:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:119:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:120:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:121:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:122:3)
PassCalling item() on the NodeList returned from the named getter should work
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:127:3)
Pass
assert_array_equals(["x", "y", "z"], ["x", "y", "z"])
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:128:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:131:3)
PassIndexed getter on the NodeList returned from the named getter should work
Asserts run
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:136:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:137:3)
Pass
assert_array_equals(["x", "y", "z"], ["x", "y", "z"])
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:138:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:141:3)
PassInvoking a legacycaller on the NodeList returned from the named getter should not work
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       form.radio(i)     }")
    at  /html/semantics/forms/the-form-element/form-nameditem.html:148:5
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       form.radio(i)     }")
    at  /html/semantics/forms/the-form-element/form-nameditem.html:148:5
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       form.radio(i)     }")
    at  /html/semantics/forms/the-form-element/form-nameditem.html:148:5
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       form.radio(i)     }")
    at  /html/semantics/forms/the-form-element/form-nameditem.html:148:5
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       form.radio(i)     }")
    at  /html/semantics/forms/the-form-element/form-nameditem.html:148:5
PassAll listed elements except input type=image should be present in the form
Asserts run
Pass
assert_equals(Element node <button name="l1"></button>, Element node <button name="l1"></button>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <fieldset name="l2"></fieldset>, Element node <fieldset name="l2"></fieldset>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="hidden" name="l3"></input>, Element node <input type="hidden" name="l3"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="text" name="l4"></input>, Element node <input type="text" name="l4"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="search" name="l5"></input>, Element node <input type="search" name="l5"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="tel" name="l6"></input>, Element node <input type="tel" name="l6"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="url" name="l7"></input>, Element node <input type="url" name="l7"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="email" name="l8"></input>, Element node <input type="email" name="l8"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="password" name="l9"></input>, Element node <input type="password" name="l9"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="datetime" name="l10"></input>, Element node <input type="datetime" name="l10"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="date" name="l11"></input>, Element node <input type="date" name="l11"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="month" name="l12"></input>, Element node <input type="month" name="l12"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="week" name="l13"></input>, Element node <input type="week" name="l13"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="time" name="l14"></input>, Element node <input type="time" name="l14"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="datetime-local" name="l15"></input>, Element node <input type="datetime-local" name="l15"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="number" name="l16"></input>, Element node <input type="number" name="l16"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="range" name="l17"></input>, Element node <input type="range" name="l17"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="color" name="l18"></input>, Element node <input type="color" name="l18"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="checkbox" name="l19"></input>, Element node <input type="checkbox" name="l19"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="radio" name="l20"></input>, Element node <input type="radio" name="l20"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="file" name="l21"></input>, Element node <input type="file" name="l21"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="submit" name="l22"></input>, Element node <input type="submit" name="l22"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:160:7)
Pass
assert_equals(Element node <input type="reset" name="l24"></input>, Element node <input type="reset" name="l24"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="button" name="l25"></input>, Element node <input type="button" name="l25"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input type="foo" name="l26"></input>, Element node <input type="foo" name="l26"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <input name="l27"></input>, Element node <input name="l27"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <object name="l28"></object>, Element node <object name="l28"></object>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <output name="l29"></output>, Element node <output name="l29"></output>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <select name="l30"></select>, Element node <select name="l30"></select>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
Pass
assert_equals(Element node <textarea name="l31"></textarea>, Element node <textarea name="l31"></textarea>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:162:7)
PassNamed elements should override builtins
Asserts run
Pass
assert_equals(Element node <input type="radio" name="addEventListener"></input>, Element node <input type="radio" name="addEventListener"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="removeEventListener"></input>, Element node <input type="radio" name="removeEventListener"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="dispatchEvent"></input>, Element node <input type="radio" name="dispatchEvent"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="nodeType"></input>, Element node <input type="radio" name="nodeType"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="nodeName"></input>, Element node <input type="radio" name="nodeName"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="ownerDocument"></input>, Element node <input type="radio" name="ownerDocument"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="namespaceURI"></input>, Element node <input type="radio" name="namespaceURI"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="prefix"></input>, Element node <input type="radio" name="prefix"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="localName"></input>, Element node <input type="radio" name="localName"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="title"></input>, Element node <input type="radio" name="title"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="lang"></input>, Element node <input type="radio" name="lang"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="dir"></input>, Element node <input type="radio" name="dir"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="acceptCharset"></input>, Element node <input type="radio" name="acceptCharset"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="action"></input>, Element node <input type="radio" name="action"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="autocomplete"></input>, Element node <input type="radio" name="autocomplete"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="enctype"></input>, Element node <input type="radio" name="enctype"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="encoding"></input>, Element node <input type="radio" name="encoding"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="method"></input>, Element node <input type="radio" name="method"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="name"></input>, Element node <input type="radio" name="name"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="noValidate"></input>, Element node <input type="radio" name="noValidate"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="target"></input>, Element node <input type="radio" name="target"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="elements"></input>, Element node <input type="radio" name="elements"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="length"></input>, Element node <input type="radio" name="length"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="submit"></input>, Element node <input type="radio" name="submit"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="reset"></input>, Element node <input type="radio" name="reset"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
Pass
assert_equals(Element node <input type="radio" name="checkValidity"></input>, Element node <input type="radio" name="checkValidity"></input>)
    at  /html/semantics/forms/the-form-element/form-nameditem.html:184:5
PassNamed items outside the form should not be returned (no children)
Asserts run
Pass
assert_equals(undefined, undefined, "x should not be associated with the form")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:190:3)
Pass
assert_equals(undefined, undefined, "y should not be associated with the form")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:191:3)
Pass
assert_equals(undefined, undefined, "z should not be associated with the form")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:192:3)
Pass
assert_equals(undefined, undefined, "The form should not have supported property indices")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:193:3)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:194:3)
PassNamed items outside the form should not be returned (one child)
Asserts run
Pass
assert_equals(undefined, undefined, "x should not be associated with the form")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:199:3)
Pass
assert_equals(undefined, undefined, "y should not be associated with the form")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:200:3)
Pass
assert_equals(undefined, undefined, "z should not be associated with the form")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:201:3)
Pass
assert_equals(undefined, undefined, "The form should not have supported property indices")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:202:3)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:203:3)
PassThe form attribute should be taken into account for named getters (single element)
Asserts run
Pass
assert_equals("a", "a")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:208:3)
Pass
assert_equals("input", "input")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:211:3)
Pass
assert_equals("a", "a")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:212:3)
Pass
assert_equals(Element node <input form="a" name="b"></input>, Element node <input form="a" name="b"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:214:3)
PassThe form attribute should be taken into account for named getters (multiple elements)
Asserts run
Pass
assert_equals("c", "c")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:219:3)
Pass
assert_equals("input", "input")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:222:3)
Pass
assert_equals("c", "c")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:223:3)
Pass
assert_equals("input", "input")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:226:3)
Pass
assert_equals("c", "c")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:227:3)
Pass
assert_equals(object "[object RadioNodeList]", object "[object RadioNodeList]")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:230:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:231:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:232:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:233:3)
Pass
assert_true(true, "form.d should be a NodeList")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:235:3)
Pass
assert_array_equals(object "[object RadioNodeList]", [Element node <input form="c" name="d"></input>, Element node <input form="c" name="d"></input>])
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:236:3)
PassInput should only be a named property on the innermost form that contains it
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:246:3)
Pass
assert_equals(Element node <input name="x"></input>, Element node <input name="x"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:247:3)
FailTrying to set an expando that would shadow an already-existing named propertyassert_throws_js: function "function() { "use strict"; delete form["l1"]; }" did not throw
    at Test.<anonymous> (https://wpt.live/html/semantics/forms/the-form-element/form-nameditem.html:272:3)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/forms/the-form-element/form-nameditem.html:250:1
Asserts run
Pass
assert_equals(Element node <button name="l1"></button>, Element node <button name="l1"></button>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:254:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:255:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:256:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:257:3)
Pass
assert_equals(Element node <button name="l1"></button>, Element node <button name="l1"></button>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:260:3)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     "use strict";     form["l1"] = 5;   }")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:261:3)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     Object.defineProperty(form, "l1", { value: 5 });   }")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:265:3)
Pass
assert_equals(Element node <button name="l1"></button>, Element node <button name="l1"></button>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:270:3)
Fail
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     "use strict";     delete form["l1"];   }")
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:272:3)
FailTrying to set an expando that shadows a named property that gets added laterassert_equals: expected (number) 5 but got (object) Element node <input name="new-name"></input>
    at Test.<anonymous> (https://wpt.live/html/semantics/forms/the-form-element/form-nameditem.html:295:3)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/forms/the-form-element/form-nameditem.html:280:1
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:284:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:285:3)
Pass
assert_equals(5, 5)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:288:3)
Fail
assert_equals(Element node <input name="new-name"></input>, 5)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:295:3)
FailTrying to set a non-configurable expando that shadows a named property that gets added laterassert_equals: expected (number) 5 but got (object) Element node <input name="new-name2"></input>
    at Test.<anonymous> (https://wpt.live/html/semantics/forms/the-form-element/form-nameditem.html:317:3)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/html/semantics/forms/the-form-element/form-nameditem.html:301:1
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:305:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:306:3)
Pass
assert_equals(5, 5)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:310:3)
Fail
assert_equals(Element node <input name="new-name2"></input>, 5)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:317:3)
PassPast names map should work correctly
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:336:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:337:3)
Pass
assert_equals(Element node <input name="past-name1" id="past-id1"></input>, Element node <input name="past-name1" id="past-id1"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:339:3)
Pass
assert_equals(Element node <input name="past-name1" id="past-id1"></input>, Element node <input name="past-name1" id="past-id1"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:340:3)
Pass
assert_equals(Element node <input name="twiddled-name1" id="twiddled-id1"></input>, Element node <input name="twiddled-name1" id="twiddled-id1"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:344:3)
Pass
assert_equals(Element node <input name="twiddled-name1" id="twiddled-id1"></input>, Element node <input name="twiddled-name1" id="twiddled-id1"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:345:3)
Pass
assert_equals(Element node <input name="twiddled-name1" id="twiddled-id1"></input>, Element node <input name="twiddled-name1" id="twiddled-id1"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:346:3)
Pass
assert_equals(Element node <input name="twiddled-name1" id="twiddled-id1"></input>, Element node <input name="twiddled-name1" id="twiddled-id1"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:347:3)
Pass
assert_equals(Element node <input name="twiddled-name2" id="twiddled-id2"></input>, Element node <input name="twiddled-name2" id="twiddled-id2"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:351:3)
Pass
assert_equals(Element node <input name="twiddled-name2" id="twiddled-id2"></input>, Element node <input name="twiddled-name2" id="twiddled-id2"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:352:3)
Pass
assert_equals(Element node <input name="twiddled-name2" id="twiddled-id2"></input>, Element node <input name="twiddled-name2" id="twiddled-id2"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:353:3)
Pass
assert_equals(Element node <input name="twiddled-name2" id="twiddled-id2"></input>, Element node <input name="twiddled-name2" id="twiddled-id2"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:354:3)
Pass
assert_equals(Element node <input name="twiddled-name2" id="twiddled-id2"></input>, Element node <input name="twiddled-name2" id="twiddled-id2"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:355:3)
Pass
assert_equals(Element node <input name="twiddled-name2" id="twiddled-id2"></input>, Element node <input name="twiddled-name2" id="twiddled-id2"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:356:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:360:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:361:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:362:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:363:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:364:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:365:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:368:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:369:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:370:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:371:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:372:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:373:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:379:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:380:3)
Pass
assert_equals(Element node <input name="past-name2" id="past-id2"></input>, Element node <input name="past-name2" id="past-id2"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:382:3)
Pass
assert_equals(Element node <input name="past-name2" id="past-id2"></input>, Element node <input name="past-name2" id="past-id2"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:383:3)
Pass
assert_equals(Element node <input name="twiddled-name3" id="twiddled-id3"></input>, Element node <input name="twiddled-name3" id="twiddled-id3"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:387:3)
Pass
assert_equals(Element node <input name="twiddled-name3" id="twiddled-id3"></input>, Element node <input name="twiddled-name3" id="twiddled-id3"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:388:3)
Pass
assert_equals(Element node <input name="twiddled-name3" id="twiddled-id3"></input>, Element node <input name="twiddled-name3" id="twiddled-id3"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:389:3)
Pass
assert_equals(Element node <input name="twiddled-name3" id="twiddled-id3"></input>, Element node <input name="twiddled-name3" id="twiddled-id3"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:390:3)
Pass
assert_equals(Element node <input name="twiddled-name4" id="twiddled-id4"></input>, Element node <input name="twiddled-name4" id="twiddled-id4"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:394:3)
Pass
assert_equals(Element node <input name="twiddled-name4" id="twiddled-id4"></input>, Element node <input name="twiddled-name4" id="twiddled-id4"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:395:3)
Pass
assert_equals(Element node <input name="twiddled-name4" id="twiddled-id4"></input>, Element node <input name="twiddled-name4" id="twiddled-id4"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:396:3)
Pass
assert_equals(Element node <input name="twiddled-name4" id="twiddled-id4"></input>, Element node <input name="twiddled-name4" id="twiddled-id4"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:397:3)
Pass
assert_equals(Element node <input name="twiddled-name4" id="twiddled-id4"></input>, Element node <input name="twiddled-name4" id="twiddled-id4"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:398:3)
Pass
assert_equals(Element node <input name="twiddled-name4" id="twiddled-id4"></input>, Element node <input name="twiddled-name4" id="twiddled-id4"></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:399:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:403:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:404:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:405:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:406:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:407:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:408:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:411:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:412:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:413:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:414:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:415:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/semantics/forms/the-form-element/form-nameditem.html:416:3)