1 This test reports the value that document.all returns for various null-like arguments.
3 Written for http://bugs.webkit.org/show_bug.cgi?id=13106.
5 document.all[0]: [object HTMLHtmlElement]
6 document.all(0): [object HTMLHtmlElement]
7 document.all.item(0): [object HTMLHtmlElement]
9 document.all[""]: undefined
10 document.all(""): undefined
11 document.all.item(""): undefined
13 document.all["0"]: [object HTMLHtmlElement]
14 document.all("0"): [object HTMLHtmlElement]
15 document.all.item("0"): [object HTMLHtmlElement]
17 document.all[undefined]: undefined
18 document.all(undefined): undefined
19 document.all.item(undefined): undefined
21 document.all[null]: undefined
22 document.all(null): undefined
23 document.all.item(null): undefined