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

Issue 1339623002: Make registration.update() no longer force bypassing the HTTP cache (2/2) (Closed)

Created:
5 years, 3 months ago by jungkees
Modified:
5 years, 2 months ago
CC:
chromium-reviews, horo, jam, kinuko+serviceworker, kinuko+watch, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make registration.update() no longer force bypassing the HTTP cache (2/2) As per the last f2f and the follow-up discussion, ServiceWorkerRegistration.update() should not always bypass the HTTP cache but bypass it only when 24 hours have passed since the last update check. So, this patch involves a change in the behavior of ServiceWorkerRegistration.update(). Spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#service-worker-registration-update Spec discussion: https://github.com/slightlyoff/ServiceWorker/issues/514#issuecomment-130664373 Companion CL (Blink layout test): https://codereview.chromium.org/1332303002/ BUG=530540

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -3 lines) Patch
M content/browser/service_worker/service_worker_context_core.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.cc View 1 chunk +5 lines, -0 lines 0 comments Download
content/browser/service_worker/service_worker_dispatcher_host.cc View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
jungkees
This patch is split from https://codereview.chromium.org/1283273002/, and the part that addresses registration.update()'s behavior change. (See ...
5 years, 3 months ago (2015-09-11 11:45:03 UTC) #2
zino
non-owner lgtm.
5 years, 3 months ago (2015-09-11 11:51:48 UTC) #3
jungkees
Thanks for the peer review, zino@. OWERs, PTAL
5 years, 3 months ago (2015-09-11 11:57:01 UTC) #5
falken
lgtm thanks for sticking with this patch! It's probably overkill but I made a https://www.chromestatus.com/feature/5897293530136576 ...
5 years, 2 months ago (2015-10-01 12:31:48 UTC) #6
jungkees
Thanks for having created https://www.chromestatus.com/feature/5897293530136576. In the content, I don't think I have a chromium ...
5 years, 2 months ago (2015-10-02 02:11:18 UTC) #7
falken
On 2015/10/02 02:11:18, jungkees wrote: > Thanks for having created https://www.chromestatus.com/feature/5897293530136576. > In the content, ...
5 years, 2 months ago (2015-10-02 02:15:24 UTC) #8
jungkees
Addressed the comment. https://codereview.chromium.org/1339623002/diff/1/content/browser/service_worker/service_worker_context_core.h File content/browser/service_worker/service_worker_context_core.h (right): https://codereview.chromium.org/1339623002/diff/1/content/browser/service_worker/service_worker_context_core.h#newcode189 content/browser/service_worker/service_worker_context_core.h:189: // seconds (24 hours) have passed ...
5 years, 2 months ago (2015-10-02 06:19:19 UTC) #10
jungkees
5 years, 2 months ago (2015-10-03 03:40:19 UTC) #11
Message was sent while issue was closed.
This CL has been merged to and landed as part of
https://codereview.chromium.org/1380323002/.

Powered by Google App Engine
This is Rietveld 408576698