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

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: [Devtools] Add stacktrace to protocol for scriptParsed event 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
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 [1] : {
156 columnNumber : 0
157 functionName :
158 lineNumber : 0
159 scriptId : <scriptId>
160 url :
161 }
162 ]
163 }
164 startColumn : 0
165 startLine : 0
166 url : second-frame.js
167 }
168 }
169 {
170 method : Debugger.scriptParsed
171 params : {
172 endColumn : 4
173 endLine : 0
174 executionContextId : <executionContextId>
175 hasSourceURL : false
176 hash : 9D04F733E4E4F1BA4CB5762843D429DC872EBA18
177 isLiveEdit : false
178 isModule : false
179 length : 4
180 scriptId : <scriptId>
181 sourceMapURL :
182 stackTrace : {
183 callFrames : [
184 [0] : {
185 columnNumber : 6
186 functionName : foo
187 lineNumber : 2
188 scriptId : <scriptId>
189 url : second-frame.js
190 }
191 [1] : {
192 columnNumber : 4
193 functionName :
194 lineNumber : 4
195 scriptId : <scriptId>
196 url : second-frame.js
197 }
198 [2] : {
199 columnNumber : 2
200 functionName : fooTop
201 lineNumber : 10
202 scriptId : <scriptId>
203 url : top-frame.js
204 }
205 [3] : {
206 columnNumber : 0
207 functionName :
208 lineNumber : 0
209 scriptId : <scriptId>
210 url :
211 }
212 ]
213 }
214 startColumn : 0
215 startLine : 0
216 url :
217 }
218 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698