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

Issue 1750513002: Reset fetch_dispatcher_ in ServiceWorkerVersionBrowserTest on IO thread. (Closed)

Created:
4 years, 9 months ago by horo
Modified:
4 years, 9 months ago
Reviewers:
nhiroki
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

Reset fetch_dispatcher_ in ServiceWorkerVersionBrowserTest on IO thread. The crashes (issue 590400) happened while resetting |fetch_dispatcher_| in ServiceWorkerVersionBrowserTest::FetchOnRegisteredWorker(). https://chromium.googlesource.com/chromium/src/+/3fbfbe6e7690dd2b169cfaaae2ad7ac89537d74b/content/browser/service_worker/service_worker_browsertest.cc#458 |fetch_dispatcher_| is created on IO thread. So it must be cleared on IO thread. BUG=590676, 590400 Committed: https://crrev.com/d028982479f6173a0a20c274cd8bac2852fefaf6 Cr-Commit-Position: refs/heads/master@{#378421}

Patch Set 1 #

Total comments: 2

Patch Set 2 : ASSERT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::IO)); #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -37 lines) Patch
M content/browser/service_worker/service_worker_browsertest.cc View 1 3 chunks +36 lines, -37 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
horo
nhiroki@ Could you please review this?
4 years, 9 months ago (2016-02-29 09:22:56 UTC) #3
nhiroki
lgtm https://codereview.chromium.org/1750513002/diff/1/content/browser/service_worker/service_worker_browsertest.cc File content/browser/service_worker/service_worker_browsertest.cc (right): https://codereview.chromium.org/1750513002/diff/1/content/browser/service_worker/service_worker_browsertest.cc#newcode647 content/browser/service_worker/service_worker_browsertest.cc:647: const scoped_refptr<ServiceWorkerVersion>& worker) { ASSERT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::IO));
4 years, 9 months ago (2016-03-01 05:58:15 UTC) #5
horo
Thank you https://codereview.chromium.org/1750513002/diff/1/content/browser/service_worker/service_worker_browsertest.cc File content/browser/service_worker/service_worker_browsertest.cc (right): https://codereview.chromium.org/1750513002/diff/1/content/browser/service_worker/service_worker_browsertest.cc#newcode647 content/browser/service_worker/service_worker_browsertest.cc:647: const scoped_refptr<ServiceWorkerVersion>& worker) { On 2016/03/01 05:58:15, ...
4 years, 9 months ago (2016-03-01 07:02:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1750513002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1750513002/20001
4 years, 9 months ago (2016-03-01 07:02:44 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-01 09:46:31 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 09:47:53 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d028982479f6173a0a20c274cd8bac2852fefaf6
Cr-Commit-Position: refs/heads/master@{#378421}

Powered by Google App Engine
This is Rietveld 408576698