blob: de11b49d3e8aacbb4cb24afec88da9edbe954e98 [file] [log] [blame]
Tests that console nicely formats HTML Collections, NodeLists and DOMTokenLists.
console-format-collections.js:33 HTMLCollection [select#sel, sel: select#sel]
console-format-collections.js:37 HTMLCollection [base]
console-format-collections.js:41 HTMLOptionsCollection(2) [option, option, selectedIndex: 0]
console-format-collections.js:45 HTMLAllCollection(11) [html, head, base, body, div.c1.c2.c3, form#f, select#sel, option, option, input, input, f: form#f, sel: select#sel, x: HTMLCollection(2)]
console-format-collections.js:49 HTMLFormControlsCollection(3) [select#sel, input, input, sel: select#sel, x: RadioNodeList(2)]
console-format-collections.js:53 RadioNodeList(2) [input, input, value: ""]
console-format-collections.js:59 (2) [1, Array(2)]
console-format-collections.js:62 NonArrayWithLength {keys: Array(0)}
console-format-collections.js:69 Arguments(2) [1, "2", callee: ƒ, Symbol(Symbol.iterator): ƒ]
console-format-collections.js:73 DOMTokenList(3) ["c1", "c2", "c3", value: "c1 c2 c3"]
console-format-collections.js:76 ArrayLike {length: 5}
console-format-collections.js:77 ArrayLike {length: 4294967295}
console-format-collections.js:79 ArrayLike {length: -5}
console-format-collections.js:80 ArrayLike {length: 5.6}
console-format-collections.js:81 ArrayLike {length: NaN}
console-format-collections.js:82 ArrayLike {length: Infinity}
console-format-collections.js:83 ArrayLike {length: -0}
console-format-collections.js:84 ArrayLike {length: 4294967296}
console-format-collections.js:33 HTMLCollection [select#sel, sel: select#sel]
console-format-collections.js:37 HTMLCollection [base]
console-format-collections.js:41 HTMLOptionsCollection(2) [option, option, selectedIndex: 0]
console-format-collections.js:45 HTMLAllCollection(11) [html, head, base, body, div.c1.c2.c3, form#f, select#sel, option, option, input, input, f: form#f, sel: select#sel, x: HTMLCollection(2)]
console-format-collections.js:49 HTMLFormControlsCollection(3) [select#sel, input, input, sel: select#sel, x: RadioNodeList(2)]
console-format-collections.js:53 RadioNodeList(2) [input, input, value: ""]
console-format-collections.js:59 (2) [1, Array(2)]
console-format-collections.js:62 NonArrayWithLength {keys: Array(0)}
console-format-collections.js:69 Arguments(2) [1, "2", callee: ƒ, Symbol(Symbol.iterator): ƒ]
console-format-collections.js:73 DOMTokenList(3) ["c1", "c2", "c3", value: "c1 c2 c3"]
console-format-collections.js:76 ArrayLike(5) [empty × 5]
console-format-collections.js:77 ArrayLike(4294967295) [empty × 4294967295]
console-format-collections.js:79 ArrayLike {length: -5}
console-format-collections.js:80 ArrayLike {length: 5.6}
console-format-collections.js:81 ArrayLike {length: NaN}
console-format-collections.js:82 ArrayLike {length: Infinity}
console-format-collections.js:83 ArrayLike {length: -0}
console-format-collections.js:84 ArrayLike {length: 4294967296}