Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/inspector/console/console-format-es6-2-expected.txt |
| diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-format-es6-2-expected.txt b/third_party/WebKit/LayoutTests/inspector/console/console-format-es6-2-expected.txt |
| index d81d15add0df25a24bfa7dd6de4fab184fcf485b..80d94b2271b865925ac72670fd6b69f54202be25 100644 |
| --- a/third_party/WebKit/LayoutTests/inspector/console/console-format-es6-2-expected.txt |
| +++ b/third_party/WebKit/LayoutTests/inspector/console/console-format-es6-2-expected.txt |
| @@ -24,10 +24,10 @@ console-format-es6-2.html:11 MapIterator {42, Object {foo: 2}} |
| console-format-es6-2.html:12 [MapIterator] |
| globals[1] |
| MapIterator {42, Object {foo: 2}} |
| -console-format-es6-2.html:11 MapIterator {[41, 42], [Object, Object]} |
| +console-format-es6-2.html:11 MapIterator {(2) [41, 42], (2) [Object, Object]} |
|
dgozman
2017/01/13 02:55:41
This looks strange, probably because we have a spa
luoe
2017/01/13 23:20:12
For this experiment, I propose this output:
MapIte
|
| console-format-es6-2.html:12 [MapIterator] |
| globals[2] |
| -MapIterator {[41, 42], [Object, Object]} |
| +MapIterator {(2) [41, 42], (2) [Object, Object]} |
| console-format-es6-2.html:11 SetIterator {41, Object {foo: 1}} |
| console-format-es6-2.html:12 [SetIterator] |
| globals[3] |
| @@ -36,10 +36,10 @@ console-format-es6-2.html:11 SetIterator {41, Object {foo: 1}} |
| console-format-es6-2.html:12 [SetIterator] |
| globals[4] |
| SetIterator {41, Object {foo: 1}} |
| -console-format-es6-2.html:11 SetIterator {[41, 41], [Object, Object]} |
| +console-format-es6-2.html:11 SetIterator {(2) [41, 41], (2) [Object, Object]} |
| console-format-es6-2.html:12 [SetIterator] |
| globals[5] |
| -SetIterator {[41, 41], [Object, Object]} |
| +SetIterator {(2) [41, 41], (2) [Object, Object]} |
| console-format-es6-2.html:11 MapIterator {Object {foo: 2}} |
| console-format-es6-2.html:12 [MapIterator] |
| globals[6] |
| @@ -55,11 +55,11 @@ console-format-es6-2.html:11 MapIterator |
| [[IteratorIndex]]: 0 |
| [[IteratorKind]]: "keys" |
| [[Entries]]: Array(2) |
| - 0: 41 |
| - 1: Object |
| + 0: 41 {value: 41} |
| + 1: Object {value: Object} |
| length: 2 |
| console-format-es6-2.html:12 Array(1) |
| - 0: MapIterator |
| + 0: MapIterator {41, Object {foo: 1}} |
| length: 1 |
| __proto__: Array(0) |
| globals[0] |
| @@ -69,8 +69,8 @@ MapIterator |
| [[IteratorIndex]]: 0 |
| [[IteratorKind]]: "keys" |
| [[Entries]]: Array(2) |
| - 0: 41 |
| - 1: Object |
| + 0: 41 {value: 41} |
| + 1: Object {value: Object} |
| length: 2 |
| console-format-es6-2.html:11 MapIterator |
| __proto__: Map Iterator |
| @@ -78,11 +78,11 @@ console-format-es6-2.html:11 MapIterator |
| [[IteratorIndex]]: 0 |
| [[IteratorKind]]: "values" |
| [[Entries]]: Array(2) |
| - 0: 42 |
| - 1: Object |
| + 0: 42 {value: 42} |
| + 1: Object {value: Object} |
| length: 2 |
| console-format-es6-2.html:12 Array(1) |
| - 0: MapIterator |
| + 0: MapIterator {42, Object {foo: 2}} |
| length: 1 |
| __proto__: Array(0) |
| globals[1] |
| @@ -92,8 +92,8 @@ MapIterator |
| [[IteratorIndex]]: 0 |
| [[IteratorKind]]: "values" |
| [[Entries]]: Array(2) |
| - 0: 42 |
| - 1: Object |
| + 0: 42 {value: 42} |
| + 1: Object {value: Object} |
| length: 2 |
| console-format-es6-2.html:11 MapIterator |
| __proto__: Map Iterator |
| @@ -101,11 +101,11 @@ console-format-es6-2.html:11 MapIterator |
| [[IteratorIndex]]: 0 |
| [[IteratorKind]]: "entries" |
| [[Entries]]: Array(2) |
| - 0: Array(2) |
| - 1: Array(2) |
| + 0: Array(2) {value: Array(2)} |
| + 1: Array(2) {value: Array(2)} |
| length: 2 |
| console-format-es6-2.html:12 Array(1) |
| - 0: MapIterator |
| + 0: MapIterator {(2) [41, 42], (2) [Object, Object]} |
| length: 1 |
| __proto__: Array(0) |
| globals[2] |
| @@ -115,8 +115,8 @@ MapIterator |
| [[IteratorIndex]]: 0 |
| [[IteratorKind]]: "entries" |
| [[Entries]]: Array(2) |
| - 0: Array(2) |
| - 1: Array(2) |
| + 0: Array(2) {value: Array(2)} |
| + 1: Array(2) {value: Array(2)} |
| length: 2 |
| console-format-es6-2.html:11 SetIterator |
| __proto__: Set Iterator |
| @@ -124,11 +124,11 @@ console-format-es6-2.html:11 SetIterator |
| [[IteratorIndex]]: 0 |
| [[IteratorKind]]: "values" |
| [[Entries]]: Array(2) |
| - 0: 41 |
| - 1: Object |
| + 0: 41 {value: 41} |
| + 1: Object {value: Object} |
| length: 2 |
| console-format-es6-2.html:12 Array(1) |
| - 0: SetIterator |
| + 0: SetIterator {41, Object {foo: 1}} |
| length: 1 |
| __proto__: Array(0) |
| globals[3] |
| @@ -138,8 +138,8 @@ SetIterator |
| [[IteratorIndex]]: 0 |
| [[IteratorKind]]: "values" |
| [[Entries]]: Array(2) |
| - 0: 41 |
| - 1: Object |
| + 0: 41 {value: 41} |
| + 1: Object {value: Object} |
| length: 2 |
| console-format-es6-2.html:11 SetIterator |
| __proto__: Set Iterator |
| @@ -147,11 +147,11 @@ console-format-es6-2.html:11 SetIterator |
| [[IteratorIndex]]: 0 |
| [[IteratorKind]]: "values" |
| [[Entries]]: Array(2) |
| - 0: 41 |
| - 1: Object |
| + 0: 41 {value: 41} |
| + 1: Object {value: Object} |
| length: 2 |
| console-format-es6-2.html:12 Array(1) |
| - 0: SetIterator |
| + 0: SetIterator {41, Object {foo: 1}} |
| length: 1 |
| __proto__: Array(0) |
| globals[4] |
| @@ -161,8 +161,8 @@ SetIterator |
| [[IteratorIndex]]: 0 |
| [[IteratorKind]]: "values" |
| [[Entries]]: Array(2) |
| - 0: 41 |
| - 1: Object |
| + 0: 41 {value: 41} |
| + 1: Object {value: Object} |
| length: 2 |
| console-format-es6-2.html:11 SetIterator |
| __proto__: Set Iterator |
| @@ -170,11 +170,11 @@ console-format-es6-2.html:11 SetIterator |
| [[IteratorIndex]]: 0 |
| [[IteratorKind]]: "entries" |
| [[Entries]]: Array(2) |
| - 0: Array(2) |
| - 1: Array(2) |
| + 0: Array(2) {value: Array(2)} |
| + 1: Array(2) {value: Array(2)} |
| length: 2 |
| console-format-es6-2.html:12 Array(1) |
| - 0: SetIterator |
| + 0: SetIterator {(2) [41, 41], (2) [Object, Object]} |
| length: 1 |
| __proto__: Array(0) |
| globals[5] |
| @@ -184,8 +184,8 @@ SetIterator |
| [[IteratorIndex]]: 0 |
| [[IteratorKind]]: "entries" |
| [[Entries]]: Array(2) |
| - 0: Array(2) |
| - 1: Array(2) |
| + 0: Array(2) {value: Array(2)} |
| + 1: Array(2) {value: Array(2)} |
| length: 2 |
| console-format-es6-2.html:11 MapIterator |
| __proto__: Map Iterator |
| @@ -193,10 +193,10 @@ console-format-es6-2.html:11 MapIterator |
| [[IteratorIndex]]: 1 |
| [[IteratorKind]]: "values" |
| [[Entries]]: Array(1) |
| - 0: Object |
| + 0: Object {value: Object} |
| length: 1 |
| console-format-es6-2.html:12 Array(1) |
| - 0: MapIterator |
| + 0: MapIterator {Object {foo: 2}} |
| length: 1 |
| __proto__: Array(0) |
| globals[6] |
| @@ -206,7 +206,7 @@ MapIterator |
| [[IteratorIndex]]: 1 |
| [[IteratorKind]]: "values" |
| [[Entries]]: Array(1) |
| - 0: Object |
| + 0: Object {value: Object} |
| length: 1 |
| console-format-es6-2.html:11 SetIterator |
| __proto__: Set Iterator |
| @@ -214,10 +214,10 @@ console-format-es6-2.html:11 SetIterator |
| [[IteratorIndex]]: 1 |
| [[IteratorKind]]: "values" |
| [[Entries]]: Array(1) |
| - 0: Object |
| + 0: Object {value: Object} |
| length: 1 |
| console-format-es6-2.html:12 Array(1) |
| - 0: SetIterator |
| + 0: SetIterator {Object {foo: 1}} |
|
dgozman
2017/01/13 02:55:41
This looks strange as well. Maybe just {foo: 1}?
luoe
2017/01/13 23:20:12
From the proposal in my comment above, I'd like to
|
| length: 1 |
| __proto__: Array(0) |
| globals[7] |
| @@ -227,6 +227,6 @@ SetIterator |
| [[IteratorIndex]]: 1 |
| [[IteratorKind]]: "values" |
| [[Entries]]: Array(1) |
| - 0: Object |
| + 0: Object {value: Object} |
| length: 1 |