commit | 81c9d30d7f1b3c1ab0f1856761f738cc81741322 | [log] [tgz] |
---|---|---|
author | Yuheng Huang <yuhengh@chromium.org> | Tue Feb 23 17:40:08 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 23 20:13:01 2021 |
tree | d29a43524faae5f89958ceb159ebe71d234ec5fe | |
parent | 0f23b3d6db7bfb0d5861660843d1cf9f90ea2272 [diff] |
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>
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.
Please see our contributor's guide