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 2396293002: Remove WaitUntilObserver::decrementPendingActivity() from RespondWithObserver::contextDestroyed() (Closed)

Created:
4 years, 2 months ago by horo
Modified:
4 years, 2 months ago
Reviewers:
shimazu
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, nhiroki, falken, haraken, kinuko+serviceworker, blink-reviews, horo+watch_chromium.org, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove WaitUntilObserver::decrementPendingActivity() from RespondWithObserver::contextDestroyed() We don't need to (and should not) call this while the ServiceWorker context is being destroyed. And also this caused crashes in ServiceWorkerContextClient after mojofying FetchEvent. (crbug.com/653403) This crash only happens when LifecycleNotifier::notifyContextDestroyed() calls RespondWithObserver::contextDestroyed() before WaitUntilObserver::contextDestroyed(). BUG=653403, 649558, 629701 Committed: https://crrev.com/197a4f896f0434376b82895e7e72aacce16ec3ef Cr-Commit-Position: refs/heads/master@{#424390}

Patch Set 1 #

Patch Set 2 : add note #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M third_party/WebKit/Source/modules/serviceworkers/RespondWithObserver.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/WaitUntilObserver.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (21 generated)
horo
shimazu@ Please review this.
4 years, 2 months ago (2016-10-07 07:10:54 UTC) #14
shimazu
On 2016/10/07 07:10:54, horo wrote: > shimazu@ > Please review this. How about adding some ...
4 years, 2 months ago (2016-10-07 07:26:41 UTC) #15
horo
On 2016/10/07 07:26:41, shimazu wrote: > On 2016/10/07 07:10:54, horo wrote: > > shimazu@ > ...
4 years, 2 months ago (2016-10-07 08:04:21 UTC) #16
shimazu
On 2016/10/07 08:04:21, horo wrote: > On 2016/10/07 07:26:41, shimazu wrote: > > On 2016/10/07 ...
4 years, 2 months ago (2016-10-11 04:20:07 UTC) #18
horo
On 2016/10/11 04:20:07, shimazu wrote: > On 2016/10/07 08:04:21, horo wrote: > > On 2016/10/07 ...
4 years, 2 months ago (2016-10-11 06:42:56 UTC) #21
shimazu
lgtm, thanks! :)
4 years, 2 months ago (2016-10-11 06:44:27 UTC) #22
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/2396293002/20001
4 years, 2 months ago (2016-10-11 08:10:19 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-11 08:16:07 UTC) #28
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 08:18:55 UTC) #30
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/197a4f896f0434376b82895e7e72aacce16ec3ef
Cr-Commit-Position: refs/heads/master@{#424390}

Powered by Google App Engine
This is Rietveld 408576698