b11cedb472
`console.table` used to have a 1k limit on preview properties, which regressed to 100 during refactoring. This CL restores the 1k limit, and ensures that `buildEntryPreview` does not use the 1k limit. Bug: chromium:903623 Change-Id: I8fab3182a79d1bb6b662e2ff9b229db3d3a889ca Reviewed-on: https://chromium-review.googlesource.com/c/1332127 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Erik Luo <luoe@chromium.org> Cr-Commit-Position: refs/heads/master@{#57518}
386 lines
9.1 KiB
Plaintext
386 lines
9.1 KiB
Plaintext
console.table
|
|
{
|
|
description : Array(3)
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : 0
|
|
type : string
|
|
value : apples
|
|
}
|
|
[1] : {
|
|
name : 1
|
|
type : string
|
|
value : oranges
|
|
}
|
|
[2] : {
|
|
name : 2
|
|
type : string
|
|
value : bananas
|
|
}
|
|
]
|
|
subtype : array
|
|
type : object
|
|
}
|
|
{
|
|
description : Person
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : firstName
|
|
type : string
|
|
value : John
|
|
}
|
|
[1] : {
|
|
name : lastName
|
|
type : string
|
|
value : Smith
|
|
}
|
|
]
|
|
type : object
|
|
}
|
|
{
|
|
description : Array(3)
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : 0
|
|
subtype : array
|
|
type : object
|
|
value : Array(2)
|
|
valuePreview : {
|
|
description : Array(2)
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : 0
|
|
type : string
|
|
value : John
|
|
}
|
|
[1] : {
|
|
name : 1
|
|
type : string
|
|
value : Smith
|
|
}
|
|
]
|
|
subtype : array
|
|
type : object
|
|
}
|
|
}
|
|
[1] : {
|
|
name : 1
|
|
subtype : array
|
|
type : object
|
|
value : Array(2)
|
|
valuePreview : {
|
|
description : Array(2)
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : 0
|
|
type : string
|
|
value : Jane
|
|
}
|
|
[1] : {
|
|
name : 1
|
|
type : string
|
|
value : Doe
|
|
}
|
|
]
|
|
subtype : array
|
|
type : object
|
|
}
|
|
}
|
|
[2] : {
|
|
name : 2
|
|
subtype : array
|
|
type : object
|
|
value : Array(2)
|
|
valuePreview : {
|
|
description : Array(2)
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : 0
|
|
type : string
|
|
value : Emily
|
|
}
|
|
[1] : {
|
|
name : 1
|
|
type : string
|
|
value : Jones
|
|
}
|
|
]
|
|
subtype : array
|
|
type : object
|
|
}
|
|
}
|
|
]
|
|
subtype : array
|
|
type : object
|
|
}
|
|
{
|
|
description : Array(3)
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : 0
|
|
type : object
|
|
value : Person
|
|
valuePreview : {
|
|
description : Person
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : firstName
|
|
type : string
|
|
value : John
|
|
}
|
|
[1] : {
|
|
name : lastName
|
|
type : string
|
|
value : Smith
|
|
}
|
|
]
|
|
type : object
|
|
}
|
|
}
|
|
[1] : {
|
|
name : 1
|
|
type : object
|
|
value : Person
|
|
valuePreview : {
|
|
description : Person
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : firstName
|
|
type : string
|
|
value : Jane
|
|
}
|
|
[1] : {
|
|
name : lastName
|
|
type : string
|
|
value : Doe
|
|
}
|
|
]
|
|
type : object
|
|
}
|
|
}
|
|
[2] : {
|
|
name : 2
|
|
type : object
|
|
value : Person
|
|
valuePreview : {
|
|
description : Person
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : firstName
|
|
type : string
|
|
value : Emily
|
|
}
|
|
[1] : {
|
|
name : lastName
|
|
type : string
|
|
value : Jones
|
|
}
|
|
]
|
|
type : object
|
|
}
|
|
}
|
|
]
|
|
subtype : array
|
|
type : object
|
|
}
|
|
{
|
|
description : Object
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : mother
|
|
type : object
|
|
value : Person
|
|
valuePreview : {
|
|
description : Person
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : firstName
|
|
type : string
|
|
value : Jane
|
|
}
|
|
[1] : {
|
|
name : lastName
|
|
type : string
|
|
value : Smith
|
|
}
|
|
]
|
|
type : object
|
|
}
|
|
}
|
|
[1] : {
|
|
name : father
|
|
type : object
|
|
value : Person
|
|
valuePreview : {
|
|
description : Person
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : firstName
|
|
type : string
|
|
value : John
|
|
}
|
|
[1] : {
|
|
name : lastName
|
|
type : string
|
|
value : Smith
|
|
}
|
|
]
|
|
type : object
|
|
}
|
|
}
|
|
[2] : {
|
|
name : daughter
|
|
type : object
|
|
value : Person
|
|
valuePreview : {
|
|
description : Person
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : firstName
|
|
type : string
|
|
value : Emily
|
|
}
|
|
[1] : {
|
|
name : lastName
|
|
type : string
|
|
value : Smith
|
|
}
|
|
]
|
|
type : object
|
|
}
|
|
}
|
|
]
|
|
type : object
|
|
}
|
|
{
|
|
description : Array(3)
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : 0
|
|
type : object
|
|
value : Person
|
|
valuePreview : {
|
|
description : Person
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : firstName
|
|
type : string
|
|
value : John
|
|
}
|
|
]
|
|
type : object
|
|
}
|
|
}
|
|
[1] : {
|
|
name : 1
|
|
type : object
|
|
value : Person
|
|
valuePreview : {
|
|
description : Person
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : firstName
|
|
type : string
|
|
value : Jane
|
|
}
|
|
]
|
|
type : object
|
|
}
|
|
}
|
|
[2] : {
|
|
name : 2
|
|
type : object
|
|
value : Person
|
|
valuePreview : {
|
|
description : Person
|
|
overflow : false
|
|
properties : [
|
|
[0] : {
|
|
name : firstName
|
|
type : string
|
|
value : Emily
|
|
}
|
|
]
|
|
type : object
|
|
}
|
|
}
|
|
]
|
|
subtype : array
|
|
type : object
|
|
}
|
|
last value property:
|
|
{
|
|
name : 1
|
|
type : string
|
|
value : b
|
|
}
|
|
last property:
|
|
{
|
|
name : 998
|
|
subtype : array
|
|
type : object
|
|
value : Array(2)
|
|
valuePreview : {
|
|
description : Array(2)
|
|
overflow : false
|
|
properties : <ValuePreviewPropertiesArray(2)>
|
|
subtype : array
|
|
type : object
|
|
}
|
|
}
|
|
preview:
|
|
{
|
|
description : Array(999)
|
|
overflow : false
|
|
properties : <PropertiesArray(999)>
|
|
subtype : array
|
|
type : object
|
|
}
|
|
|
|
last value property:
|
|
{
|
|
name : 1
|
|
type : string
|
|
value : b
|
|
}
|
|
last property:
|
|
{
|
|
name : 999
|
|
subtype : array
|
|
type : object
|
|
value : Array(2)
|
|
valuePreview : {
|
|
description : Array(2)
|
|
overflow : false
|
|
properties : <ValuePreviewPropertiesArray(2)>
|
|
subtype : array
|
|
type : object
|
|
}
|
|
}
|
|
preview:
|
|
{
|
|
description : Array(1001)
|
|
overflow : true
|
|
properties : <PropertiesArray(1000)>
|
|
subtype : array
|
|
type : object
|
|
}
|
|
|