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

Issue 214383005: Browser side of ServiceWorker requestSyncEvents() function (Closed)

Created:
6 years, 8 months ago by jkarlin
Modified:
6 years ago
Reviewers:
jsbell
CC:
chromium-reviews, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+watch, alecflett+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

DO NOT LAND BEFORE https://codereview.chromium.org/224333003 Adding registration function for ServiceWorker 'sync' event. The event has an optional Dictionary argument that is unused for now but we may add meaning to it later. Blink side: https://codereview.chromium.org/224333003 BUG=354112

Patch Set 1 #

Patch Set 2 : More nits #

Total comments: 10

Patch Set 3 : Cleaned up the testing code #

Total comments: 1

Messages

Total messages: 16 (0 generated)
jkarlin
Kinuko + Michael: Please review everything Brett: Please review sync.js tsepez: Please review service_worker_messages.h
6 years, 8 months ago (2014-04-03 19:08:09 UTC) #1
brettw
I'm a terrible choice for a JS reviewer. Is there somebody else that's actually a ...
6 years, 8 months ago (2014-04-03 20:03:31 UTC) #2
jsbell
https://codereview.chromium.org/214383005/diff/20001/content/test/data/service_worker/sync.js File content/test/data/service_worker/sync.js (right): https://codereview.chromium.org/214383005/diff/20001/content/test/data/service_worker/sync.js#newcode5 content/test/data/service_worker/sync.js:5: var code = 404; The test would be clearer ...
6 years, 8 months ago (2014-04-03 21:47:33 UTC) #3
jsbell
On 2014/04/03 20:03:31, brettw wrote: > Is there somebody else that's actually a good JS ...
6 years, 8 months ago (2014-04-03 21:48:09 UTC) #4
michaeln
https://codereview.chromium.org/214383005/diff/20001/content/browser/service_worker/service_worker_version.h File content/browser/service_worker/service_worker_version.h (right): https://codereview.chromium.org/214383005/diff/20001/content/browser/service_worker/service_worker_version.h#newcode167 content/browser/service_worker/service_worker_version.h:167: void RequestSyncEvents(bool requested); naming nit: Can we rename this ...
6 years, 8 months ago (2014-04-03 22:52:22 UTC) #5
jkarlin
https://codereview.chromium.org/214383005/diff/20001/content/browser/service_worker/service_worker_version.h File content/browser/service_worker/service_worker_version.h (right): https://codereview.chromium.org/214383005/diff/20001/content/browser/service_worker/service_worker_version.h#newcode167 content/browser/service_worker/service_worker_version.h:167: void RequestSyncEvents(bool requested); On 2014/04/03 22:52:22, michaeln wrote: > ...
6 years, 8 months ago (2014-04-04 00:32:19 UTC) #6
jkarlin
https://codereview.chromium.org/214383005/diff/20001/content/test/data/service_worker/sync.js File content/test/data/service_worker/sync.js (right): https://codereview.chromium.org/214383005/diff/20001/content/test/data/service_worker/sync.js#newcode5 content/test/data/service_worker/sync.js:5: var code = 404; On 2014/04/03 21:47:34, jsbell wrote: ...
6 years, 8 months ago (2014-04-04 11:59:09 UTC) #7
jsbell
sync.js changes lgtm! On 2014/04/03 21:48:09, jsbell wrote: > On 2014/04/03 20:03:31, brettw wrote: > ...
6 years, 8 months ago (2014-04-04 19:14:57 UTC) #8
michaeln
This looks ok to me too (modulo i think the name is funky). I'm partly ...
6 years, 8 months ago (2014-04-05 01:54:37 UTC) #9
michaeln
https://codereview.chromium.org/214383005/diff/40001/content/browser/service_worker/service_worker_version.h File content/browser/service_worker/service_worker_version.h (right): https://codereview.chromium.org/214383005/diff/40001/content/browser/service_worker/service_worker_version.h#newcode167 content/browser/service_worker/service_worker_version.h:167: void RequestSyncEvents(bool requested); maybe a getter too
6 years, 8 months ago (2014-04-05 01:54:46 UTC) #10
jkarlin
On 2014/04/05 01:54:37, michaeln wrote: > This looks ok to me too (modulo i think ...
6 years, 8 months ago (2014-04-05 16:09:18 UTC) #11
michaeln
On 2014/04/05 16:09:18, jkarlin wrote: > On 2014/04/05 01:54:37, michaeln wrote: > > This looks ...
6 years, 8 months ago (2014-04-07 03:38:48 UTC) #12
jkarlin
On 2014/04/07 03:38:48, michaeln wrote: > On 2014/04/05 16:09:18, jkarlin wrote: > > On 2014/04/05 ...
6 years, 8 months ago (2014-04-08 21:16:05 UTC) #13
michaeln
Thanks for putting that the design doc. We talked about the 'sync event' at the ...
6 years, 8 months ago (2014-04-09 17:44:00 UTC) #14
jkarlin
On 2014/04/09 17:44:00, michaeln wrote: > Thanks for putting that the design doc. > > ...
6 years, 8 months ago (2014-04-10 18:16:10 UTC) #15
jkarlin
6 years, 8 months ago (2014-04-10 18:17:19 UTC) #16
Removing reviewers as this CL will change dramatically as per the design doc.

Powered by Google App Engine
This is Rietveld 408576698