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

Issue 2245063003: ServiceWorker: Call SyncMatchingRegistration when document_url is changed (Closed)

Created:
4 years, 4 months ago by shimazu
Modified:
4 years, 4 months ago
Reviewers:
nhiroki
CC:
michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ServiceWorker: Call SyncMatchingRegistration when document_url is changed For details: https://crbug.com/634222 BUG=634222, 619294, 454250 Committed: https://crrev.com/90ac0459a2f02d2eaae991314f9b540f9fa97f4a Cr-Commit-Position: refs/heads/master@{#413682}

Patch Set 1 #

Patch Set 2 : Update #

Patch Set 3 : Add SyncMatchingRegistration and update tests #

Total comments: 33

Patch Set 4 : Incorporate with nhiroki's comments #

Total comments: 29

Patch Set 5 : Use arrow function and add a comment #

Total comments: 20

Patch Set 6 : Incorporate with the review comments #

Total comments: 6

Patch Set 7 : Updated comments #

Messages

Total messages: 21 (6 generated)
shimazu
ptal
4 years, 4 months ago (2016-08-19 02:59:18 UTC) #4
nhiroki
https://codereview.chromium.org/2245063003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc File content/browser/service_worker/service_worker_provider_host.cc (right): https://codereview.chromium.org/2245063003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc#newcode596 content/browser/service_worker/service_worker_provider_host.cc:596: auto* registration = it.second.get(); line 605 does not use ...
4 years, 4 months ago (2016-08-19 05:26:52 UTC) #5
shimazu
updated this patch! ptal again:) https://codereview.chromium.org/2245063003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc File content/browser/service_worker/service_worker_provider_host.cc (right): https://codereview.chromium.org/2245063003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc#newcode596 content/browser/service_worker/service_worker_provider_host.cc:596: auto* registration = it.second.get(); ...
4 years, 4 months ago (2016-08-19 09:43:16 UTC) #6
nhiroki
https://codereview.chromium.org/2245063003/diff/40001/third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html (right): https://codereview.chromium.org/2245063003/diff/40001/third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html#newcode47 third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html:47: .then(function(data) { On 2016/08/19 09:43:15, shimazu wrote: > On ...
4 years, 4 months ago (2016-08-19 14:32:54 UTC) #7
nhiroki
https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html (right): https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html#newcode53 third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html:53: return assert_with_iframe(REDIRECT_IFRAME_URL, 'redirected'); On 2016/08/19 14:32:53, nhiroki wrote: > ...
4 years, 4 months ago (2016-08-19 14:40:18 UTC) #8
shimazu
Updated. PTAL again:) https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html (right): https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html#newcode34 third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html:34: addEventListener('message', function(e) { On 2016/08/19 14:32:53, ...
4 years, 4 months ago (2016-08-22 02:38:10 UTC) #9
nhiroki
Looks good overall. https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php File third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php (right): https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php#newcode11 third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php:11: }); On 2016/08/22 02:38:10, shimazu wrote: ...
4 years, 4 months ago (2016-08-22 06:35:50 UTC) #10
shimazu
Updated:) https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php File third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php (right): https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php#newcode11 third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php:11: }); On 2016/08/22 06:35:49, nhiroki wrote: > On ...
4 years, 4 months ago (2016-08-22 09:29:41 UTC) #11
nhiroki
Almost there. Minor comments only. https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php File third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php (right): https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php#newcode11 third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php:11: }); On 2016/08/22 09:29:40, ...
4 years, 4 months ago (2016-08-22 12:41:37 UTC) #12
nhiroki
https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php File third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php (right): https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php#newcode11 third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php:11: }); On 2016/08/22 12:41:37, nhiroki wrote: > On 2016/08/22 ...
4 years, 4 months ago (2016-08-23 01:31:46 UTC) #13
shimazu
Updated comments:) ptal again. https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php File third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php (right): https://codereview.chromium.org/2245063003/diff/60001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php#newcode11 third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/update-claim-worker.php:11: }); On 2016/08/23 01:31:46, nhiroki ...
4 years, 4 months ago (2016-08-23 01:53:52 UTC) #14
nhiroki
LGTM :)
4 years, 4 months ago (2016-08-23 03:15:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2245063003/120001
4 years, 4 months ago (2016-08-23 03:19:59 UTC) #17
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-08-23 07:04:00 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 07:06:21 UTC) #21
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/90ac0459a2f02d2eaae991314f9b540f9fa97f4a
Cr-Commit-Position: refs/heads/master@{#413682}

Powered by Google App Engine
This is Rietveld 408576698