2018-10-22 20:21:37 +00:00
|
|
|
RemoteObject.CustomPreview
|
|
|
|
Dump custom previews..
|
|
|
|
{
|
|
|
|
bodyGetterId : <bodyGetterId>
|
2020-10-18 02:53:33 +00:00
|
|
|
header : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Header formatted by 1
|
|
|
|
[3] : a
|
|
|
|
]
|
2018-10-22 20:21:37 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : object
|
|
|
|
value : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Body formatted by 1
|
|
|
|
[3] : a
|
|
|
|
[4] : [
|
|
|
|
[0] : object
|
|
|
|
[1] : {
|
|
|
|
className : Object
|
|
|
|
description : Object
|
|
|
|
objectId : <objectId>
|
|
|
|
type : object
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
bodyGetterId : <bodyGetterId>
|
2020-10-18 02:53:33 +00:00
|
|
|
header : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Header formatted by 2
|
|
|
|
[3] : b
|
|
|
|
]
|
2018-10-22 20:21:37 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : object
|
|
|
|
value : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Body formatted by 2
|
|
|
|
[3] : b
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
bodyGetterId : <bodyGetterId>
|
2020-10-18 02:53:33 +00:00
|
|
|
header : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Header formatted by 1
|
|
|
|
[3] : c
|
|
|
|
]
|
2018-10-22 20:21:37 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : object
|
|
|
|
value : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Body formatted by 1
|
|
|
|
[3] : c
|
|
|
|
[4] : [
|
|
|
|
[0] : object
|
|
|
|
[1] : {
|
|
|
|
className : Object
|
|
|
|
description : Object
|
|
|
|
objectId : <objectId>
|
|
|
|
type : object
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
2020-10-18 02:53:33 +00:00
|
|
|
header : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Formatter with config
|
|
|
|
[3] : [
|
|
|
|
[0] : object
|
|
|
|
[1] : {
|
|
|
|
className : Object
|
|
|
|
customPreview : {
|
|
|
|
bodyGetterId : <bodyGetterId>
|
|
|
|
header : ["span",{},"Header ","info: ","additional info"]
|
|
|
|
}
|
|
|
|
description : Object
|
|
|
|
objectId : <objectId>
|
|
|
|
type : object
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
2018-10-22 20:21:37 +00:00
|
|
|
}
|
|
|
|
Change formatters order and dump again..
|
|
|
|
{
|
|
|
|
bodyGetterId : <bodyGetterId>
|
2020-10-18 02:53:33 +00:00
|
|
|
header : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Header formatted by 1
|
|
|
|
[3] : a
|
|
|
|
]
|
2018-10-22 20:21:37 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : object
|
|
|
|
value : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Body formatted by 1
|
|
|
|
[3] : a
|
|
|
|
[4] : [
|
|
|
|
[0] : object
|
|
|
|
[1] : {
|
|
|
|
className : Object
|
|
|
|
description : Object
|
|
|
|
objectId : <objectId>
|
|
|
|
type : object
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
bodyGetterId : <bodyGetterId>
|
2020-10-18 02:53:33 +00:00
|
|
|
header : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Header formatted by 2
|
|
|
|
[3] : b
|
|
|
|
]
|
2018-10-22 20:21:37 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : object
|
|
|
|
value : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Body formatted by 2
|
|
|
|
[3] : b
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
bodyGetterId : <bodyGetterId>
|
2020-10-18 02:53:33 +00:00
|
|
|
header : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Header formatted by 2
|
|
|
|
[3] : c
|
|
|
|
]
|
2018-10-22 20:21:37 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : object
|
|
|
|
value : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Body formatted by 2
|
|
|
|
[3] : c
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
2020-10-18 02:53:33 +00:00
|
|
|
header : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Formatter with config
|
|
|
|
[3] : [
|
|
|
|
[0] : object
|
|
|
|
[1] : {
|
|
|
|
className : Object
|
|
|
|
customPreview : {
|
|
|
|
bodyGetterId : <bodyGetterId>
|
|
|
|
header : ["span",{},"Header ","info: ","additional info"]
|
|
|
|
}
|
|
|
|
description : Object
|
|
|
|
objectId : <objectId>
|
|
|
|
type : object
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
2018-10-22 20:21:37 +00:00
|
|
|
}
|
2018-12-27 22:17:02 +00:00
|
|
|
Test Runtime.getProperties
|
|
|
|
{
|
|
|
|
bodyGetterId : <bodyGetterId>
|
2020-10-18 02:53:33 +00:00
|
|
|
header : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
|
|
|
[2] : Header formatted by 1
|
|
|
|
[3] : a
|
|
|
|
]
|
2018-12-27 22:17:02 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
type : object
|
|
|
|
value : [
|
|
|
|
[0] : span
|
|
|
|
[1] : {
|
|
|
|
}
|
2020-10-18 02:53:33 +00:00
|
|
|
[2] : Body formatted by 1
|
2018-12-27 22:17:02 +00:00
|
|
|
[3] : a
|
|
|
|
[4] : [
|
|
|
|
[0] : object
|
|
|
|
[1] : {
|
|
|
|
className : Object
|
|
|
|
description : Object
|
|
|
|
objectId : <objectId>
|
|
|
|
type : object
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-10-22 20:21:37 +00:00
|
|
|
Try to break custom preview..
|
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
|
|
|
value : Custom Formatter Failed: Uncaught 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : error
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
|
|
|
value : Custom Formatter Failed: Uncaught 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : error
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
|
|
|
value : Custom Formatter Failed: Uncaught 2
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : error
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
|
|
|
value : Custom Formatter Failed: Uncaught 3
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : error
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
|
|
|
value : Custom Formatter Failed: Uncaught 4
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : error
|
|
|
|
}
|
|
|
|
}
|