Commit 948827b
Fixing flipped logic in TimelinePanel export trace.
This CL fixes some logic that is flipped in the recently added export
trace dialog.
Before the fix: Script content will only be added to the exported trace
if "Include Script Content" and "Include Sourcemap" are BOTH selected,
something similar happening to "Include Sourcemap"
After the fix: Script content will be added correctly if the "Include
Script Content" checkbox is selected, same for the "Include Sourcemap"
checkbox.
I added a test for this behavior.
Bug: 438908750
Change-Id: I0d08ca31361788a7fb168498775a42a6fa5c3ec1
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6854692
Reviewed-by: Connor Clark <[email protected]>
Commit-Queue: Vidal Diazleal <[email protected]>1 parent 8d89cca commit 948827b
File tree
2 files changed
+42
-16
lines changed- front_end/panels/timeline
2 files changed
+42
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
| 315 | + | |
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
| |||
340 | 341 | | |
341 | 342 | | |
342 | 343 | | |
343 | | - | |
| 344 | + | |
| 345 | + | |
344 | 346 | | |
345 | 347 | | |
346 | 348 | | |
| |||
356 | 358 | | |
357 | 359 | | |
358 | 360 | | |
359 | | - | |
| 361 | + | |
360 | 362 | | |
361 | 363 | | |
362 | | - | |
| 364 | + | |
| 365 | + | |
363 | 366 | | |
364 | 367 | | |
365 | 368 | | |
| |||
371 | 374 | | |
372 | 375 | | |
373 | 376 | | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
374 | 397 | | |
375 | 398 | | |
376 | 399 | | |
| |||
407 | 430 | | |
408 | 431 | | |
409 | 432 | | |
410 | | - | |
| 433 | + | |
| 434 | + | |
411 | 435 | | |
412 | 436 | | |
413 | 437 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1409 | 1409 | | |
1410 | 1410 | | |
1411 | 1411 | | |
1412 | | - | |
1413 | | - | |
| 1412 | + | |
1414 | 1413 | | |
1415 | 1414 | | |
1416 | 1415 | | |
| |||
1442 | 1441 | | |
1443 | 1442 | | |
1444 | 1443 | | |
1445 | | - | |
1446 | | - | |
1447 | | - | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
1448 | 1449 | | |
1449 | 1450 | | |
1450 | 1451 | | |
| |||
1460 | 1461 | | |
1461 | 1462 | | |
1462 | 1463 | | |
1463 | | - | |
| 1464 | + | |
| 1465 | + | |
1464 | 1466 | | |
1465 | 1467 | | |
1466 | 1468 | | |
1467 | 1469 | | |
1468 | 1470 | | |
1469 | 1471 | | |
1470 | 1472 | | |
1471 | | - | |
| 1473 | + | |
1472 | 1474 | | |
1473 | | - | |
| 1475 | + | |
1474 | 1476 | | |
1475 | 1477 | | |
1476 | | - | |
1477 | | - | |
| 1478 | + | |
| 1479 | + | |
1478 | 1480 | | |
1479 | 1481 | | |
1480 | 1482 | | |
| |||
1483 | 1485 | | |
1484 | 1486 | | |
1485 | 1487 | | |
1486 | | - | |
| 1488 | + | |
1487 | 1489 | | |
1488 | 1490 | | |
1489 | 1491 | | |
| |||
0 commit comments