Bug
1814645 [wpt PR 38326] - Remove NOTREACHED in HttpCache::Transaction, a=testonly
Automatic update from web-platform-tests
Remove NOTREACHED in HttpCache::Transaction
net::HttpCache::Transaction::BeginCacheRead had a NOTREACHED() statement
which is reached if a range request is sent with "only-if-cached" as the
cache mode.
Remove the NOTREACHED() and permit the fallthrough behaviour of
returning ERR_CACHE_MISS to happen instead.
Add unit and web-platform tests for this case. The wpt fails because it
expects the fetch to succeed, whereas our implementation returns
ERR_CACHE_MISS.
BUG=
1408233
Change-Id: I1023712b1a0d3642e6c980dd12dba81440d4fc13
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
4218212
Reviewed-by: Nidhi Jaju <nidhijaju@chromium.org>
Commit-Queue: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1100870}
--
wpt-commits:
2a56800ad1b8040dfbf75f23a7ba5042e982a925
wpt-pr: 38326