summaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/debugger/script-parsed-for-runtime-evaluate-expected.txt
blob: 4f0d26150ec9a4b52880509bf4fd83394c0fd7c8 (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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
Checks that inspector reports script compiled in Runtime.evaluate, Runtime.callFunctionOn and  Runtime.compileScript
Runtime.evaluate with valid expression
{
    method : Debugger.scriptParsed
    params : {
        endColumn : 29
        endLine : 0
        executionContextId : <executionContextId>
        hasSourceURL : true
        hash : A933D880D35072516A27D817C0079F01FEE46E23
        isLiveEdit : false
        isModule : false
        length : 29
        scriptId : <scriptId>
        sourceMapURL : 
        startColumn : 0
        startLine : 0
        url : evaluate.js
    }
}
Runtime.evaluate with syntax error
{
    method : Debugger.scriptFailedToParse
    params : {
        endColumn : 39
        endLine : 0
        executionContextId : <executionContextId>
        hasSourceURL : true
        hash : 81077F73E5B26710D5CE891275FA68AC12493B57
        isModule : false
        length : 39
        scriptId : <scriptId>
        sourceMapURL : 
        startColumn : 0
        startLine : 0
        url : evaluate-syntax-error.js
    }
}
Runtime.callFunctionOn with valid functionDeclaration
{
    method : Debugger.scriptParsed
    params : {
        endColumn : 18
        endLine : 0
        executionContextId : <executionContextId>
        hasSourceURL : false
        hash : 53BA9611A1E9ABE81E93AF82DEC875F94048A807
        isLiveEdit : false
        isModule : false
        length : 18
        scriptId : <scriptId>
        sourceMapURL : 
        startColumn : 0
        startLine : 0
        url : 
    }
}
Runtime.callFunctionOn with syntax error
{
    method : Debugger.scriptFailedToParse
    params : {
        endColumn : 3
        endLine : 0
        executionContextId : <executionContextId>
        hasSourceURL : false
        hash : 9D04D83251E2B7F64CB5762843D429DC872EBA18
        isModule : false
        length : 3
        scriptId : <scriptId>
        sourceMapURL : 
        startColumn : 0
        startLine : 0
        url : 
    }
}
Runtime.compileScript with valid expression
{
    method : Debugger.scriptParsed
    params : {
        endColumn : 4
        endLine : 0
        executionContextId : <executionContextId>
        hasSourceURL : false
        hash : 9D04F7336B76D25A4CB5762843D429DC872EBA18
        isLiveEdit : false
        isModule : false
        length : 4
        scriptId : <scriptId>
        sourceMapURL : 
        startColumn : 0
        startLine : 0
        url : compile-script.js
    }
}
Runtime.compileScript with syntax error
{
    method : Debugger.scriptFailedToParse
    params : {
        endColumn : 1
        endLine : 0
        executionContextId : <executionContextId>
        hasSourceURL : false
        hash : FF746120E4E4F1BA4CB5762843D429DC872EBA18
        isModule : false
        length : 1
        scriptId : <scriptId>
        sourceMapURL : 
        startColumn : 0
        startLine : 0
        url : compile-script-syntax-error.js
    }
}
Runtime.compileScript persistScript: false (should be no script events)
Runtime.evaluate compiled script with stack trace
{
    method : Debugger.scriptParsed
    params : {
        endColumn : 8
        endLine : 0
        executionContextId : <executionContextId>
        hasSourceURL : false
        hash : A2185340102B6713AB58F5467452EC0C872EBA18
        isLiveEdit : false
        isModule : false
        length : 8
        scriptId : <scriptId>
        sourceMapURL : 
        startColumn : 0
        startLine : 0
        url : 
    }
}
{
    method : Debugger.scriptParsed
    params : {
        endColumn : 39
        endLine : 4
        executionContextId : <executionContextId>
        hasSourceURL : true
        hash : 31052EF18E11A850DBC812A6154A27BA713D3521
        isLiveEdit : false
        isModule : false
        length : 86
        scriptId : <scriptId>
        sourceMapURL : 
        stackTrace : {
            callFrames : [
                [0] : {
                    columnNumber : 2
                    functionName : fooTop
                    lineNumber : 10
                    scriptId : <scriptId>
                    url : top-frame.js
                }
            ]
        }
        startColumn : 0
        startLine : 0
        url : second-frame.js
    }
}
{
    method : Debugger.scriptParsed
    params : {
        endColumn : 4
        endLine : 0
        executionContextId : <executionContextId>
        hasSourceURL : false
        hash : 9D04F7336B76D25A4CB5762843D429DC872EBA18
        isLiveEdit : false
        isModule : false
        length : 4
        scriptId : <scriptId>
        sourceMapURL : 
        stackTrace : {
            callFrames : [
                [0] : {
                    columnNumber : 6
                    functionName : foo
                    lineNumber : 2
                    scriptId : <scriptId>
                    url : second-frame.js
                }
            ]
        }
        startColumn : 0
        startLine : 0
        url : 
    }
}
Runtime.evaluate compile script error with stack trace
{
    method : Debugger.scriptParsed
    params : {
        endColumn : 12
        endLine : 0
        executionContextId : <executionContextId>
        hasSourceURL : false
        hash : 55C8AE40102B6713AB58F546879BAE951E6BF325
        isLiveEdit : false
        isModule : false
        length : 12
        scriptId : <scriptId>
        sourceMapURL : 
        startColumn : 0
        startLine : 0
        url : 
    }
}
{
    method : Debugger.scriptParsed
    params : {
        endColumn : 48
        endLine : 4
        executionContextId : <executionContextId>
        hasSourceURL : true
        hash : 578C87106744016A01ADEA516DC739379190F4E2
        isLiveEdit : false
        isModule : false
        length : 98
        scriptId : <scriptId>
        sourceMapURL : 
        stackTrace : {
            callFrames : [
                [0] : {
                    columnNumber : 2
                    functionName : fooTopFail
                    lineNumber : 20
                    scriptId : <scriptId>
                    url : top-frame-fail.js
                }
            ]
        }
        startColumn : 0
        startLine : 0
        url : second-frame-fail.js
    }
}
{
    method : Debugger.scriptFailedToParse
    params : {
        endColumn : 3
        endLine : 0
        executionContextId : <executionContextId>
        hasSourceURL : false
        hash : 9D04F7336C348CA34CB5762843D429DC872EBA18
        isModule : false
        length : 3
        scriptId : <scriptId>
        sourceMapURL : 
        stackTrace : {
            callFrames : [
                [0] : {
                    columnNumber : 6
                    functionName : fooFail
                    lineNumber : 2
                    scriptId : <scriptId>
                    url : second-frame-fail.js
                }
            ]
        }
        startColumn : 0
        startLine : 0
        url : 
    }
}