forked from catapult-project/catapult
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more utility functions to v2spa.
measureElement and measureText efficiently wrap getBoundingClientRect() to allow charts to position axes correctly. sha() wraps crypto.subtle.digest() to speed up session state ids (next CL). authorizationHeaders() wraps the Google Sign-In library, which is dynamically fetched by the google-signin component and so is not available for testing. Bug: catapult:catapult-project#4461 Change-Id: I74431b3a1a249a699885817ac0c4025eb045bffe Reviewed-on: https://chromium-review.googlesource.com/1214367 Commit-Queue: Ben Hayden <[email protected]> Reviewed-by: Simon Hatch <[email protected]>
- Loading branch information
1 parent
916e932
commit b930111
Showing
2 changed files
with
236 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters