| OLD | NEW |
| 1 CONSOLE MESSAGE: line 9: test1,test2 | 1 CONSOLE MESSAGE: line 9: test1,test2 |
| 2 CONSOLE MESSAGE: line 10: [object NodeList] | 2 CONSOLE MESSAGE: line 10: [object NodeList] |
| 3 CONSOLE MESSAGE: line 11: [object XPathResult] | 3 CONSOLE MESSAGE: line 11: [object XPathResult] |
| 4 CONSOLE MESSAGE: line 21: [object Object] | 4 CONSOLE MESSAGE: line 21: [object Object] |
| 5 CONSOLE MESSAGE: line 24: function () {} |
| 5 Tests that console logging dumps proper messages. | 6 Tests that console logging dumps proper messages. |
| 6 | 7 |
| 7 Array[2] | 8 Array[2] |
| 8 0: "test1" | 9 0: "test1" |
| 9 1: "test2" | 10 1: "test2" |
| 10 length: 2 | 11 length: 2 |
| 11 __proto__: Array[0] console-dir.html:9 | 12 __proto__: Array[0] console-dir.html:9 |
| 12 NodeList[1] | 13 NodeList[1] |
| 13 0: html | 14 0: html |
| 14 length: 1 | 15 length: 1 |
| 15 __proto__: NodeList console-dir.html:10 | 16 __proto__: NodeList console-dir.html:10 |
| 16 XPathResult | 17 XPathResult |
| 17 booleanValue: [Exception: TypeError] | 18 booleanValue: [Exception: TypeError] |
| 18 invalidIteratorState: false | 19 invalidIteratorState: false |
| 19 numberValue: [Exception: TypeError] | 20 numberValue: [Exception: TypeError] |
| 20 resultType: 4 | 21 resultType: 4 |
| 21 singleNodeValue: [Exception: TypeError] | 22 singleNodeValue: [Exception: TypeError] |
| 22 snapshotLength: [Exception: TypeError] | 23 snapshotLength: [Exception: TypeError] |
| 23 stringValue: [Exception: TypeError] | 24 stringValue: [Exception: TypeError] |
| 24 __proto__: XPathResult console-dir.html:11 | 25 __proto__: XPathResult console-dir.html:11 |
| 25 Object | 26 Object |
| 26 "": "" | 27 "": "" |
| 27 " ": " " | 28 " ": " " |
| 28 " a b ": " a b " | 29 " a b ": " a b " |
| 29 $foo5_: 0 | 30 $foo5_: 0 |
| 30 "a↵↵b↵c": "a↵↵b↵c" | 31 "a↵↵b↵c": "a↵↵b↵c" |
| 31 c d: "c d" | 32 c d: "c d" |
| 32 negZero: -0 | 33 negZero: -0 |
| 33 __proto__: Object console-dir.html:21 | 34 __proto__: Object console-dir.html:21 |
| 35 function () {} |
| 36 arguments: null |
| 37 caller: null |
| 38 length: 0 |
| 39 name: "" |
| 40 prototype: Object |
| 41 __proto__: function Empty() {} |
| 42 <function scope> console-dir.html:24 |
| 34 | 43 |
| OLD | NEW |