Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Issue 703813002: [ServiceWorker] Disable the cache revalidation when the page is controlled by the ServiceWorker. (Closed)

Created:
6 years, 1 month ago by horo
Modified:
6 years, 1 month ago
Reviewers:
Mike West, nhiroki
CC:
blink-reviews, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[ServiceWorker] Disable the cache revalidation when the page is controlled by the ServiceWorker. The revalidation headers ("if-modified-since", "if-none-match") should not be exposed to the ServiceWorker. BUG=429570 TEST=http/tests/serviceworker/resources/fetch-request-no-freshness-headers-iframe.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184864

Patch Set 1 : #

Total comments: 8

Patch Set 2 : incorporated nhiroki's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -0 lines) Patch
A LayoutTests/http/tests/serviceworker/fetch-request-no-freshness-headers.html View 1 1 chunk +56 lines, -0 lines 0 comments Download
A + LayoutTests/http/tests/serviceworker/resources/empty.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/fetch-request-no-freshness-headers-iframe.html View 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/fetch-request-no-freshness-headers-worker.js View 1 1 chunk +18 lines, -0 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 1 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (7 generated)
horo
nhiroki@ Could you please review?
6 years, 1 month ago (2014-11-05 06:28:21 UTC) #6
nhiroki
LGTM with nits https://codereview.chromium.org/703813002/diff/80001/LayoutTests/http/tests/serviceworker/fetch-request-no-freshness-headers.html File LayoutTests/http/tests/serviceworker/fetch-request-no-freshness-headers.html (right): https://codereview.chromium.org/703813002/diff/80001/LayoutTests/http/tests/serviceworker/fetch-request-no-freshness-headers.html#newcode17 LayoutTests/http/tests/serviceworker/fetch-request-no-freshness-headers.html:17: return wait_for_state(t, sw, 'activated'); wait_for_activated()? https://codereview.chromium.org/703813002/diff/80001/LayoutTests/http/tests/serviceworker/fetch-request-no-freshness-headers.html#newcode34 ...
6 years, 1 month ago (2014-11-05 07:38:35 UTC) #7
horo
https://codereview.chromium.org/703813002/diff/80001/LayoutTests/http/tests/serviceworker/fetch-request-no-freshness-headers.html File LayoutTests/http/tests/serviceworker/fetch-request-no-freshness-headers.html (right): https://codereview.chromium.org/703813002/diff/80001/LayoutTests/http/tests/serviceworker/fetch-request-no-freshness-headers.html#newcode17 LayoutTests/http/tests/serviceworker/fetch-request-no-freshness-headers.html:17: return wait_for_state(t, sw, 'activated'); On 2014/11/05 07:38:35, nhiroki wrote: ...
6 years, 1 month ago (2014-11-05 08:48:03 UTC) #8
horo
mkwst@ Could you please review Source/core/fetch/ResourceFetcher.cpp? Thank you
6 years, 1 month ago (2014-11-05 08:49:50 UTC) #10
Mike West
Makes sense to me. LGTM.
6 years, 1 month ago (2014-11-05 09:29:32 UTC) #11
Mike West
On 2014/11/05 09:29:32, Mike West wrote: > Makes sense to me. LGTM. Hit send too ...
6 years, 1 month ago (2014-11-05 09:31:07 UTC) #12
horo
Thank you. > That said, this will have performance impacts, right? Yes. If the page ...
6 years, 1 month ago (2014-11-05 10:40:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/703813002/100001
6 years, 1 month ago (2014-11-05 10:41:37 UTC) #15
commit-bot: I haz the power
6 years, 1 month ago (2014-11-05 11:33:47 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:100001) as 184864

Powered by Google App Engine
This is Rietveld 408576698