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

Side by Side Diff: test/inspector/runtime/run-script-async-expected.txt

Issue 2369753004: [inspector] added inspector test runner [part 5] (Closed)
Patch Set: addressed comments Created 4 years, 2 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/runtime/run-script-async.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
(Empty)
1 Tests that Runtime.compileScript and Runtime.runScript work with awaitPromise fl ag.
2
3 Running test: testRunAndCompileWithoutAgentEnable
4 {
5 code : 0
6 message : Runtime agent is not enabled
7 }
8 {
9 code : 0
10 message : Runtime agent is not enabled
11 }
12
13 Running test: testSyntaxErrorInScript
14 {
15 exceptionDetails : {
16 columnNumber : 1
17 exception : {
18 className : SyntaxError
19 description : SyntaxError: Unexpected token }
20 objectId : 0
21 subtype : error
22 type : object
23 }
24 exceptionId : 0
25 lineNumber : 1
26 scriptId : 0
27 text : Uncaught
28 }
29 }
30
31 Running test: testSyntaxErrorInEvalInScript
32 {
33 exceptionDetails : {
34 columnNumber : 0
35 exception : {
36 className : SyntaxError
37 description : SyntaxError: Unexpected token } at boo.js:2:2
38 objectId : 0
39 subtype : error
40 type : object
41 }
42 exceptionId : 0
43 lineNumber : 0
44 scriptId : 0
45 stackTrace : {
46 callFrames : [
47 [0] : {
48 columnNumber : 1
49 functionName :
50 lineNumber : 1
51 scriptId : 0
52 url : boo.js
53 }
54 ]
55 }
56 text : Uncaught
57 }
58 result : {
59 className : SyntaxError
60 description : SyntaxError: Unexpected token } at boo.js:2:2
61 objectId : [ObjectId]
62 subtype : error
63 type : object
64 }
65 }
66
67 Running test: testRunNotCompiledScript
68 {
69 code : 0
70 message : No script with given id
71 }
72
73 Running test: testRunCompiledScriptAfterAgentWasReenabled
74 {
75 code : 0
76 message : Runtime agent is not enabled
77 }
78 {
79 code : 0
80 message : No script with given id
81 }
82
83 Running test: testRunScriptWithPreview
84 {
85 result : {
86 className : Object
87 description : Object
88 objectId : [ObjectId]
89 preview : {
90 description : Object
91 overflow : false
92 properties : [
93 [0] : {
94 name : a
95 type : number
96 value : 1
97 }
98 ]
99 type : object
100 }
101 type : object
102 }
103 }
104
105 Running test: testRunScriptReturnByValue
106 {
107 result : {
108 type : object
109 value : {
110 a : 1
111 }
112 }
113 }
114
115 Running test: testAwaitNotPromise
116 {
117 code : 0
118 message : Result of the script execution is not a promise
119 }
120
121 Running test: testAwaitResolvedPromise
122 {
123 result : {
124 type : object
125 value : {
126 a : 1
127 }
128 }
129 }
130
131 Running test: testAwaitRejectedPromise
132 {
133 exceptionDetails : {
134 columnNumber : 0
135 exception : {
136 objectId : 0
137 type : object
138 value : {
139 a : 1
140 }
141 }
142 exceptionId : 0
143 lineNumber : 0
144 stackTrace : {
145 callFrames : [
146 ]
147 }
148 text : Uncaught (in promise)
149 }
150 result : {
151 type : object
152 value : {
153 a : 1
154 }
155 }
156 }
157
OLDNEW
« no previous file with comments | « test/inspector/runtime/run-script-async.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698