| Tests that console properly displays information about ES6 features. |
| |
| console-format-es6.js:15 Promise {<rejected>: -0} |
| console-format-es6.js:16 [Promise] |
| globals[0] |
| Promise {<rejected>: -0} |
| console-format-es6.js:15 Promise {<resolved>: 1} |
| console-format-es6.js:16 [Promise] |
| globals[1] |
| Promise {<resolved>: 1} |
| console-format-es6.js:15 Promise {<pending>} |
| console-format-es6.js:16 [Promise] |
| globals[2] |
| Promise {<pending>} |
| console-format-es6.js:15 Symbol() |
| console-format-es6.js:16 [Symbol()] |
| globals[3] |
| Symbol() |
| console-format-es6.js:15 Symbol(a) |
| console-format-es6.js:16 [Symbol(a)] |
| globals[4] |
| Symbol(a) |
| console-format-es6.js:15 {a: Symbol(), Symbol(a): 2} |
| console-format-es6.js:16 [{…}] |
| globals[5] |
| {a: Symbol(), Symbol(a): 2} |
| console-format-es6.js:15 Map(1) {{…} => {…}} |
| console-format-es6.js:16 [Map(1)] |
| globals[6] |
| Map(1) {{…} => {…}} |
| console-format-es6.js:15 WeakMap {{…} => {…}} |
| console-format-es6.js:16 [WeakMap] |
| globals[7] |
| WeakMap {{…} => {…}} |
| console-format-es6.js:15 Set(1) {{…}} |
| console-format-es6.js:16 [Set(1)] |
| globals[8] |
| Set(1) {{…}} |
| console-format-es6.js:15 WeakSet {{…}} |
| console-format-es6.js:16 [WeakSet] |
| globals[9] |
| WeakSet {{…}} |
| console-format-es6.js:15 Map(1) {Map(0) => WeakMap} |
| console-format-es6.js:16 [Map(1)] |
| globals[10] |
| Map(1) {Map(0) => WeakMap} |
| console-format-es6.js:15 Map(1) {Map(1) => WeakMap} |
| console-format-es6.js:16 [Map(1)] |
| globals[11] |
| Map(1) {Map(1) => WeakMap} |
| console-format-es6.js:15 Set(1) {WeakSet} |
| console-format-es6.js:16 [Set(1)] |
| globals[12] |
| Set(1) {WeakSet} |
| console-format-es6.js:15 Set(1) {WeakSet} |
| console-format-es6.js:16 [Set(1)] |
| globals[13] |
| Set(1) {WeakSet} |
| console-format-es6.js:15 Map(6) {" from str " => " to str ", undefined => undefined, null => null, 42 => 42, {…} => {…}, …} |
| console-format-es6.js:16 [Map(6)] |
| globals[14] |
| Map(6) {" from str " => " to str ", undefined => undefined, null => null, 42 => 42, {…} => {…}, …} |
| console-format-es6.js:15 genFunction {<suspended>} |
| console-format-es6.js:16 [genFunction] |
| globals[15] |
| genFunction {<suspended>} |
| Expanded all messages |
| console-format-es6.js:15 Promise {<rejected>: -0} |
| __proto__: Promise |
| [[PromiseStatus]]: "rejected" |
| [[PromiseValue]]: -0 |
| console-format-es6.js:16 [Promise] |
| 0: Promise {<rejected>: -0} |
| length: 1 |
| __proto__: Array(0) |
| globals[0] |
| Promise {<rejected>: -0} |
| __proto__: Promise |
| [[PromiseStatus]]: "rejected" |
| [[PromiseValue]]: -0 |
| console-format-es6.js:15 Promise {<resolved>: 1} |
| __proto__: Promise |
| [[PromiseStatus]]: "resolved" |
| [[PromiseValue]]: 1 |
| console-format-es6.js:16 [Promise] |
| 0: Promise {<resolved>: 1} |
| length: 1 |
| __proto__: Array(0) |
| globals[1] |
| Promise {<resolved>: 1} |
| __proto__: Promise |
| [[PromiseStatus]]: "resolved" |
| [[PromiseValue]]: 1 |
| console-format-es6.js:15 Promise {<pending>} |
| __proto__: Promise |
| [[PromiseStatus]]: "pending" |
| [[PromiseValue]]: undefined |
| console-format-es6.js:16 [Promise] |
| 0: Promise {<pending>} |
| length: 1 |
| __proto__: Array(0) |
| globals[2] |
| Promise {<pending>} |
| __proto__: Promise |
| [[PromiseStatus]]: "pending" |
| [[PromiseValue]]: undefined |
| console-format-es6.js:15 Symbol() |
| console-format-es6.js:16 [Symbol()] |
| 0: Symbol() |
| length: 1 |
| __proto__: Array(0) |
| globals[3] |
| Symbol() |
| console-format-es6.js:15 Symbol(a) |
| console-format-es6.js:16 [Symbol(a)] |
| 0: Symbol(a) |
| length: 1 |
| __proto__: Array(0) |
| globals[4] |
| Symbol(a) |
| console-format-es6.js:15 {a: Symbol(), Symbol(a): 2} |
| a: Symbol() |
| getter: (...) |
| Symbol(a): 2 |
| get getter: ƒ getter() |
| __proto__: Object |
| console-format-es6.js:16 [{…}] |
| 0: {a: Symbol(), Symbol(a): 2} |
| length: 1 |
| __proto__: Array(0) |
| globals[5] |
| {a: Symbol(), Symbol(a): 2} |
| a: Symbol() |
| getter: (...) |
| Symbol(a): 2 |
| get getter: ƒ getter() |
| __proto__: Object |
| console-format-es6.js:15 Map(1) {{…} => {…}} |
| size: (...) |
| __proto__: Map |
| [[Entries]]: Array(1) |
| 0: {Object => Object} |
| length: 1 |
| console-format-es6.js:16 [Map(1)] |
| 0: Map(1) {{…} => {…}} |
| length: 1 |
| __proto__: Array(0) |
| globals[6] |
| Map(1) {{…} => {…}} |
| size: (...) |
| __proto__: Map |
| [[Entries]]: Array(1) |
| 0: {Object => Object} |
| length: 1 |
| console-format-es6.js:15 WeakMap {{…} => {…}} |
| __proto__: WeakMap |
| [[Entries]]: Array(1) |
| 0: {Object => Object} |
| length: 1 |
| console-format-es6.js:16 [WeakMap] |
| 0: WeakMap {{…} => {…}} |
| length: 1 |
| __proto__: Array(0) |
| globals[7] |
| WeakMap {{…} => {…}} |
| __proto__: WeakMap |
| [[Entries]]: Array(1) |
| 0: {Object => Object} |
| length: 1 |
| console-format-es6.js:15 Set(1) {{…}} |
| size: (...) |
| __proto__: Set |
| [[Entries]]: Array(1) |
| 0: Object |
| length: 1 |
| console-format-es6.js:16 [Set(1)] |
| 0: Set(1) {{…}} |
| length: 1 |
| __proto__: Array(0) |
| globals[8] |
| Set(1) {{…}} |
| size: (...) |
| __proto__: Set |
| [[Entries]]: Array(1) |
| 0: Object |
| length: 1 |
| console-format-es6.js:15 WeakSet {{…}} |
| __proto__: WeakSet |
| [[Entries]]: Array(1) |
| 0: Object |
| length: 1 |
| console-format-es6.js:16 [WeakSet] |
| 0: WeakSet {{…}} |
| length: 1 |
| __proto__: Array(0) |
| globals[9] |
| WeakSet {{…}} |
| __proto__: WeakSet |
| [[Entries]]: Array(1) |
| 0: Object |
| length: 1 |
| console-format-es6.js:15 Map(1) {Map(0) => WeakMap} |
| size: (...) |
| __proto__: Map |
| [[Entries]]: Array(1) |
| 0: {Map(0) => WeakMap} |
| length: 1 |
| console-format-es6.js:16 [Map(1)] |
| 0: Map(1) {Map(0) => WeakMap} |
| length: 1 |
| __proto__: Array(0) |
| globals[10] |
| Map(1) {Map(0) => WeakMap} |
| size: (...) |
| __proto__: Map |
| [[Entries]]: Array(1) |
| 0: {Map(0) => WeakMap} |
| length: 1 |
| console-format-es6.js:15 Map(1) {Map(1) => WeakMap} |
| size: (...) |
| __proto__: Map |
| [[Entries]]: Array(1) |
| 0: {Map(1) => WeakMap} |
| length: 1 |
| console-format-es6.js:16 [Map(1)] |
| 0: Map(1) {Map(1) => WeakMap} |
| length: 1 |
| __proto__: Array(0) |
| globals[11] |
| Map(1) {Map(1) => WeakMap} |
| size: (...) |
| __proto__: Map |
| [[Entries]]: Array(1) |
| 0: {Map(1) => WeakMap} |
| length: 1 |
| console-format-es6.js:15 Set(1) {WeakSet} |
| size: (...) |
| __proto__: Set |
| [[Entries]]: Array(1) |
| 0: WeakSet |
| length: 1 |
| console-format-es6.js:16 [Set(1)] |
| 0: Set(1) {WeakSet} |
| length: 1 |
| __proto__: Array(0) |
| globals[12] |
| Set(1) {WeakSet} |
| size: (...) |
| __proto__: Set |
| [[Entries]]: Array(1) |
| 0: WeakSet |
| length: 1 |
| console-format-es6.js:15 Set(1) {WeakSet} |
| size: (...) |
| __proto__: Set |
| [[Entries]]: Array(1) |
| 0: WeakSet |
| length: 1 |
| console-format-es6.js:16 [Set(1)] |
| 0: Set(1) {WeakSet} |
| length: 1 |
| __proto__: Array(0) |
| globals[13] |
| Set(1) {WeakSet} |
| size: (...) |
| __proto__: Set |
| [[Entries]]: Array(1) |
| 0: WeakSet |
| length: 1 |
| console-format-es6.js:15 Map(6) {" from str " => " to str ", undefined => undefined, null => null, 42 => 42, {…} => {…}, …} |
| size: (...) |
| __proto__: Map |
| [[Entries]]: Array(6) |
| 0: {" from str " => " to str "} |
| 1: {undefined => undefined} |
| 2: {null => null} |
| 3: {42 => 42} |
| 4: {Object => Object} |
| 5: {Array(1) => Array(1)} |
| length: 6 |
| console-format-es6.js:16 [Map(6)] |
| 0: Map(6) {" from str " => " to str ", undefined => undefined, null => null, 42 => 42, {…} => {…}, …} |
| length: 1 |
| __proto__: Array(0) |
| globals[14] |
| Map(6) {" from str " => " to str ", undefined => undefined, null => null, 42 => 42, {…} => {…}, …} |
| size: (...) |
| __proto__: Map |
| [[Entries]]: Array(6) |
| 0: {" from str " => " to str "} |
| 1: {undefined => undefined} |
| 2: {null => null} |
| 3: {42 => 42} |
| 4: {Object => Object} |
| 5: {Array(1) => Array(1)} |
| length: 6 |
| console-format-es6.js:15 genFunction {<suspended>} |
| __proto__: Generator |
| [[GeneratorStatus]]: "suspended" |
| [[GeneratorFunction]]: ƒ* () |
| [[GeneratorReceiver]]: Window |
| [[GeneratorLocation]]: console-format-es6.js:62 |
| [[Scopes]]: Scopes[2] |
| console-format-es6.js:16 [genFunction] |
| 0: genFunction {<suspended>} |
| length: 1 |
| __proto__: Array(0) |
| globals[15] |
| genFunction {<suspended>} |
| __proto__: Generator |
| [[GeneratorStatus]]: "suspended" |
| [[GeneratorFunction]]: ƒ* () |
| [[GeneratorReceiver]]: Window |
| [[GeneratorLocation]]: console-format-es6.js:62 |
| [[Scopes]]: Scopes[2] |
| |