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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: test/inspector/debugger/script-parsed-for-runtime-evaluate-expected.txt
diff --git a/test/inspector/debugger/script-parsed-for-runtime-evaluate-expected.txt b/test/inspector/debugger/script-parsed-for-runtime-evaluate-expected.txt
index e5eb11ef00e10de617a80eab4db1edfaad050644..a83356e840a4ab47f3558fe2907f232b7ac1bd9f 100644
--- a/test/inspector/debugger/script-parsed-for-runtime-evaluate-expected.txt
+++ b/test/inspector/debugger/script-parsed-for-runtime-evaluate-expected.txt
@@ -1,4 +1,4 @@
-Checks that inspector reports script compiled in Runtime.evaluate,Runtime.callFunctionOn and Runtime.compileScript
+Checks that inspector reports script compiled in Runtime.evaluate, Runtime.callFunctionOn and Runtime.compileScript
Runtime.evaluate with valid expression
{
method : Debugger.scriptParsed
@@ -111,3 +111,108 @@ Runtime.compileScript with syntax error
}
}
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 : A2185340E4E4F1BA4CB5762843D429DC872EBA18
+ 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 : 6AF4ED72C355E471C4E94D74464A25541932A242
+ isLiveEdit : false
+ isModule : false
+ length : 86
+ scriptId : <scriptId>
+ sourceMapURL :
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 2
+ functionName : fooTop
+ lineNumber : 10
+ scriptId : <scriptId>
+ url : top-frame.js
+ }
+ [1] : {
+ columnNumber : 0
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+ startColumn : 0
+ startLine : 0
+ url : second-frame.js
+ }
+}
+{
+ method : Debugger.scriptParsed
+ params : {
+ endColumn : 4
+ endLine : 0
+ executionContextId : <executionContextId>
+ hasSourceURL : false
+ hash : 9D04F733E4E4F1BA4CB5762843D429DC872EBA18
+ isLiveEdit : false
+ isModule : false
+ length : 4
+ scriptId : <scriptId>
+ sourceMapURL :
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 6
+ functionName : foo
+ lineNumber : 2
+ scriptId : <scriptId>
+ url : second-frame.js
+ }
+ [1] : {
+ columnNumber : 4
+ functionName :
+ lineNumber : 4
+ scriptId : <scriptId>
+ url : second-frame.js
+ }
+ [2] : {
+ columnNumber : 2
+ functionName : fooTop
+ lineNumber : 10
+ scriptId : <scriptId>
+ url : top-frame.js
+ }
+ [3] : {
+ columnNumber : 0
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+ startColumn : 0
+ startLine : 0
+ url :
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698