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

Issue 1437883002: [Background Sync] Align exposed API with spec (Closed)

Created:
5 years, 1 month ago by iclelland
Modified:
5 years, 1 month ago
CC:
blink-reviews, blink-worker-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, jkarlin+watch_chromium.org, kinuko+watch, maxbogue+watch_chromium.org, plaree+watch_chromium.org, pvalenzuela+watch_chromium.org, tim+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@remove-periodic
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Background Sync] Align exposed API with spec This is the second of a series of commits to align the exposed BackgroundSync API with the spec at https://wicg.github.io/BackgroundSync/spec/ Part 1: Removing Exposed Periodic Sync: https://crrev.com/1436723002/ BUG=552029 Committed: https://crrev.com/449769316764e3922e50920bb62b186221301e47 Cr-Commit-Position: refs/heads/master@{#360068}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixes for IDL exposure and browser tests #

Patch Set 3 : Add usage counter on SyncManager.register calls #

Patch Set 4 : Rebase #

Total comments: 13

Patch Set 5 : Hide SyncRegistration; fix tests; rebase #

Patch Set 6 : Addressing comments from PS#4 #

Patch Set 7 : Address last comment from PS#4 #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -429 lines) Patch
M content/browser/background_sync/background_sync_browsertest.cc View 1 2 3 6 chunks +0 lines, -148 lines 0 comments Download
M content/test/data/background_sync/background_sync_test_helpers.js View 1 2 3 4 5 5 chunks +9 lines, -89 lines 0 comments Download
M content/test/data/background_sync/service_worker.js View 5 chunks +11 lines, -42 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/background_sync/interfaces.html View 1 1 chunk +1 line, -15 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot.html View 1 2 3 4 5 4 chunks +15 lines, -32 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot-register-failure-worker-not-activated.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/background_sync/resources/interfaces-worker.js View 1 2 3 4 1 chunk +2 lines, -15 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/background_sync/resources/test-helpers.js View 1 1 chunk +0 lines, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 1 chunk +2 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -8 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncCallbacks.cpp View 1 2 3 4 5 6 1 chunk +4 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncEvent.h View 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncEvent.cpp View 4 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncEvent.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncEventInit.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncManager.h View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncManager.cpp View 4 chunks +3 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncManager.idl View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/background_sync/SyncRegistration.idl View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 26 (10 generated)
jkarlin
I realize this isn't up for review yet, I just wanted to make sure you ...
5 years, 1 month ago (2015-11-12 17:29:41 UTC) #2
iclelland
Thanks, Josh -- It's not up yet, but it's really close. I just need to ...
5 years, 1 month ago (2015-11-12 17:54:59 UTC) #3
iclelland
jkarlin, PTAL, thanks!
5 years, 1 month ago (2015-11-12 21:21:21 UTC) #4
jkarlin
Also note the failing bots. https://codereview.chromium.org/1437883002/diff/60001/content/test/data/background_sync/background_sync_test_helpers.js File content/test/data/background_sync/background_sync_test_helpers.js (left): https://codereview.chromium.org/1437883002/diff/60001/content/test/data/background_sync/background_sync_test_helpers.js#oldcode193 content/test/data/background_sync/background_sync_test_helpers.js:193: registrationReference = syncRegistration; Delete ...
5 years, 1 month ago (2015-11-13 01:32:18 UTC) #5
iclelland
https://codereview.chromium.org/1437883002/diff/60001/content/test/data/background_sync/background_sync_test_helpers.js File content/test/data/background_sync/background_sync_test_helpers.js (left): https://codereview.chromium.org/1437883002/diff/60001/content/test/data/background_sync/background_sync_test_helpers.js#oldcode193 content/test/data/background_sync/background_sync_test_helpers.js:193: registrationReference = syncRegistration; On 2015/11/13 01:32:18, jkarlin wrote: > ...
5 years, 1 month ago (2015-11-13 15:26:19 UTC) #6
jkarlin
https://codereview.chromium.org/1437883002/diff/60001/third_party/WebKit/Source/modules/background_sync/SyncCallbacks.cpp File third_party/WebKit/Source/modules/background_sync/SyncCallbacks.cpp (left): https://codereview.chromium.org/1437883002/diff/60001/third_party/WebKit/Source/modules/background_sync/SyncCallbacks.cpp#oldcode126 third_party/WebKit/Source/modules/background_sync/SyncCallbacks.cpp:126: } On 2015/11/13 15:26:19, iclelland wrote: > On 2015/11/13 ...
5 years, 1 month ago (2015-11-13 17:00:42 UTC) #7
jkarlin
lgtm after you upload the const change
5 years, 1 month ago (2015-11-13 18:04:27 UTC) #8
iclelland
+r jochen -- can you PTAL at UseCounter.h and ServiceWorkerGlobalScopeProxy.cpp? Thanks! https://codereview.chromium.org/1437883002/diff/60001/third_party/WebKit/Source/modules/background_sync/SyncCallbacks.cpp File third_party/WebKit/Source/modules/background_sync/SyncCallbacks.cpp (right): ...
5 years, 1 month ago (2015-11-13 20:49:24 UTC) #11
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-11-16 11:56:55 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1437883002/110022 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1437883002/110022
5 years, 1 month ago (2015-11-16 22:02:39 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/95113) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 1 month ago (2015-11-16 22:05:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1437883002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1437883002/130001
5 years, 1 month ago (2015-11-16 22:37:17 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/141418)
5 years, 1 month ago (2015-11-16 23:07:04 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1437883002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1437883002/130001
5 years, 1 month ago (2015-11-17 12:45:06 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:130001)
5 years, 1 month ago (2015-11-17 12:49:27 UTC) #25
commit-bot: I haz the power
5 years, 1 month ago (2015-11-17 12:50:16 UTC) #26
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/449769316764e3922e50920bb62b186221301e47
Cr-Commit-Position: refs/heads/master@{#360068}

Powered by Google App Engine
This is Rietveld 408576698