Update enhanced traces handler logic

We discovered that script with large size could cause issues for enhanced traces while collecting traces, so we updated the traces to split large script into smaller chunks.
https://chromium-review.googlesource.com/c/v8/v8/+/5731354

This patch in dt-fe updates the logic in enhanced traces handler to handle small chunks of large script. Additionally, the handler ensures all the scripts come with auxData if possible as that is critical information for rehydrated session.

Bug: 337909145
Change-Id: I40dd5f56d4b4971847dedf459f736623a6d92280
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5732595
Commit-Queue: Jayson Chen <jaysonchen@microsoft.com>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
Commit-Queue: Robert Paveza <Rob.Paveza@microsoft.com>
Auto-Submit: Jayson Chen <jaysonchen@microsoft.com>
Commit-Queue: Paul Irish <paulirish@chromium.org>
4 files changed
tree: 1618e4ab2360d4ea7e7a8d25ba0c231d5afb8779
  1. .vscode/
  2. build_overrides/
  3. config/
  4. docs/
  5. extension-api/
  6. extensions/
  7. front_end/
  8. inspector_overlay/
  9. node_modules/
  10. scripts/
  11. test/
  12. third_party/
  13. v8/
  14. .clang-format
  15. .editorconfig
  16. .eslintignore
  17. .eslintrc.js
  18. .git-blame-ignore-revs
  19. .gitallowed
  20. .gitattributes
  21. .gitignore
  22. .gitmodules
  23. .gn
  24. .mailmap
  25. .npmignore
  26. .npmrc
  27. .style.yapf
  28. .stylelintignore
  29. .stylelintrc.json
  30. AUTHORS
  31. BUILD.gn
  32. codereview.settings
  33. DEPS
  34. LICENSE
  35. OWNERS
  36. package-lock.json
  37. package.json
  38. PRESUBMIT.py
  39. README.md
  40. tsconfig.json
  41. WATCHLISTS
README.md

Chrome DevTools frontend

npm package

The client-side of the Chrome DevTools, including all TypeScript & CSS to run the DevTools webapp.

Source code and documentation

The frontend is available on chromium.googlesource.com. Check out the project documentation for instructions to set up, use, and maintain a DevTools front-end checkout, as well as design guidelines, and architectural documentation.

Additional references

Source mirrors

DevTools frontend repository is mirrored on GitHub.

DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.

The version number of the npm package (e.g. 1.0.373466) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.

Getting in touch