Bug
1805238 [wpt PR 37257] - Update encoded/decoded body length for service-worker responses, a=testonly
Automatic update from web-platform-tests
Update encoded/decoded body length for service-worker responses
Instead of relying on the network, count the bytes as they
come in and use the sum as the metric, only for service-worker
responses.
Corresponds to the relevant spec change:
https://w3c.github.io/ServiceWorker/#dom-fetchevent-respondwith
(search for "encoded size")
and to proposed spec change:
https://github.com/whatwg/fetch/pull/1556
Bug: 925239
Change-Id: I7d47c4febef61a89128cc50003f9f2058f3c1270
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
4065971
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1081848}
--
wpt-commits:
998e292d3e0296e922d002930986a6156733734f
wpt-pr: 37257