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

Side by Side Diff: test/inspector/runtime/es6-module-expected.txt

Issue 2663743002: [inspector] added test infrastructure and test for es6 modules (Closed)
Patch Set: addressed comment Created 3 years, 10 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/es6-module.js ('k') | test/inspector/task-runner.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Checks basic ES6 modules support.
2 {
3 method : Debugger.scriptParsed
4 params : {
5 endColumn : 17
6 endLine : 5
7 executionContextId : <executionContextId>
8 hasSourceURL : false
9 hash : 9C014F7249BAFA12B91017817AD15091D01A9155
10 isLiveEdit : false
11 scriptId : <scriptId>
12 sourceMapURL :
13 startColumn : 0
14 startLine : 0
15 url : module1
16 }
17 }
18 {
19 method : Debugger.scriptParsed
20 params : {
21 endColumn : 17
22 endLine : 5
23 executionContextId : <executionContextId>
24 hasSourceURL : false
25 hash : 443A2FA24A6112E6B9101781E6A19B56BDC396D4
26 isLiveEdit : false
27 scriptId : <scriptId>
28 sourceMapURL :
29 startColumn : 0
30 startLine : 0
31 url : module2
32 }
33 }
34 {
35 method : Debugger.scriptParsed
36 params : {
37 endColumn : 0
38 endLine : 9
39 executionContextId : <executionContextId>
40 hasSourceURL : false
41 hash : 54D834614FBF9B389082DAE06CD3EFC499BEBF13
42 isLiveEdit : false
43 scriptId : <scriptId>
44 sourceMapURL :
45 startColumn : 0
46 startLine : 0
47 url : module3
48 }
49 }
50 console.log(module1)
51 foo (module1:2:10)
52 (anonymous) (module3:3:12)
53
54 console.log(42)
55 (anonymous) (module3:3:8)
56
57 console.log(module2)
58 foo (module2:2:10)
59 (anonymous) (module3:4:12)
60
61 console.log(239)
62 (anonymous) (module3:4:8)
63
64 {
65 method : Debugger.paused
66 params : {
67 callFrames : [
68 [0] : {
69 callFrameId : <callFrameId>
70 functionLocation : {
71 columnNumber : 0
72 lineNumber : 0
73 scriptId : <scriptId>
74 }
75 functionName :
76 location : {
77 columnNumber : 0
78 lineNumber : 7
79 scriptId : <scriptId>
80 }
81 scopeChain : [
82 [0] : {
83 endLocation : {
84 columnNumber : 0
85 lineNumber : 8
86 scriptId : <scriptId>
87 }
88 object : {
89 className : Object
90 description : Object
91 objectId : <objectId>
92 type : object
93 }
94 startLocation : {
95 columnNumber : 0
96 lineNumber : 0
97 scriptId : <scriptId>
98 }
99 type : module
100 }
101 [1] : {
102 object : {
103 className : global
104 description : global
105 objectId : <objectId>
106 type : object
107 }
108 type : global
109 }
110 ]
111 this : {
112 type : undefined
113 }
114 }
115 ]
116 hitBreakpoints : [
117 ]
118 reason : other
119 }
120 }
121 {
122 id : <messageId>
123 result : {
124 result : [
125 [0] : {
126 configurable : true
127 enumerable : true
128 isOwn : true
129 name : foo1
130 value : {
131 className : Function
132 description : function foo() { console.log('module1'); r eturn 42; }
133 objectId : <objectId>
134 type : function
135 }
136 writable : true
137 }
138 [1] : {
139 configurable : true
140 enumerable : true
141 isOwn : true
142 name : foo2
143 value : {
144 className : Function
145 description : function foo() { console.log('module2'); r eturn 239; }
146 objectId : <objectId>
147 type : function
148 }
149 writable : true
150 }
151 [2] : {
152 configurable : true
153 enumerable : true
154 isOwn : true
155 name : a1
156 value : {
157 description : 1
158 type : number
159 value : 1
160 }
161 writable : true
162 }
163 [3] : {
164 configurable : true
165 enumerable : true
166 isOwn : true
167 name : a2
168 value : {
169 description : 2
170 type : number
171 value : 2
172 }
173 writable : true
174 }
175 ]
176 }
177 }
178 {
179 method : Debugger.scriptFailedToParse
180 params : {
181 endColumn : 1
182 endLine : 0
183 executionContextId : <executionContextId>
184 hasSourceURL : false
185 hash : FF746120E4E4F1BA4CB5762843D429DC872EBA18
186 scriptId : <scriptId>
187 sourceMapURL :
188 startColumn : 0
189 startLine : 0
190 url : module4
191 }
192 }
193 {
194 method : Runtime.exceptionThrown
195 params : {
196 exceptionDetails : {
197 columnNumber : 0
198 exception : {
199 className : SyntaxError
200 description : SyntaxError: Unexpected token }
201 objectId : <objectId>
202 preview : {
203 description : SyntaxError: Unexpected token }
204 overflow : false
205 properties : [
206 [0] : {
207 name : stack
208 type : string
209 value : SyntaxError: Unexpected token }
210 }
211 [1] : {
212 name : message
213 type : string
214 value : Unexpected token }
215 }
216 ]
217 subtype : error
218 type : object
219 }
220 subtype : error
221 type : object
222 }
223 exceptionId : <exceptionId>
224 executionContextId : <executionContextId>
225 lineNumber : 0
226 scriptId : <scriptId>
227 stackTrace : {
228 callFrames : [
229 ]
230 }
231 text : Uncaught SyntaxError: Unexpected token }
232 url : module4
233 }
234 timestamp : <timestamp>
235 }
236 }
OLDNEW
« no previous file with comments | « test/inspector/runtime/es6-module.js ('k') | test/inspector/task-runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698