Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt |
| diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt b/third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt |
| index 3a17f6877cbe33bc62e7cfb18a74b22ed3a5e2d4..a04b23f9e3fd0dbd233540c3f158884800858f3c 100644 |
| --- a/third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt |
| +++ b/third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt |
| @@ -80,8 +80,8 @@ CONSOLE MESSAGE: line 12: function ( /**/ foo/**/, /*/**/bar, |
| /**/baz) {} |
| CONSOLE MESSAGE: line 13: function ( /**/ foo/**/, /*/**/bar, |
| /**/baz) {} |
| -CONSOLE MESSAGE: line 12: 42.000000 |
| -CONSOLE MESSAGE: line 13: 42.000000 |
| +CONSOLE MESSAGE: line 12: 42.0000 |
| +CONSOLE MESSAGE: line 13: 42.0000 |
|
luoe
2016/12/02 19:39:36
I'm not sure why this changed. This console test
kozy
2016/12/02 21:21:48
Way how we convert double to string was changed in
|
| CONSOLE MESSAGE: line 12: abc |
| CONSOLE MESSAGE: line 13: abc |
| CONSOLE MESSAGE: line 12: [object Uint16Array] |
| @@ -96,9 +96,9 @@ CONSOLE MESSAGE: line 12: [object Uint8Array] |
| CONSOLE MESSAGE: line 13: [object Uint8Array] |
| Tests that console logging dumps proper messages. |
| - console-format.html:21 Array[10] |
| -console-format.html:22 Array[10] |
| -console-format.html:23 Array[10] |
| + console-format.html:21 Array(10) |
| +console-format.html:22 Array(10) |
| +console-format.html:23 Array(10) |
| console-format.html:24 Test for zero "0" in formatter |
| console-format.html:25 % self-escape1 dummy |
| console-format.html:26 %s self-escape2 dummy |
| @@ -205,7 +205,7 @@ console-format.html:8 [-Infinity] |
| globals[20] |
| -Infinity |
| console-format.html:7 ["test", "test2", 4: "test4", foo: Object] |
| -console-format.html:8 [Array[10]] |
| +console-format.html:8 [Array(10)] |
| globals[21] |
| ["test", "test2", undefined × 2, "test4", undefined × 5] |
| console-format.html:7 Object {} |
| @@ -213,7 +213,7 @@ console-format.html:8 [Object] |
| globals[22] |
| Object {} |
| console-format.html:7 [function] |
| -console-format.html:8 [Array[1]] |
| +console-format.html:8 [Array(1)] |
| globals[23] |
| [function] |
| console-format.html:7 Object {bar: "bar"} |
| @@ -260,7 +260,7 @@ console-format.html:8 [String] |
| globals[33] |
| String {0: "a", 1: "b", 2: "c", length: 3, [[PrimitiveValue]]: "abc"} |
| console-format.html:7 [1, 2, 3] |
| -console-format.html:8 [Uint16Array[3]] |
| +console-format.html:8 [Uint16Array(3)] |
| globals[34] |
| [1, 2, 3] |
| console-format.html:7 #text |
| @@ -272,35 +272,35 @@ console-format.html:8 [DOMException: Failed to execute 'removeChild' on 'Node': |
| globals[36] |
| DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. |
| console-format.html:7 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…] |
| -console-format.html:8 [Uint8Array[400]] |
| +console-format.html:8 [Uint8Array(400)] |
| globals[37] |
| -Uint8Array[400] |
| +Uint8Array(400) |
| console-format.html:7 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…] |
| -console-format.html:8 [Uint8Array[400000000]] |
| +console-format.html:8 [Uint8Array(400000000)] |
| globals[38] |
| -Uint8Array[400000000] |
| +Uint8Array(400000000) |
| Expanded all messages |
| -console-format.html:21 Array[10] |
| +console-format.html:21 Array(10) |
| 0: "test" |
| 1: "test2" |
| 4: "test4" |
| foo: Object |
| length: 10 |
| - __proto__: Array[0] |
| -console-format.html:22 Array[10] |
| + __proto__: Array(0) |
| +console-format.html:22 Array(10) |
| 0: "test" |
| 1: "test2" |
| 4: "test4" |
| foo: Object |
| length: 10 |
| - __proto__: Array[0] |
| -console-format.html:23 Array[10] |
| + __proto__: Array(0) |
| +console-format.html:23 Array(10) |
| 0: "test" |
| 1: "test2" |
| 4: "test4" |
| foo: Object |
| length: 10 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| console-format.html:24 Test for zero "0" in formatter |
| console-format.html:25 % self-escape1 dummy |
| console-format.html:26 %s self-escape2 dummy |
| @@ -309,227 +309,227 @@ console-format.html:28 %sdummy%s self-escape4 |
| console-format.html:29 %%% self-escape5 dummy |
| console-format.html:30 %dummy self-escape6 |
| console-format.html:7 /^url\(\s*(?:(?:"(?:[^\\\"]|(?:\\[\da-f]{1,6}\s?|\.))*"|'(?:[^\\\']|(?:\\[\da-f]{1,6}\s?|\.))*')|(?:[!#$%&*-~\w]|(?:\\[\da-f]{1,6}\s?|\.))*)\s*\)/i |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: /^url\(\s*(?:(?:"(?:[^\\\"]|(?:\\[\da-f]{1,6}\s?|\.))*"|'(?:[^\\\']|(?:\\[\da-f]{1,6}\s?|\.))*')|(?:[!#$%&*-~\w]|(?:\\[\da-f]{1,6}\s?|\.))*)\s*\)/i |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[0] |
| /^url\(\s*(?:(?:"(?:[^\\\"]|(?:\\[\da-f]{1,6}\s?|\.))*"|'(?:[^\\\']|(?:\\[\da-f]{1,6}\s?|\.))*')|(?:[!#$%&*-~\w]|(?:\\[\da-f]{1,6}\s?|\.))*)\s*\)/i |
| console-format.html:7 /foo\\bar\sbaz/i |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: /foo\\bar\sbaz/i |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[1] |
| /foo\\bar\sbaz/i |
| console-format.html:7 test |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: "test" |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[2] |
| "test" |
| console-format.html:7 test named "test" |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: "test named "test"" |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[3] |
| "test named "test"" |
| console-format.html:7 Error |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: Error |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[4] |
| Error |
| console-format.html:7 Error: my error message |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: Error: my error message |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[5] |
| Error: my error message |
| console-format.html:7 Error: my multiline |
| error message |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: Error: my multiline |
| error message |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[6] |
| Error: my multiline |
| error message |
| console-format.html:7 |
| <p id="p">Tests that console logging dumps proper messages.</p> |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: p#p |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[7] |
| <p id="p">Tests that console logging dumps proper messages.</p> |
| console-format.html:7 function () { return 1; } |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: function () |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[8] |
| function () { return 1; } |
| console-format.html:7 function () { |
| return 2; |
| } |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: function () |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[9] |
| function () { |
| return 2; |
| } |
| console-format.html:7 0.12 |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: 0.12 |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[10] |
| 0.12 |
| console-format.html:7 http://webkit.org/ |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: "http://webkit.org/" |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[11] |
| "http://webkit.org/" |
| console-format.html:7 null |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: null |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[12] |
| null |
| console-format.html:7 undefined |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: undefined |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[13] |
| undefined |
| console-format.html:7 |
| attr="" |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: attr |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[14] |
| attr="" |
| console-format.html:7 |
| attr="value" |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: attr |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[15] |
| attr="value" |
| console-format.html:7 |
| id="x" |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: id |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[16] |
| id="x" |
| console-format.html:7 Object |
| length: (...) |
| get length: function length() |
| __proto__: Object |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: Object |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[17] |
| Object |
| length: (...) |
| get length: function length() |
| __proto__: Object |
| console-format.html:7 NaN |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: NaN |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[18] |
| NaN |
| console-format.html:7 Infinity |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: Infinity |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[19] |
| Infinity |
| console-format.html:7 -Infinity |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: -Infinity |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[20] |
| -Infinity |
| -console-format.html:7 Array[10] |
| +console-format.html:7 Array(10) |
| 0: "test" |
| 1: "test2" |
| 4: "test4" |
| foo: Object |
| length: 10 |
| - __proto__: Array[0] |
| -console-format.html:8 Array[1] |
| - 0: Array[10] |
| + __proto__: Array(0) |
| +console-format.html:8 Array(1) |
| + 0: Array(10) |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[21] |
| -Array[10] |
| +Array(10) |
| 0: "test" |
| 1: "test2" |
| 4: "test4" |
| foo: Object |
| length: 10 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| console-format.html:7 Object |
| __proto__: Object |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: Object |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[22] |
| Object |
| __proto__: Object |
| -console-format.html:7 Array[1] |
| +console-format.html:7 Array(1) |
| 0: function () |
| length: 1 |
| - __proto__: Array[0] |
| -console-format.html:8 Array[1] |
| - 0: Array[1] |
| + __proto__: Array(0) |
| +console-format.html:8 Array(1) |
| + 0: Array(1) |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[23] |
| -Array[1] |
| +Array(1) |
| 0: function () |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| console-format.html:7 Object |
| bar: "bar" |
| __proto__: Object |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: Object |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[24] |
| Object |
| bar: "bar" |
| __proto__: Object |
| console-format.html:7 |
| <svg id="svg-node"></svg> |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: svg#svg-node |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[25] |
| <svg id="svg-node"></svg> |
| console-format.html:7 Object |
| @@ -538,10 +538,10 @@ console-format.html:7 Object |
| get bar: function () |
| set bar: function (x) |
| __proto__: Object |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: Object |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[26] |
| Object |
| bar: (...) |
| @@ -550,26 +550,26 @@ Object |
| set bar: function (x) |
| __proto__: Object |
| console-format.html:7 -0 |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: -0 |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[27] |
| -0 |
| console-format.html:7 Object |
| No Properties |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: Object |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[28] |
| Object |
| No Properties |
| console-format.html:7 function Object() { [native code] } |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: function Object() |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[29] |
| function Object() { [native code] } |
| console-format.html:7 Object |
| @@ -586,10 +586,10 @@ console-format.html:7 Object |
| valueOf: function valueOf() |
| get __proto__: function __proto__() |
| set __proto__: function __proto__() |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: Object |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[30] |
| Object |
| __defineGetter__: function __defineGetter__() |
| @@ -607,20 +607,20 @@ Object |
| set __proto__: function __proto__() |
| console-format.html:7 function ( /**/ foo/**/, /*/**/bar, |
| /**/baz) {} |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: function ( /**/ foo/**/, /*/**/bar, /**/baz) |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[31] |
| function ( /**/ foo/**/, /*/**/bar, |
| /**/baz) {} |
| console-format.html:7 Number |
| __proto__: Number |
| [[PrimitiveValue]]: 42 |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: Number |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[32] |
| Number |
| __proto__: Number |
| @@ -632,10 +632,10 @@ console-format.html:7 String |
| length: 3 |
| __proto__: String |
| [[PrimitiveValue]]: "abc" |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: String |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[33] |
| String |
| 0: "a" |
| @@ -644,7 +644,7 @@ String |
| length: 3 |
| __proto__: String |
| [[PrimitiveValue]]: "abc" |
| -console-format.html:7 Uint16Array[3] |
| +console-format.html:7 Uint16Array(3) |
| 0: 1 |
| 1: 2 |
| 2: 3 |
| @@ -654,12 +654,12 @@ console-format.html:7 Uint16Array[3] |
| length: (...) |
| Symbol(Symbol.toStringTag): (...) |
| __proto__: TypedArray |
| -console-format.html:8 Array[1] |
| - 0: Uint16Array[3] |
| +console-format.html:8 Array(1) |
| + 0: Uint16Array(3) |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[34] |
| -Uint16Array[3] |
| +Uint16Array(3) |
| 0: 1 |
| 1: 2 |
| 2: 3 |
| @@ -670,50 +670,50 @@ Uint16Array[3] |
| Symbol(Symbol.toStringTag): (...) |
| __proto__: TypedArray |
| console-format.html:7 #text |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: text |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[35] |
| #text |
| console-format.html:7 DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. |
| -console-format.html:8 Array[1] |
| +console-format.html:8 Array(1) |
| 0: DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[36] |
| DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. |
| -console-format.html:7 Uint8Array[400] |
| +console-format.html:7 Uint8Array(400) |
| [0 … 99] |
| [100 … 199] |
| [200 … 299] |
| [300 … 399] |
| foo: "bar" |
| __proto__: TypedArray |
| -console-format.html:8 Array[1] |
| - 0: Uint8Array[400] |
| +console-format.html:8 Array(1) |
| + 0: Uint8Array(400) |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[37] |
| -Uint8Array[400] |
| +Uint8Array(400) |
| [0 … 99] |
| [100 … 199] |
| [200 … 299] |
| [300 … 399] |
| foo: "bar" |
| __proto__: TypedArray |
| -console-format.html:7 Uint8Array[400000000] |
| +console-format.html:7 Uint8Array(400000000) |
| [0 … 99999999] |
| [100000000 … 199999999] |
| [200000000 … 299999999] |
| [300000000 … 399999999] |
| __proto__: TypedArray |
| -console-format.html:8 Array[1] |
| - 0: Uint8Array[400000000] |
| +console-format.html:8 Array(1) |
| + 0: Uint8Array(400000000) |
| length: 1 |
| - __proto__: Array[0] |
| + __proto__: Array(0) |
| globals[38] |
| -Uint8Array[400000000] |
| +Uint8Array(400000000) |
| [0 … 99999999] |
| [100000000 … 199999999] |
| [200000000 … 299999999] |