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

Issue 1901363002: Don't stop ServiceWorker when DevTools is attached even if JS execution is failed. (Closed)

Created:
4 years, 8 months ago by horo
Modified:
4 years, 8 months ago
Reviewers:
falken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, 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

Don't stop ServiceWorker when DevTools is attached even if JS execution is failed. BUG=601263 Committed: https://crrev.com/a99df79c37fd3e0ccaf2aa992acb44d3cd1a7c27 Cr-Commit-Position: refs/heads/master@{#388469}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : add DCHECK_EQ #

Patch Set 3 : add running_status check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -2 lines) Patch
M content/browser/service_worker/service_worker_version.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 2 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
horo
falken@ Could you please review?
4 years, 8 months ago (2016-04-20 06:02:19 UTC) #4
falken
I think this is fine but it seems we can rely on the normal StopWorkerIfIdle ...
4 years, 8 months ago (2016-04-20 06:13:58 UTC) #5
horo
On 2016/04/20 06:13:58, falken wrote: > I think this is fine but it seems we ...
4 years, 8 months ago (2016-04-20 06:42:27 UTC) #6
falken
On 2016/04/20 06:42:27, horo wrote: > On 2016/04/20 06:13:58, falken wrote: > > I think ...
4 years, 8 months ago (2016-04-20 06:53:45 UTC) #7
horo
On 2016/04/20 06:53:45, falken wrote: > On 2016/04/20 06:42:27, horo wrote: > > On 2016/04/20 ...
4 years, 8 months ago (2016-04-20 07:12:33 UTC) #8
falken
lgtm https://codereview.chromium.org/1901363002/diff/20001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/1901363002/diff/20001/content/browser/service_worker/service_worker_version.cc#newcode632 content/browser/service_worker/service_worker_version.cc:632: if (stop_when_devtools_detached_ && !attached) { DCHECK that it's ...
4 years, 8 months ago (2016-04-20 07:24:56 UTC) #9
horo
https://codereview.chromium.org/1901363002/diff/20001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/1901363002/diff/20001/content/browser/service_worker/service_worker_version.cc#newcode632 content/browser/service_worker/service_worker_version.cc:632: if (stop_when_devtools_detached_ && !attached) { On 2016/04/20 07:24:56, falken ...
4 years, 8 months ago (2016-04-20 07:39:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901363002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901363002/40001
4 years, 8 months ago (2016-04-20 07:39:41 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/208076)
4 years, 8 months ago (2016-04-20 09:03:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901363002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901363002/60001
4 years, 8 months ago (2016-04-20 12:02:03 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 8 months ago (2016-04-20 12:05:28 UTC) #20
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:22:32 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a99df79c37fd3e0ccaf2aa992acb44d3cd1a7c27
Cr-Commit-Position: refs/heads/master@{#388469}

Powered by Google App Engine
This is Rietveld 408576698