commit | 336ee21faa50626cdb760da8fccea0cd522f77f2 | [log] [tgz] |
---|---|---|
author | Kenichi Ishibashi <bashi@chromium.org> | Mon Oct 15 08:11:50 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Oct 15 08:11:50 2018 |
tree | a88785f71359dbbefc2fbb77d44328679cc6e4ba | |
parent | e767fb512b33241e477b8d10cd99a20de83e8039 [diff] |
S13nServiceWorker: Set more accurate worker ready time for subresource loading Before this CL we recorded worker ready time just after getting a mojo pointer to the controller service worker, but getting the mojo pointer doesn't guarantee that the controller service worker is actually running. This means that the recorded timing didn't capture worker startup delay. To have more accurate timing, use |dispatch_event_time| of ServiceWorkerFetchEventTiming as worker ready time. |dispatch_event_time| is recorded just before dispatching a fetch event so this is reasonable. Cq-Include-Trybots: luci.chromium.try:linux_mojo Bug: 877972 Change-Id: Ifb8e905095794770dd8a4973e1e0d569ccfde00e Reviewed-on: https://chromium-review.googlesource.com/c/1278459 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#599587}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .