| Tests that console logging dumps proper messages. |
| |
| console-dir.js:12 Array(2) |
| 0: "test1" |
| 1: "test2" |
| length: 2 |
| __proto__: Array(0) |
| console-dir.js:13 NodeList(1) |
| 0: html |
| length: 1 |
| __proto__: NodeList |
| console-dir.js:14 XPathResult |
| booleanValue: (...) |
| invalidIteratorState: false |
| numberValue: (...) |
| resultType: 4 |
| singleNodeValue: (...) |
| snapshotLength: (...) |
| stringValue: (...) |
| __proto__: XPathResult |
| console-dir.js:24 Object |
| "": "" |
| " ": " " |
| " a b ": " a b " |
| $foo5_: 0 |
| "a↵↵b↵c": "a\n\nb\nc" |
| c d: "c d" |
| negZero: -0 |
| __proto__: Object |
| console-dir.js:27 ƒ anonymous() |
| arguments: null |
| caller: null |
| length: 0 |
| name: "" |
| prototype: {constructor: ƒ} |
| __proto__: ƒ () |
| [[FunctionLocation]]: console-dir.js:27 |
| [[Scopes]]: Scopes[1] |
| console-dir.js:31 inner |
| __proto__: Object |
| console-dir.js:34 Object |
| No properties |
| console-dir.js:35 Object |
| foo: |
| No properties |
| __proto__: Object |
| console-dir.js:37 ƒ __proto__() |
| arguments: (...) |
| caller: (...) |
| length: 0 |
| name: "get __proto__" |
| __proto__: ƒ () |
| [[Scopes]]: Scopes[0] |
| console-dir.js:42 Uint8Array(400000000) |
| [0 … 99999999] |
| [100000000 … 199999999] |
| [200000000 … 299999999] |
| [300000000 … 399999999] |
| __proto__: TypedArray |
| console-dir.js:47 Event |
| bubbles: false |
| cancelBubble: false |
| cancelable: false |
| composed: false |
| currentTarget: null |
| defaultPrevented: false |
| eventPhase: 0 |
| isTrusted: false |
| path: [] |
| returnValue: true |
| srcElement: null |
| target: null |
| type: "" |
| timeStamp: 0 |
| __proto__: Event |
| |