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

Side by Side Diff: LayoutTests/inspector/sources/debugger/breakpoint-manager-expected.txt

Issue 1153923005: DevTools: shard inspector/debugger tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 Tests BreakpointManager class.
2
3
4 Running: testSetBreakpoint
5 Created breakpoints manager
6 Dumping Storage
7 Adding script: a.js
8 Adding UISourceCode: a.js
9 Setting breakpoint at a.js:30:0 enabled:true condition:
10 breakpointAdded(a.js, 30, 0, , true)
11 debuggerModel.setBreakpoint(a.js:30:)
12 breakpointRemoved(a.js, 30, 0)
13 breakpointAdded(a.js, 30, 0, , true)
14 Location created: a.js:30
15 Dumping Breakpoint Locations
16 UISourceCode (url='a.js', uri='a.js')
17 Location: (30, 0)
18 Dumping Storage
19 a.js:30 enabled:true condition:
20 Resetting breakpoint manager
21 breakpointRemoved(a.js, 30, 0)
22 Location disposed: a.js:30
23 debuggerModel.removeBreakpoint(a.js:30)
24 Dumping Breakpoint Locations
25
26 Running: testSetDisabledBreakpoint
27 Created breakpoints manager
28 Dumping Storage
29 Adding script: a.js
30 Adding UISourceCode: a.js
31 Setting breakpoint at a.js:30:0 enabled:false condition:
32 breakpointAdded(a.js, 30, 0, , false)
33 Dumping Breakpoint Locations
34 UISourceCode (url='a.js', uri='a.js')
35 Location: (30, 0)
36 Dumping Storage
37 a.js:30 enabled:false condition:
38 Enabling breakpoint
39 breakpointRemoved(a.js, 30, 0)
40 breakpointAdded(a.js, 30, 0, , true)
41 debuggerModel.setBreakpoint(a.js:30:)
42 breakpointRemoved(a.js, 30, 0)
43 breakpointAdded(a.js, 30, 0, , true)
44 Location created: a.js:30
45 Dumping Breakpoint Locations
46 UISourceCode (url='a.js', uri='a.js')
47 Location: (30, 0)
48 Dumping Storage
49 a.js:30 enabled:true condition:
50 Resetting breakpoint manager
51 breakpointRemoved(a.js, 30, 0)
52 Location disposed: a.js:30
53 debuggerModel.removeBreakpoint(a.js:30)
54 Dumping Breakpoint Locations
55
56 Running: testSetConditionalBreakpoint
57 Created breakpoints manager
58 Dumping Storage
59 Adding script: a.js
60 Adding UISourceCode: a.js
61 Setting breakpoint at a.js:30:0 enabled:true condition:condition
62 breakpointAdded(a.js, 30, 0, condition, true)
63 debuggerModel.setBreakpoint(a.js:30:condition)
64 breakpointRemoved(a.js, 30, 0)
65 breakpointAdded(a.js, 30, 0, condition, true)
66 Location created: a.js:30
67 Dumping Breakpoint Locations
68 UISourceCode (url='a.js', uri='a.js')
69 Location: (30, 0)
70 Dumping Storage
71 a.js:30 enabled:true condition:condition
72 Updating condition
73 breakpointRemoved(a.js, 30, 0)
74 breakpointAdded(a.js, 30, 0, , true)
75 Location disposed: a.js:30
76 debuggerModel.removeBreakpoint(a.js:30)
77 debuggerModel.setBreakpoint(a.js:30:)
78 breakpointRemoved(a.js, 30, 0)
79 breakpointAdded(a.js, 30, 0, , true)
80 Location created: a.js:30
81 Dumping Breakpoint Locations
82 UISourceCode (url='a.js', uri='a.js')
83 Location: (30, 0)
84 Dumping Storage
85 a.js:30 enabled:true condition:
86 Resetting breakpoint manager
87 breakpointRemoved(a.js, 30, 0)
88 Location disposed: a.js:30
89 debuggerModel.removeBreakpoint(a.js:30)
90 Dumping Breakpoint Locations
91
92 Running: testRestoreBreakpoints
93 Created breakpoints manager
94 Dumping Storage
95 a.js:10 enabled:true condition:foo == bar
96 a.js:20 enabled:false condition:
97 b.js:3 enabled:true condition:
98 Adding script: a.js
99 Adding UISourceCode: a.js
100 breakpointAdded(a.js, 10, 0, foo == bar, true)
101 debuggerModel.setBreakpoint(a.js:10:foo == bar)
102 breakpointAdded(a.js, 20, 0, , false)
103 breakpointRemoved(a.js, 10, 0)
104 breakpointAdded(a.js, 10, 0, foo == bar, true)
105 Location created: a.js:10
106 Dumping Breakpoint Locations
107 UISourceCode (url='a.js', uri='a.js')
108 Location: (10, 0)
109 Location: (20, 0)
110 Dumping Storage
111 a.js:10 enabled:true condition:foo == bar
112 a.js:20 enabled:false condition:
113 b.js:3 enabled:true condition:
114 Resetting breakpoint manager
115 breakpointRemoved(a.js, 20, 0)
116 breakpointRemoved(a.js, 10, 0)
117 Location disposed: a.js:10
118 debuggerModel.removeBreakpoint(a.js:10)
119 Dumping Breakpoint Locations
120
121 Running: testRestoreBreakpointsTwice
122 Created breakpoints manager
123 Dumping Storage
124 a.js:10 enabled:true condition:foo == bar
125 a.js:20 enabled:false condition:
126 b.js:3 enabled:true condition:
127 Adding script: a.js
128 Adding UISourceCode: a.js
129 breakpointAdded(a.js, 10, 0, foo == bar, true)
130 debuggerModel.setBreakpoint(a.js:10:foo == bar)
131 breakpointAdded(a.js, 20, 0, , false)
132 Adding script: a.js
133 Adding UISourceCode: a.js
134 breakpointRemoved(a.js, 10, 0)
135 breakpointAdded(a.js, 10, 0, foo == bar, true)
136 Location created: a.js:10
137 Dumping Breakpoint Locations
138 UISourceCode (url='a.js', uri='a.js')
139 Location: (10, 0)
140 Location: (20, 0)
141 Dumping Storage
142 a.js:10 enabled:true condition:foo == bar
143 a.js:20 enabled:false condition:
144 b.js:3 enabled:true condition:
145 Resetting breakpoint manager
146 breakpointRemoved(a.js, 20, 0)
147 breakpointRemoved(a.js, 10, 0)
148 Location disposed: a.js:10
149 debuggerModel.removeBreakpoint(a.js:10)
150 Dumping Breakpoint Locations
151
152 Running: testRemoveBreakpoints
153 Created breakpoints manager
154 Dumping Storage
155 a.js:10 enabled:true condition:foo == bar
156 a.js:20 enabled:false condition:
157 b.js:3 enabled:true condition:
158 Adding script: a.js
159 Adding UISourceCode: a.js
160 breakpointAdded(a.js, 10, 0, foo == bar, true)
161 debuggerModel.setBreakpoint(a.js:10:foo == bar)
162 breakpointAdded(a.js, 20, 0, , false)
163 breakpointRemoved(a.js, 10, 0)
164 breakpointAdded(a.js, 10, 0, foo == bar, true)
165 Location created: a.js:10
166 Dumping Breakpoint Locations
167 UISourceCode (url='a.js', uri='a.js')
168 Location: (10, 0)
169 Location: (20, 0)
170 Setting breakpoint at a.js:30:0 enabled:true condition:
171 breakpointAdded(a.js, 30, 0, , true)
172 debuggerModel.setBreakpoint(a.js:30:)
173 breakpointRemoved(a.js, 30, 0)
174 breakpointAdded(a.js, 30, 0, , true)
175 Location created: a.js:30
176 Dumping Breakpoint Locations
177 UISourceCode (url='a.js', uri='a.js')
178 Location: (10, 0)
179 Location: (20, 0)
180 Location: (30, 0)
181 Removing breakpoint at a.js:30:0
182 breakpointRemoved(a.js, 30, 0)
183 Location disposed: a.js:30
184 debuggerModel.removeBreakpoint(a.js:30)
185 Removing breakpoint at a.js:10:0
186 breakpointRemoved(a.js, 10, 0)
187 Location disposed: a.js:10
188 debuggerModel.removeBreakpoint(a.js:10)
189 Removing breakpoint at a.js:20:0
190 breakpointRemoved(a.js, 20, 0)
191 Dumping Breakpoint Locations
192 Dumping Storage
193 b.js:3 enabled:true condition:
194 Resetting breakpoint manager
195 Dumping Breakpoint Locations
196
197 Running: testSetBreakpointThatShifts
198 Created breakpoints manager
199 Dumping Storage
200 Adding script: a.js
201 Adding UISourceCode: a.js
202 Setting breakpoint at a.js:1015:0 enabled:true condition:
203 breakpointAdded(a.js, 1015, 0, , true)
204 debuggerModel.setBreakpoint(a.js:1015:)
205 breakpointRemoved(a.js, 1015, 0)
206 breakpointAdded(a.js, 1025, 0, , true)
207 Location created: a.js:1025
208 Dumping Breakpoint Locations
209 UISourceCode (url='a.js', uri='a.js')
210 Location: (1025, 0)
211 Dumping Storage
212 a.js:1015 enabled:true condition:
213 Resetting breakpoint manager
214 breakpointRemoved(a.js, 1025, 0)
215 Location disposed: a.js:1025
216 debuggerModel.removeBreakpoint(a.js:1015)
217 Dumping Breakpoint Locations
218
219 Running: testSetBreakpointThatShiftsTwice
220 Created breakpoints manager
221 Dumping Storage
222 Adding script: a.js
223 Adding UISourceCode: a.js
224 Setting breakpoint at a.js:1015:0 enabled:true condition:
225 breakpointAdded(a.js, 1015, 0, , true)
226 debuggerModel.setBreakpoint(a.js:1015:)
227 breakpointRemoved(a.js, 1015, 0)
228 breakpointAdded(a.js, 1025, 0, , true)
229 Location created: a.js:1025
230 Dumping Breakpoint Locations
231 UISourceCode (url='a.js', uri='a.js')
232 Location: (1025, 0)
233 Setting breakpoint at a.js:1015:0 enabled:true condition:
234 breakpointAdded(a.js, 1015, 0, , true)
235 debuggerModel.setBreakpoint(a.js:1015:)
236 breakpointRemoved(a.js, 1015, 0)
237 Dumping Breakpoint Locations
238 UISourceCode (url='a.js', uri='a.js')
239 Location: (1025, 0)
240 Dumping Storage
241 a.js:1015 enabled:true condition:
242 Resetting breakpoint manager
243 breakpointRemoved(a.js, 1025, 0)
244 Location disposed: a.js:1025
245 debuggerModel.removeBreakpoint(a.js:1015)
246 Dumping Breakpoint Locations
247
248 Running: testSetBreakpointOutsideScript
249 Created breakpoints manager
250 Dumping Storage
251 Adding script: a.js
252 Adding UISourceCode: a.js
253 breakpointAdded(a.js, 2500, 0, , true)
254 debuggerModel.setBreakpoint(a.js:2500:)
255 Dumping Breakpoint Locations
256 UISourceCode (url='a.js', uri='a.js')
257 Location: (2500, 0)
258 Dumping Storage
259 a.js:2500 enabled:true condition:
260 Resetting breakpoint manager
261 breakpointRemoved(a.js, 2500, 0)
262 debuggerModel.removeBreakpoint(a.js:2500)
263 Dumping Breakpoint Locations
264
265 Running: testNavigation
266 Created breakpoints manager
267 Dumping Storage
268 a.js:10 enabled:true condition:foo == bar
269 a.js:20 enabled:false condition:
270 b.js:3 enabled:true condition:
271 Adding script: a.js
272 Adding UISourceCode: a.js
273 breakpointAdded(a.js, 10, 0, foo == bar, true)
274 debuggerModel.setBreakpoint(a.js:10:foo == bar)
275 breakpointAdded(a.js, 20, 0, , false)
276 breakpointRemoved(a.js, 10, 0)
277 breakpointAdded(a.js, 10, 0, foo == bar, true)
278 Location created: a.js:10
279 Dumping Breakpoint Locations
280 UISourceCode (url='a.js', uri='a.js')
281 Location: (10, 0)
282 Location: (20, 0)
283
284 Navigating to B.
285 Resetting debugger.
286 Resetting workspace.
287 breakpointRemoved(a.js, 10, 0)
288 Location disposed: a.js:10
289 breakpointRemoved(a.js, 20, 0)
290 Adding script: b.js
291 Adding UISourceCode: b.js
292 breakpointAdded(b.js, 3, 0, , true)
293 debuggerModel.setBreakpoint(b.js:3:)
294 breakpointRemoved(b.js, 3, 0)
295 breakpointAdded(b.js, 3, 0, , true)
296 Location created: b.js:3
297 Dumping Breakpoint Locations
298 UISourceCode (url='b.js', uri='b.js')
299 Location: (3, 0)
300
301 Navigating back to A.
302 Resetting debugger.
303 Resetting workspace.
304 breakpointRemoved(b.js, 3, 0)
305 Location disposed: b.js:3
306 Resolving provisional breakpoint.
307 Adding script: a.js
308 breakpointAdded(a.js, 10, 0, foo == bar, true)
309 Location created: a.js:10
310 Adding UISourceCode: a.js
311 breakpointAdded(a.js, 20, 0, , false)
312 breakpointRemoved(a.js, 10, 0)
313 breakpointAdded(a.js, 10, 0, foo == bar, true)
314 Dumping Breakpoint Locations
315 UISourceCode (url='a.js', uri='a.js')
316 Location: (10, 0)
317 Location: (20, 0)
318 Dumping Storage
319 a.js:10 enabled:true condition:foo == bar
320 a.js:20 enabled:false condition:
321 b.js:3 enabled:true condition:
322 Resetting breakpoint manager
323 breakpointRemoved(a.js, 20, 0)
324 breakpointRemoved(a.js, 10, 0)
325 Location disposed: a.js:10
326 debuggerModel.removeBreakpoint(a.js:10)
327 debuggerModel.removeBreakpoint(b.js:3)
328 Dumping Breakpoint Locations
329
330 Running: testSourceMapping
331 Created breakpoints manager
332 Dumping Storage
333 a.js:10 enabled:true condition:foo == bar
334 a.js:20 enabled:true condition:
335 Adding script: a.js
336 Adding UISourceCode: a.js
337 breakpointAdded(a.js, 10, 0, foo == bar, true)
338 debuggerModel.setBreakpoint(a.js:10:foo == bar)
339 breakpointAdded(a.js, 20, 0, , true)
340 debuggerModel.setBreakpoint(a.js:20:)
341 breakpointRemoved(a.js, 10, 0)
342 breakpointAdded(a.js, 10, 0, foo == bar, true)
343 Location created: a.js:10
344 breakpointRemoved(a.js, 20, 0)
345 breakpointAdded(a.js, 20, 0, , true)
346 Location created: a.js:20
347 Dumping Breakpoint Locations
348 UISourceCode (url='a.js', uri='a.js')
349 Location: (10, 0)
350 Location: (20, 0)
351
352 Toggling source mapping.
353 breakpointRemoved(a.js, 10, 0)
354 breakpointAdded(a.js, 20, 0, foo == bar, true)
355 breakpointRemoved(a.js, 20, 0)
356 breakpointAdded(a.js, 30, 0, , true)
357 Dumping Breakpoint Locations
358 UISourceCode (url='a.js', uri='a.js')
359 Location: (20, 0)
360 Location: (30, 0)
361
362 Toggling source mapping back.
363 breakpointRemoved(a.js, 20, 0)
364 breakpointAdded(a.js, 10, 0, foo == bar, true)
365 breakpointRemoved(a.js, 30, 0)
366 breakpointAdded(a.js, 20, 0, , true)
367 Dumping Breakpoint Locations
368 UISourceCode (url='a.js', uri='a.js')
369 Location: (10, 0)
370 Location: (20, 0)
371 Dumping Storage
372 a.js:10 enabled:true condition:foo == bar
373 a.js:20 enabled:true condition:
374 Resetting breakpoint manager
375 breakpointRemoved(a.js, 10, 0)
376 Location disposed: a.js:10
377 debuggerModel.removeBreakpoint(a.js:10)
378 breakpointRemoved(a.js, 20, 0)
379 Location disposed: a.js:20
380 debuggerModel.removeBreakpoint(a.js:20)
381 Dumping Breakpoint Locations
382
383 Running: testProvisionalBreakpointsResolve
384 Created breakpoints manager
385 Dumping Storage
386 a.js:10 enabled:true condition:foo == bar
387 Adding script: a.js
388 Adding UISourceCode: a.js
389 breakpointAdded(a.js, 10, 0, foo == bar, true)
390 debuggerModel.setBreakpoint(a.js:10:foo == bar)
391 breakpointRemoved(a.js, 10, 0)
392 breakpointAdded(a.js, 10, 0, foo == bar, true)
393 Location created: a.js:10
394 Dumping Breakpoint Locations
395 UISourceCode (url='a.js', uri='a.js')
396 Location: (10, 0)
397 Resetting debugger.
398 Resetting workspace.
399 breakpointRemoved(a.js, 10, 0)
400 Location disposed: a.js:10
401 Resolving provisional breakpoint.
402 Adding script: a.js
403 breakpointAdded(a.js, 11, 0, foo == bar, true)
404 Location created: a.js:11
405 Dumping Breakpoint Locations
406 UISourceCode (url='a.js', uri='debugger:/VMa.js a.js')
407 Location: (11, 0)
408 Dumping Storage
409 a.js:10 enabled:true condition:foo == bar
410 Resetting breakpoint manager
411 breakpointRemoved(a.js, 11, 0)
412 Location disposed: a.js:11
413 debuggerModel.removeBreakpoint(a.js:10)
414 Dumping Breakpoint Locations
415
416 Running: testSourceMappingReload
417 Created breakpoints manager
418 Dumping Storage
419 b.js:20 enabled:true condition:foo == bar
420
421 Adding files:
422 Adding script: a.js
423 Adding UISourceCode: a.js
424 Adding UISourceCode: b.js
425 breakpointAdded(b.js, 20, 0, foo == bar, true)
426 debuggerModel.setBreakpoint(b.js:20:foo == bar)
427
428 Toggling source mapping.
429 debuggerModel.removeBreakpoint(b.js:20)
430 debuggerModel.setBreakpoint(a.js:10:foo == bar)
431 breakpointRemoved(b.js, 20, 0)
432 breakpointAdded(b.js, 20, 0, foo == bar, true)
433 Location created: a.js:10
434 Dumping Breakpoint Locations
435 UISourceCode (url='b.js', uri='b.js')
436 Location: (20, 0)
437
438 Reloading:
439 Resetting debugger.
440 Resetting workspace.
441 breakpointRemoved(b.js, 20, 0)
442 Location disposed: a.js:10
443
444 Adding files:
445 Adding script: a.js
446 breakpointAdded(a.js, 10, 0, foo == bar, true)
447 Location created: a.js:10
448 Adding UISourceCode: a.js
449 breakpointRemoved(a.js, 10, 0)
450 breakpointAdded(a.js, 10, 0, foo == bar, true)
451 Adding UISourceCode: b.js
452
453 Toggling source mapping.
454 breakpointRemoved(a.js, 10, 0)
455 breakpointAdded(b.js, 20, 0, foo == bar, true)
456 Dumping Breakpoint Locations
457 UISourceCode (url='b.js', uri='b.js')
458 Location: (20, 0)
459 Dumping Storage
460 b.js:20 enabled:true condition:foo == bar
461 Resetting breakpoint manager
462 breakpointRemoved(b.js, 20, 0)
463 Location disposed: a.js:10
464 debuggerModel.removeBreakpoint(a.js:10)
465 Dumping Breakpoint Locations
466
467 Running: testBreakpointInCollectedReload
468 Created breakpoints manager
469 Dumping Storage
470
471 Adding file without script:
472 Adding UISourceCode: a.js
473
474 Setting breakpoint:
475 Setting breakpoint at a.js:10:0 enabled:true condition:
476 breakpointAdded(a.js, 10, 0, , true)
477 debuggerModel.setBreakpoint(a.js:10:)
478 Dumping Breakpoint Locations
479 UISourceCode (url='a.js', uri='a.js')
480 Location: (10, 0)
481
482 Reloading:
483 Resetting debugger.
484 Resetting workspace.
485 breakpointRemoved(a.js, 10, 0)
486
487 Adding file with script:
488 Adding script: a.js
489 Adding UISourceCode: a.js
490 breakpointAdded(a.js, 10, 0, , true)
491
492 Emulating breakpoint resolved event:
493 breakpointRemoved(a.js, 10, 0)
494 breakpointAdded(a.js, 10, 0, , true)
495 Location created: a.js:10
496
497 Make sure we don't do any unnecessary breakpoint actions:
498 Dumping Breakpoint Locations
499 UISourceCode (url='a.js', uri='a.js')
500 Location: (10, 0)
501 Dumping Storage
502 a.js:10 enabled:true condition:
503 Resetting breakpoint manager
504 breakpointRemoved(a.js, 10, 0)
505 Location disposed: a.js:10
506 debuggerModel.removeBreakpoint(a.js:10)
507 Dumping Breakpoint Locations
508
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698