S13nSW: Check updateViaCache and bypass HTTP cache if needed
ShouldBypassCacheDueToUpdateViaCache() is moved to ServiceWorkerUtils so that we can use the function in S13nSW code path. This fixes test failures in - http/tests/serviceworker/chromium.update-served-from-cache.html - external/wpt/service-workers/service-worker/registration-updateviacache.https.html Bug: 831998 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: Iff73827268f37b4fa2aa5826ff153bd92b3a3c92 Reviewed-on: https://chromium-review.googlesource.com/1011527 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#550556}
Showing
Please register or sign in to comment