Add url to new tab API

There are 2 reasons for this change:
1. Using tab.Navigate(url) requires another round trip to the browser,
and there's check to wait until navigation is complete. In comparison
tabs.New(url) is much faster.
2. Using tab.Navigate(url) to a file location will throw an error
because the navigation is never complete, while tabs.New(url) works just
fine. We recently have a use case to measure download bar performance
that requires this change to make it work.

Change-Id: Iff7f375a628a04fa1416e1f5ae759d3ca952589d
Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/2665004
Reviewed-by: John Chen <johnchen@chromium.org>
Commit-Queue: Yuheng Huang <yuhengh@chromium.org>
5 files changed
tree: d29a43524faae5f89958ceb159ebe71d234ec5fe
  1. bin/
  2. catapult_build/
  3. common/
  4. dashboard/
  5. dependency_manager/
  6. devil/
  7. docs/
  8. experimental/
  9. firefighter/
  10. hooks/
  11. infra/
  12. netlog_viewer/
  13. systrace/
  14. telemetry/
  15. third_party/
  16. trace_processor/
  17. tracing/
  18. web_page_replay_go/
  19. .eslintignore
  20. .eslintrc
  21. .gcloudignore
  22. .gitignore
  23. .vpython
  24. AUTHORS
  25. BUILD.gn
  26. codereview.settings
  27. CONTRIBUTING.md
  28. generate_telemetry_build.py
  29. LICENSE
  30. navbar.md
  31. OWNERS
  32. PRESUBMIT.py
  33. pylintrc
  34. README.md
  35. WATCHLISTS
README.md

Catapult

Catapult is the home for several performance tools that span from gathering, displaying and analyzing performance data. This includes:

These tools were created by Chromium developers for performance analysis, testing, and monitoring of Chrome, but they can also be used for analyzing and monitoring websites, and eventually Android apps.

Contributing

Please see our contributor's guide