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

Issue 2339983003: Worker: Check whether forcible termination happened before processing a task (Closed)

Created:
4 years, 3 months ago by nhiroki
Modified:
4 years, 3 months ago
Reviewers:
yhirano
CC:
chromium-reviews, shimazu+worker_chromium.org, falken, kinuko+worker_chromium.org, blink-reviews, horo+watch_chromium.org, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Worker: Check whether forcible termination happened before processing a task Running a task on a worker thread after forcible termination may cause a crash because of an access to an empty handle returned by V8 API. BUG=646861 Committed: https://crrev.com/ce4019623117ec2b7eb8b5d5ce6af590f5e198b9 Cr-Commit-Position: refs/heads/master@{#419065}

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove prepareForShutdown call from didProcessTask #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -17 lines) Patch
M third_party/WebKit/Source/core/workers/WorkerThread.cpp View 1 1 chunk +15 lines, -17 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
nhiroki
PTAL, thanks!
4 years, 3 months ago (2016-09-15 00:36:59 UTC) #5
yhirano
https://codereview.chromium.org/2339983003/diff/1/third_party/WebKit/Source/core/workers/WorkerThread.cpp File third_party/WebKit/Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/2339983003/diff/1/third_party/WebKit/Source/core/workers/WorkerThread.cpp#newcode146 third_party/WebKit/Source/core/workers/WorkerThread.cpp:146: // ask objects in the thread to stop working ...
4 years, 3 months ago (2016-09-15 08:32:12 UTC) #8
nhiroki
Thank you. Updated. https://codereview.chromium.org/2339983003/diff/1/third_party/WebKit/Source/core/workers/WorkerThread.cpp File third_party/WebKit/Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/2339983003/diff/1/third_party/WebKit/Source/core/workers/WorkerThread.cpp#newcode146 third_party/WebKit/Source/core/workers/WorkerThread.cpp:146: // ask objects in the thread ...
4 years, 3 months ago (2016-09-15 23:37:20 UTC) #11
yhirano
lgtm
4 years, 3 months ago (2016-09-16 01:00:16 UTC) #14
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/2339983003/20001
4 years, 3 months ago (2016-09-16 01:03:47 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-16 01:14:40 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 01:15:56 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ce4019623117ec2b7eb8b5d5ce6af590f5e198b9
Cr-Commit-Position: refs/heads/master@{#419065}

Powered by Google App Engine
This is Rietveld 408576698