Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt

Issue 2676773002: DevTools: restore the style of expandable titles on console object previews (Closed)
Patch Set: a Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 2374586c21b884127af3ee7050dbc875123bbc28..50cacdc5cc01f8408460e86011655d311a92ee00 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt
@@ -333,42 +333,44 @@ console-format.html:29 %sdummy%s self-escape4
console-format.html:30 %%% self-escape5 dummy
console-format.html:31 %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 [/^url\(\s*(?:(?:"(?:[^\\\"]|(?:\\[\da-f]{1,6}\s?|\…?:[!#$%&*-~\w]|(?:\\[\da-f]{1,6}\s?|\.))*)\s*\)/i]
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)
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 [/foo\\bar\sbaz/i]
0: /foo\\bar\sbaz/i
length: 1
__proto__: Array(0)
globals[1]
/foo\\bar\sbaz/i
console-format.html:7 test
-console-format.html:8 Array(1)
+console-format.html:8 ["test"]
0: "test"
length: 1
__proto__: Array(0)
globals[2]
"test"
console-format.html:7 test named "test"
-console-format.html:8 Array(1)
+console-format.html:8 ["test named "test""]
0: "test named "test""
length: 1
__proto__: Array(0)
globals[3]
"test named "test""
console-format.html:7 Error
-console-format.html:8 Array(1)
+console-format.html:8 [Error
+]
0: Error
length: 1
__proto__: Array(0)
globals[4]
Error
console-format.html:7 Error: my error message
-console-format.html:8 Array(1)
+console-format.html:8 [Error: my error message
+]
0: Error: my error message
length: 1
__proto__: Array(0)
@@ -376,7 +378,9 @@ 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 [Error: my multiline
+error message
+]
0: Error: my multiline
error message
length: 1
@@ -386,14 +390,14 @@ 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 [p#p]
0: p#p
length: 1
__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 [function]
0: function ()
length: 1
__proto__: Array(0)
@@ -402,7 +406,7 @@ function () { return 1; }
console-format.html:7 function () {
return 2;
}
-console-format.html:8 Array(1)
+console-format.html:8 [function]
0: function ()
length: 1
__proto__: Array(0)
@@ -411,28 +415,28 @@ function () {
return 2;
}
console-format.html:7 0.12
-console-format.html:8 Array(1)
+console-format.html:8 [0.12]
0: 0.12
length: 1
__proto__: Array(0)
globals[10]
0.12
console-format.html:7 http://webkit.org/
-console-format.html:8 Array(1)
+console-format.html:8 ["http://webkit.org/"]
0: "http://webkit.org/"
length: 1
__proto__: Array(0)
globals[11]
"http://webkit.org/"
console-format.html:7 null
-console-format.html:8 Array(1)
+console-format.html:8 [null]
0: null
length: 1
__proto__: Array(0)
globals[12]
null
console-format.html:7 undefined
-console-format.html:8 Array(1)
+console-format.html:8 [undefined]
0: undefined
length: 1
__proto__: Array(0)
@@ -440,7 +444,7 @@ globals[13]
undefined
console-format.html:7
attr=""
-console-format.html:8 Array(1)
+console-format.html:8 [attr]
0: attr
length: 1
__proto__: Array(0)
@@ -448,7 +452,7 @@ globals[14]
attr=""
console-format.html:7
attr="value"
-console-format.html:8 Array(1)
+console-format.html:8 [attr]
0: attr
length: 1
__proto__: Array(0)
@@ -456,107 +460,107 @@ globals[15]
attr="value"
console-format.html:7
id="x"
-console-format.html:8 Array(1)
+console-format.html:8 [id]
0: id
length: 1
__proto__: Array(0)
globals[16]
id="x"
-console-format.html:7 Object
+console-format.html:7 Object {}
length: (...)
get length: function length()
__proto__: Object
-console-format.html:8 Array(1)
+console-format.html:8 [Object]
0: Object
length: 1
__proto__: Array(0)
globals[17]
-Object
+Object {}
length: (...)
get length: function length()
__proto__: Object
console-format.html:7 NaN
-console-format.html:8 Array(1)
+console-format.html:8 [NaN]
0: NaN
length: 1
__proto__: Array(0)
globals[18]
NaN
console-format.html:7 Infinity
-console-format.html:8 Array(1)
+console-format.html:8 [Infinity]
0: Infinity
length: 1
__proto__: Array(0)
globals[19]
Infinity
console-format.html:7 -Infinity
-console-format.html:8 Array(1)
+console-format.html:8 [-Infinity]
0: -Infinity
length: 1
__proto__: Array(0)
globals[20]
-Infinity
-console-format.html:7 Array(10)
+console-format.html:7 ["test", "test2", undefined × 2, "test4", undefined × 5, foo: Object]
0: "test"
1: "test2"
4: "test4"
foo: Object
length: 10
__proto__: Array(0)
-console-format.html:8 Array(1)
+console-format.html:8 [Array(10)]
0: Array(10)
length: 1
__proto__: Array(0)
globals[21]
-Array(10)
+["test", "test2", undefined × 2, "test4", undefined × 5, foo: Object]
0: "test"
1: "test2"
4: "test4"
foo: Object
length: 10
__proto__: Array(0)
-console-format.html:7 Object
+console-format.html:7 Object {}
__proto__: Object
-console-format.html:8 Array(1)
+console-format.html:8 [Object]
0: Object
length: 1
__proto__: Array(0)
globals[22]
-Object
+Object {}
__proto__: Object
-console-format.html:7 Array(1)
+console-format.html:7 [function]
0: function ()
length: 1
__proto__: Array(0)
-console-format.html:8 Array(1)
+console-format.html:8 [Array(1)]
0: Array(1)
length: 1
__proto__: Array(0)
globals[23]
-Array(1)
+[function]
0: function ()
length: 1
__proto__: Array(0)
-console-format.html:7 Object
+console-format.html:7 Object {bar: "bar"}
bar: "bar"
__proto__: Object
-console-format.html:8 Array(1)
+console-format.html:8 [Object]
0: Object
length: 1
__proto__: Array(0)
globals[24]
-Object
+Object {bar: "bar"}
bar: "bar"
__proto__: Object
console-format.html:7
<svg id="svg-node"></svg>
-console-format.html:8 Array(1)
+console-format.html:8 [svg#svg-node]
0: svg#svg-node
length: 1
__proto__: Array(0)
globals[25]
<svg id="svg-node"></svg>
-console-format.html:7 Object
+console-format.html:7 Object {enumerableProp: 4, __underscoreEnumerableProp__: 5, __underscoreNonEnumerableProp: 2, abc: 3, getFoo: function…}
enumerableProp: 4
__underscoreEnumerableProp__: 5
abc: 3
@@ -566,12 +570,12 @@ console-format.html:7 Object
get bar: function ()
set bar: function (x)
__proto__: Object
-console-format.html:8 Array(1)
+console-format.html:8 [Object]
0: Object
length: 1
__proto__: Array(0)
globals[26]
-Object
+Object {enumerableProp: 4, __underscoreEnumerableProp__: 5, __underscoreNonEnumerableProp: 2, abc: 3, getFoo: function…}
enumerableProp: 4
__underscoreEnumerableProp__: 5
abc: 3
@@ -582,29 +586,29 @@ Object
set bar: function (x)
__proto__: Object
console-format.html:7 -0
-console-format.html:8 Array(1)
+console-format.html:8 [-0]
0: -0
length: 1
__proto__: Array(0)
globals[27]
-0
-console-format.html:7 Object
+console-format.html:7 Object {}
No Properties
-console-format.html:8 Array(1)
+console-format.html:8 [Object]
0: Object
length: 1
__proto__: Array(0)
globals[28]
-Object
+Object {}
No Properties
console-format.html:7 function Object() { [native code] }
-console-format.html:8 Array(1)
+console-format.html:8 [function]
0: function Object()
length: 1
__proto__: Array(0)
globals[29]
function Object() { [native code] }
-console-format.html:7 Object
+console-format.html:7 Object {__defineGetter__: function, __defineSetter__: function, hasOwnProperty: function, __lookupGetter__: function, __lookupSetter__: function…}
constructor: function Object()
hasOwnProperty: function hasOwnProperty()
isPrototypeOf: function isPrototypeOf()
@@ -618,12 +622,12 @@ console-format.html:7 Object
__lookupSetter__: function __lookupSetter__()
get __proto__: function __proto__()
set __proto__: function __proto__()
-console-format.html:8 Array(1)
+console-format.html:8 [Object]
0: Object
length: 1
__proto__: Array(0)
globals[30]
-Object
+Object {__defineGetter__: function, __defineSetter__: function, hasOwnProperty: function, __lookupGetter__: function, __lookupSetter__: function…}
constructor: function Object()
hasOwnProperty: function hasOwnProperty()
isPrototypeOf: function isPrototypeOf()
@@ -639,44 +643,44 @@ Object
set __proto__: function __proto__()
console-format.html:7 function ( /**/ foo/**/, /*/**/bar,
/**/baz) {}
-console-format.html:8 Array(1)
+console-format.html:8 [function]
0: function ( /**/ foo/**/, /*/**/bar, /**/baz)
length: 1
__proto__: Array(0)
globals[31]
function ( /**/ foo/**/, /*/**/bar,
/**/baz) {}
-console-format.html:7 Number
+console-format.html:7 Number {[[PrimitiveValue]]: 42}
__proto__: Number
[[PrimitiveValue]]: 42
-console-format.html:8 Array(1)
+console-format.html:8 [Number]
0: Number
length: 1
__proto__: Array(0)
globals[32]
-Number
+Number {[[PrimitiveValue]]: 42}
__proto__: Number
[[PrimitiveValue]]: 42
-console-format.html:7 String
+console-format.html:7 String {0: "a", 1: "b", 2: "c", length: 3, [[PrimitiveValue]]: "abc"}
0: "a"
1: "b"
2: "c"
length: 3
__proto__: String
[[PrimitiveValue]]: "abc"
-console-format.html:8 Array(1)
+console-format.html:8 [String]
0: String
length: 1
__proto__: Array(0)
globals[33]
-String
+String {0: "a", 1: "b", 2: "c", length: 3, [[PrimitiveValue]]: "abc"}
0: "a"
1: "b"
2: "c"
length: 3
__proto__: String
[[PrimitiveValue]]: "abc"
-console-format.html:7 Uint16Array(3)
+console-format.html:7 Uint16Array(3) [1, 2, 3]
0: 1
1: 2
2: 3
@@ -686,12 +690,12 @@ console-format.html:7 Uint16Array(3)
length: (...)
Symbol(Symbol.toStringTag): (...)
__proto__: TypedArray
-console-format.html:8 Array(1)
+console-format.html:8 [Uint16Array(3)]
0: Uint16Array(3)
length: 1
__proto__: Array(0)
globals[34]
-Uint16Array(3)
+Uint16Array(3) [1, 2, 3]
0: 1
1: 2
2: 3
@@ -702,20 +706,20 @@ Uint16Array(3)
Symbol(Symbol.toStringTag): (...)
__proto__: TypedArray
console-format.html:7 #text
-console-format.html:8 Array(1)
+console-format.html:8 [text]
0: text
length: 1
__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 [DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of th…]
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)
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(1)
+console-format.html:7 Uint8Array(1) [3]
0: 3
buffer: (...)
byteLength: (...)
@@ -723,12 +727,12 @@ console-format.html:7 Uint8Array(1)
length: (...)
Symbol(Symbol.toStringTag): (...)
__proto__: TypedArray
-console-format.html:8 Array(1)
+console-format.html:8 [Uint8Array(1)]
0: Uint8Array(1)
length: 1
__proto__: Array(0)
globals[37]
-Uint8Array(1)
+Uint8Array(1) [3]
0: 3
buffer: (...)
byteLength: (...)
@@ -736,76 +740,76 @@ Uint8Array(1)
length: (...)
Symbol(Symbol.toStringTag): (...)
__proto__: TypedArray
-console-format.html:7 Uint8Array(400)
+console-format.html:7 Uint8Array(400) [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…]
[0 … 99]
[100 … 199]
[200 … 299]
[300 … 399]
foo: "bar"
__proto__: TypedArray
-console-format.html:8 Array(1)
+console-format.html:8 [Uint8Array(400)]
0: Uint8Array(400)
length: 1
__proto__: Array(0)
globals[38]
-Uint8Array(400)
+Uint8Array(400) [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…]
[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, 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 … 99999999]
[100000000 … 199999999]
[200000000 … 299999999]
[300000000 … 399999999]
__proto__: TypedArray
-console-format.html:8 Array(1)
+console-format.html:8 [Uint8Array(400000000)]
0: Uint8Array(400000000)
length: 1
__proto__: Array(0)
globals[39]
-Uint8Array(400000000)
+Uint8Array(400000000) [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…]
[0 … 99999999]
[100000000 … 199999999]
[200000000 … 299999999]
[300000000 … 399999999]
__proto__: TypedArray
-console-format.html:7 namespace.longSubNamespace.x.className
+console-format.html:7 namespace.longSubNamespace.x.className {}
__proto__: Object
-console-format.html:8 Array(1)
+console-format.html:8 [n…e.l…e.x.className]
0: namespace.longSubNamespace.x.className
length: 1
__proto__: Array(0)
globals[40]
-namespace.longSubNamespace.x.className
+namespace.longSubNamespace.x.className {}
__proto__: Object
-console-format.html:7 Array(200)
+console-format.html:7 [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1…]
[0 … 99]
[100 … 199]
length: 200
__proto__: Array(0)
-console-format.html:8 Array(1)
+console-format.html:8 [Array(200)]
0: Array(200)
length: 1
__proto__: Array(0)
globals[41]
-Array(200)
+[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1…]
[0 … 99]
[100 … 199]
length: 200
__proto__: Array(0)
-console-format.html:7 Array(1)
+console-format.html:7 ["test"]
0: "test"
length: 1
__proto__: Array(0)
-console-format.html:8 Array(1)
+console-format.html:8 [Array(1)]
0: Array(1)
length: 1
__proto__: Array(0)
globals[42]
-Array(1)
+["test"]
0: "test"
length: 1
__proto__: Array(0)

Powered by Google App Engine
This is Rietveld 408576698