4 <input name=
"radios" type=
"radio">
5 <input name=
"radios" type=
"radio">
7 <script src=
"../../../resources/js-test.js"></script>
11 ChildNodeListType
: 'document.body.childNodes',
12 ClassNodeListType
: 'document.getElementsByClassName("class")',
13 NameNodeListType
: 'document.getElementsByName("name")',
14 TagNodeListType
: 'document.getElementsByTagName("body")',
15 RadioNodeListType
: 'document.querySelector("form").elements["radios"]',
16 LabelsNodeListType
: 'document.querySelector("input").labels',
20 for (var kind
in nodeListKind
) {
21 var code
= nodeListKind
[kind
];
22 eval(code
).customProperty
= i
;
24 shouldBe(code
+ '.customProperty', '' + i
++);