summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/NodeList/nodelist-item-call-as-function-expected.txt
blob: 96549e8a137df870bc24a31c3845deda49867014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
This tests that items in a NodeList can be retrieved directly by calling as a function with an integral index parameter, starting from 0.
It means NodeList[0] and NodeList(0) both work.

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


PASS nodeList[0] is nodeList(0)
PASS !nodeList[nodeList.length] is !nodeList(nodeList.length)
PASS successfullyParsed is true

TEST COMPLETE