commit | d3cf8054269aecd2092c052b330b685d5659b8e7 | [log] [tgz] |
---|---|---|
author | Devlin Cronin <rdevlin.cronin@chromium.org> | Thu Aug 31 20:00:12 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 31 20:00:12 2023 |
tree | f441cd98456c22b8f77aa24ae9ef53e99ed46083 | |
parent | 1278c2ea7f3a8dee2c9af0ea928dd902d6a8a95e [diff] |
[Extensions] Improve JS in extension web socket API test Make two improvements to ExtensionWebSocketApiTest. SendingWebSocketMessagesResetsServiceWorkerIdleTime: * Prefer performance.now() over Date.now(). It's more accurate. * Add a flag for whether we reached the expected end of the back-and- forth communication with the web socket. Otherwise, we would erroneously pass the test if the web socket closed due to a different connection error. Bug: None Change-Id: I4d0ebb617661613f07f5177eaeda5a7cdb143099 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4823350 Auto-Submit: Devlin Cronin <rdevlin.cronin@chromium.org> Commit-Queue: Tim <tjudkins@chromium.org> Reviewed-by: Tim <tjudkins@chromium.org> Cr-Commit-Position: refs/heads/main@{#1190933}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.