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

Side by Side Diff: test/inspector/debugger/script-parsed-for-runtime-evaluate-expected.txt

Issue 2755863002: [Devtools] Add stacktrace to protocol for scriptParsed event (Closed)
Patch Set: fix tests Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « test/inspector/debugger/script-parsed-for-runtime-evaluate.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Checks that inspector reports script compiled in Runtime.evaluate,Runtime.callFu nctionOn and Runtime.compileScript 1 Checks that inspector reports script compiled in Runtime.evaluate, Runtime.callF unctionOn and Runtime.compileScript
2 Runtime.evaluate with valid expression 2 Runtime.evaluate with valid expression
3 { 3 {
4 method : Debugger.scriptParsed 4 method : Debugger.scriptParsed
5 params : { 5 params : {
6 endColumn : 29 6 endColumn : 29
7 endLine : 0 7 endLine : 0
8 executionContextId : <executionContextId> 8 executionContextId : <executionContextId>
9 hasSourceURL : true 9 hasSourceURL : true
10 hash : 9D04F7335D1661503EAB9AF3EACAF92020803F34 10 hash : 9D04F7335D1661503EAB9AF3EACAF92020803F34
11 isLiveEdit : false 11 isLiveEdit : false
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 isModule : false 104 isModule : false
105 length : 1 105 length : 1
106 scriptId : <scriptId> 106 scriptId : <scriptId>
107 sourceMapURL : 107 sourceMapURL :
108 startColumn : 0 108 startColumn : 0
109 startLine : 0 109 startLine : 0
110 url : compile-script-syntax-error.js 110 url : compile-script-syntax-error.js
111 } 111 }
112 } 112 }
113 Runtime.compileScript persistScript: false (should be no script events) 113 Runtime.compileScript persistScript: false (should be no script events)
114 Runtime.evaluate compiled script with stack trace
115 {
116 method : Debugger.scriptParsed
117 params : {
118 endColumn : 8
119 endLine : 0
120 executionContextId : <executionContextId>
121 hasSourceURL : false
122 hash : A2185340E4E4F1BA4CB5762843D429DC872EBA18
123 isLiveEdit : false
124 isModule : false
125 length : 8
126 scriptId : <scriptId>
127 sourceMapURL :
128 startColumn : 0
129 startLine : 0
130 url :
131 }
132 }
133 {
134 method : Debugger.scriptParsed
135 params : {
136 endColumn : 39
137 endLine : 4
138 executionContextId : <executionContextId>
139 hasSourceURL : true
140 hash : 6AF4ED72C355E471C4E94D74464A25541932A242
141 isLiveEdit : false
142 isModule : false
143 length : 86
144 scriptId : <scriptId>
145 sourceMapURL :
146 stackTrace : {
147 callFrames : [
148 [0] : {
149 columnNumber : 2
150 functionName : fooTop
151 lineNumber : 10
152 scriptId : <scriptId>
153 url : top-frame.js
154 }
155 ]
156 }
157 startColumn : 0
158 startLine : 0
159 url : second-frame.js
160 }
161 }
162 {
163 method : Debugger.scriptParsed
164 params : {
165 endColumn : 4
166 endLine : 0
167 executionContextId : <executionContextId>
168 hasSourceURL : false
169 hash : 9D04F733E4E4F1BA4CB5762843D429DC872EBA18
170 isLiveEdit : false
171 isModule : false
172 length : 4
173 scriptId : <scriptId>
174 sourceMapURL :
175 stackTrace : {
176 callFrames : [
177 [0] : {
178 columnNumber : 6
179 functionName : foo
180 lineNumber : 2
181 scriptId : <scriptId>
182 url : second-frame.js
183 }
184 ]
185 }
186 startColumn : 0
187 startLine : 0
188 url :
189 }
190 }
191 Runtime.evaluate compile script error with stack trace
192 {
193 method : Debugger.scriptParsed
194 params : {
195 endColumn : 12
196 endLine : 0
197 executionContextId : <executionContextId>
198 hasSourceURL : false
199 hash : A218534034AA14704CB5762843D429DC872EBA18
200 isLiveEdit : false
201 isModule : false
202 length : 12
203 scriptId : <scriptId>
204 sourceMapURL :
205 startColumn : 0
206 startLine : 0
207 url :
208 }
209 }
210 {
211 method : Debugger.scriptParsed
212 params : {
213 endColumn : 48
214 endLine : 4
215 executionContextId : <executionContextId>
216 hasSourceURL : true
217 hash : 5FD5C8C38F2D44588A4078148B0BC5635152B0C0
218 isLiveEdit : false
219 isModule : false
220 length : 98
221 scriptId : <scriptId>
222 sourceMapURL :
223 stackTrace : {
224 callFrames : [
225 [0] : {
226 columnNumber : 2
227 functionName : fooTopFail
228 lineNumber : 20
229 scriptId : <scriptId>
230 url : top-frame-fail.js
231 }
232 ]
233 }
234 startColumn : 0
235 startLine : 0
236 url : second-frame-fail.js
237 }
238 }
239 {
240 method : Debugger.scriptFailedToParse
241 params : {
242 endColumn : 3
243 endLine : 0
244 executionContextId : <executionContextId>
245 hasSourceURL : false
246 hash : 9D04F7336C348CA34CB5762843D429DC872EBA18
247 isModule : false
248 length : 3
249 scriptId : <scriptId>
250 sourceMapURL :
251 stackTrace : {
252 callFrames : [
253 [0] : {
254 columnNumber : 6
255 functionName : fooFail
256 lineNumber : 2
257 scriptId : <scriptId>
258 url : second-frame-fail.js
259 }
260 ]
261 }
262 startColumn : 0
263 startLine : 0
264 url :
265 }
266 }
OLDNEW
« no previous file with comments | « test/inspector/debugger/script-parsed-for-runtime-evaluate.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698