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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async-expected.txt

Issue 2249743006: [DevTools] Fill ExceptionDetails with more details, unify usage across protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: browser test Created 4 years, 4 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 CONSOLE ERROR: Uncaught (in promise) #<Object> 1 CONSOLE ERROR: Uncaught (in promise) #<Object>
2 Tests that Runtime.compileScript and Runtime.runScript work with awaitPromise fl ag. 2 Tests that Runtime.compileScript and Runtime.runScript work with awaitPromise fl ag.
3 3
4 Running test: testRunAndCompileWithoutAgentEnable 4 Running test: testRunAndCompileWithoutAgentEnable
5 { 5 {
6 code : 0 6 code : 0
7 message : Runtime agent is not enabled 7 message : Runtime agent is not enabled
8 } 8 }
9 { 9 {
10 code : 0 10 code : 0
11 message : Runtime agent is not enabled 11 message : Runtime agent is not enabled
12 } 12 }
13 13
14 Running test: testSyntaxErrorInScript 14 Running test: testSyntaxErrorInScript
15 { 15 {
16 exceptionDetails : { 16 exceptionDetails : {
17 columnNumber : 1 17 columnNumber : 1
18 exception : {
19 className : SyntaxError
20 description : SyntaxError: Unexpected token }
21 objectId : 0
22 subtype : error
23 type : object
24 }
25 exceptionId : 0
18 lineNumber : 1 26 lineNumber : 1
19 scriptId : 0 27 scriptId : 0
20 text : Uncaught SyntaxError: Unexpected token } 28 text : Uncaught
21 } 29 }
22 } 30 }
23 31
24 Running test: testSyntaxErrorInEvalInScript 32 Running test: testSyntaxErrorInEvalInScript
25 { 33 {
26 exceptionDetails : { 34 exceptionDetails : {
27 columnNumber : 0 35 columnNumber : 0
36 exception : {
37 className : SyntaxError
38 description : SyntaxError: Unexpected token } at boo.js:2:2
39 objectId : 0
40 subtype : error
41 type : object
42 }
43 exceptionId : 0
28 lineNumber : 0 44 lineNumber : 0
29 scriptId : 0 45 scriptId : 0
30 stackTrace : { 46 stackTrace : {
31 callFrames : [ 47 callFrames : [
32 [0] : { 48 [0] : {
33 columnNumber : 1 49 columnNumber : 1
34 functionName : 50 functionName :
35 lineNumber : 1 51 lineNumber : 1
36 scriptId : 0 52 scriptId : 0
37 url : boo.js 53 url : boo.js
38 } 54 }
39 ] 55 ]
40 } 56 }
41 text : Uncaught SyntaxError: Unexpected token } 57 text : Uncaught
42 } 58 }
43 result : { 59 result : {
44 className : SyntaxError 60 className : SyntaxError
45 description : SyntaxError: Unexpected token } at boo.js:2:2 61 description : SyntaxError: Unexpected token } at boo.js:2:2
46 objectId : [ObjectId] 62 objectId : [ObjectId]
47 subtype : error 63 subtype : error
48 type : object 64 type : object
49 } 65 }
50 } 66 }
51 67
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 value : { 126 value : {
111 a : 1 127 a : 1
112 } 128 }
113 } 129 }
114 } 130 }
115 131
116 Running test: testAwaitRejectedPromise 132 Running test: testAwaitRejectedPromise
117 { 133 {
118 exceptionDetails : { 134 exceptionDetails : {
119 columnNumber : 0 135 columnNumber : 0
136 exception : {
137 objectId : 0
138 type : object
139 value : {
140 a : 1
141 }
142 }
143 exceptionId : 0
120 lineNumber : 0 144 lineNumber : 0
121 scriptId :
122 stackTrace : { 145 stackTrace : {
123 callFrames : [ 146 callFrames : [
124 ] 147 ]
125 } 148 }
126 text : Promise was rejected 149 text : Uncaught (in promise)
127 } 150 }
128 result : { 151 result : {
129 type : object 152 type : object
130 value : { 153 value : {
131 a : 1 154 a : 1
132 } 155 }
133 } 156 }
134 } 157 }
135 158
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698