blob: 1810872f0b8124d6708f30e28e82ad6533816979 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
Checks that Runtime agent correctly restore its state.
Running test: testExecutionContextsNotificationsOnRestore
{
method : Runtime.executionContextCreated
params : {
context : {
id : 1
name :
origin :
}
}
}
will reconnect..
{
method : Runtime.executionContextsCleared
params : {
}
}
{
method : Runtime.executionContextCreated
params : {
context : {
id : 1
name :
origin :
}
}
}
Running test: testConsoleAPICalledAfterRestore
will reconnect..
{
method : Runtime.consoleAPICalled
params : {
args : [
[0] : {
description : 42
type : number
value : 42
}
]
executionContextId : <executionContextId>
stackTrace : {
callFrames : [
[0] : {
columnNumber : 8
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
]
}
timestamp : <timestamp>
type : log
}
}
Running test: testSetCustomObjectFormatterEnabled
will reconnect..
will reconnect..
{
method : Runtime.consoleAPICalled
params : {
args : [
[0] : {
className : Object
customPreview : {
bodyGetterId : <bodyGetterId>
header : ["span",{},"Header formatted ",42]
}
description : Object
objectId : <objectId>
preview : {
description : Object
overflow : false
properties : [
[0] : {
name : name
type : number
value : 42
}
]
type : object
}
type : object
}
]
executionContextId : <executionContextId>
stackTrace : {
callFrames : [
[0] : {
columnNumber : 8
functionName :
lineNumber : 0
scriptId : <scriptId>
url :
}
]
}
timestamp : <timestamp>
type : log
}
}
{
id : <messageId>
result : {
result : {
type : undefined
}
}
}
|