[wpt-sync] Sync PR 35327 - Set encoded_data_length_ in ResourceResponse to 0.
Categories
(Core :: Performance, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35327 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35327
Details from upstream follow.
Hao Liu <haoliuk@chromium.org> wrote:
Set encoded_data_length_ in ResourceResponse to 0.
Currently the transferSize in resource timing is non-0 in case of resource being
loaded from mem cache, which is incorrect according to the spec. The transferSize is
ultimately conditioned on encoded_data_length_ in ResourceResponse. Setting this value
to 0 without changing other logic can fix the issue.Bug: 1262896
Change-Id: Ia85e3d0f821cdd2e5e8644dec8ff34a2db4e0822
Reviewed-on: https://chromium-review.googlesource.com/3780454
WPT-Export-Revision: edc17ff721d2a4f6ee543c2603aa3c7c9aba5ed8
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK
: 1
PASS
: 1
Chrome
OK
: 1
FAIL
: 1
Safari
OK
: 1
FAIL
: 1
Links
Updated•2 years ago
|
Comment 5•2 years ago
|
||
bugherder |
Description
•