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

Issue 1893313007: DevTools: Attach all Service Workers except for old redundant ones. (Closed)

Created:
4 years, 8 months ago by horo
Modified:
4 years, 8 months ago
Reviewers:
pfeldman
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, serviceworker-reviews, tzik, horo+watch_chromium.org, jam, nhiroki, darin-cc_chromium.org, pfeldman, devtools-reviews_chromium.org, kinuko+serviceworker, kinuko+watch, blink-worker-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Attach all Service Workers except for old redundant workers. DevTools will attach all SWs in best mathcing scopes. But redundant workers will be detached when new worker is installed. BUG=601263 Committed: https://crrev.com/3afce45806e538c59e51fe46bf392477a044414b Cr-Commit-Position: refs/heads/master@{#388987}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : incorporated pfeldman's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -32 lines) Patch
M content/browser/devtools/protocol/service_worker_handler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/devtools/protocol/service_worker_handler.cc View 1 4 chunks +84 lines, -23 lines 0 comments Download
M content/browser/devtools/service_worker_devtools_agent_host.h View 3 chunks +16 lines, -1 line 0 comments Download
M content/browser/devtools/service_worker_devtools_agent_host.cc View 2 chunks +13 lines, -2 lines 0 comments Download
M content/browser/devtools/service_worker_devtools_manager.h View 2 chunks +6 lines, -1 line 0 comments Download
M content/browser/devtools/service_worker_devtools_manager.cc View 2 chunks +29 lines, -3 lines 0 comments Download
M content/browser/service_worker/embedded_worker_instance.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/service_worker/embedded_worker_instance.cc View 6 chunks +41 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
horo
pfeldman@ Could you please review this?
4 years, 8 months ago (2016-04-21 10:33:39 UTC) #10
pfeldman
lgtm https://codereview.chromium.org/1893313007/diff/120001/content/browser/devtools/protocol/service_worker_handler.cc File content/browser/devtools/protocol/service_worker_handler.cc (right): https://codereview.chromium.org/1893313007/diff/120001/content/browser/devtools/protocol/service_worker_handler.cc#newcode143 content/browser/devtools/protocol/service_worker_handler.cc:143: void GetHostnameMatchingScopeAgentsMap( GetHostname seems to be a bad ...
4 years, 8 months ago (2016-04-21 21:13:20 UTC) #11
horo
Thank you! https://codereview.chromium.org/1893313007/diff/120001/content/browser/devtools/protocol/service_worker_handler.cc File content/browser/devtools/protocol/service_worker_handler.cc (right): https://codereview.chromium.org/1893313007/diff/120001/content/browser/devtools/protocol/service_worker_handler.cc#newcode143 content/browser/devtools/protocol/service_worker_handler.cc:143: void GetHostnameMatchingScopeAgentsMap( On 2016/04/21 21:13:20, pfeldman wrote: ...
4 years, 8 months ago (2016-04-21 23:11:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1893313007/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1893313007/140001
4 years, 8 months ago (2016-04-21 23:11:57 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:140001)
4 years, 8 months ago (2016-04-22 01:00:11 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:42:55 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3afce45806e538c59e51fe46bf392477a044414b
Cr-Commit-Position: refs/heads/master@{#388987}

Powered by Google App Engine
This is Rietveld 408576698