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

Issue 2367783003: Worker: Notify WorkerReportingProxy::didInitializeWorkerContext() immediately after initialization (Closed)

Created:
4 years, 3 months ago by nhiroki
Modified:
4 years, 2 months ago
Reviewers:
falken, 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: Notify WorkerReportingProxy::didInitializeWorkerContext() immediately after initialization Before this CL, WorkerReportingProxy::didInitializeWorkerContext() is notified after debugger tasks may run. This looks strange. The function should be called immediately after the context initialization. BUG=640843 Committed: https://crrev.com/845fdc5871ba99d69966175052eb297e4c76b037 Cr-Commit-Position: refs/heads/master@{#422032}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Patch Set 3 : add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -8 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThread.cpp View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
nhiroki
PTAL, thanks!
4 years, 3 months ago (2016-09-23 13:45:59 UTC) #5
falken
lgtm I was going to suggest bug 519111 but I see that's already been duped.
4 years, 2 months ago (2016-09-26 01:27:24 UTC) #9
yhirano
https://codereview.chromium.org/2367783003/diff/1/third_party/WebKit/Source/core/workers/WorkerThread.cpp File third_party/WebKit/Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/2367783003/diff/1/third_party/WebKit/Source/core/workers/WorkerThread.cpp#newcode503 third_party/WebKit/Source/core/workers/WorkerThread.cpp:503: if (globalScope()->scriptController()->isContextInitialized()) { Can this isContextInitialized call be replaced ...
4 years, 2 months ago (2016-09-26 01:34:32 UTC) #10
nhiroki
Thank you! Updated. https://codereview.chromium.org/2367783003/diff/1/third_party/WebKit/Source/core/workers/WorkerThread.cpp File third_party/WebKit/Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/2367783003/diff/1/third_party/WebKit/Source/core/workers/WorkerThread.cpp#newcode503 third_party/WebKit/Source/core/workers/WorkerThread.cpp:503: if (globalScope()->scriptController()->isContextInitialized()) { On 2016/09/26 01:34:32, ...
4 years, 2 months ago (2016-09-30 04:04:20 UTC) #11
yhirano
lgtm
4 years, 2 months ago (2016-09-30 04:06:11 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/2367783003/40001
4 years, 2 months ago (2016-09-30 04:55:38 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-09-30 05:02:53 UTC) #20
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 05:04:13 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/845fdc5871ba99d69966175052eb297e4c76b037
Cr-Commit-Position: refs/heads/master@{#422032}

Powered by Google App Engine
This is Rietveld 408576698