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

Issue 270873005: Initializes the context of WorkerScriptController before calling willEvaluateWorkerScript. (Closed)

Created:
6 years, 7 months ago by horo
Modified:
6 years, 7 months ago
Reviewers:
haraken, Dmitry Titov
CC:
blink-reviews, Nils Barth (inactive), arv+blink, jsbell+bindings_chromium.org, sof, kouhei+bindings_chromium.org, abarth-chromium, falken, marja+watch_chromium.org, blink-reviews-bindings_chromium.org, horo+watch_chromium.org, kinuko+watch, Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Initializes the context of WorkerScriptController before calling willEvaluateWorkerScript. This change will fix the crash bug on Debug build while reattaching DevTools to SharedWorker and dedicated worker. See: https://code.google.com/p/chromium/issues/detail?id=371399#c8 BUG=371399 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173851

Patch Set 1 #

Total comments: 2

Patch Set 2 : incorporated haraken's comment #

Patch Set 3 : Add isExecutionForbidden check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M Source/bindings/v8/WorkerScriptController.h View 1 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/workers/WorkerThread.cpp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
horo
dimich@, haraken@ Could you please review this? Thank you.
6 years, 7 months ago (2014-05-09 09:56:39 UTC) #1
haraken
https://codereview.chromium.org/270873005/diff/1/Source/bindings/v8/WorkerScriptController.cpp File Source/bindings/v8/WorkerScriptController.cpp (right): https://codereview.chromium.org/270873005/diff/1/Source/bindings/v8/WorkerScriptController.cpp#newcode158 Source/bindings/v8/WorkerScriptController.cpp:158: ASSERT(isContextInitialized()); I think it's OK to call initializeContext from ...
6 years, 7 months ago (2014-05-09 10:03:22 UTC) #2
horo
https://codereview.chromium.org/270873005/diff/1/Source/bindings/v8/WorkerScriptController.cpp File Source/bindings/v8/WorkerScriptController.cpp (right): https://codereview.chromium.org/270873005/diff/1/Source/bindings/v8/WorkerScriptController.cpp#newcode158 Source/bindings/v8/WorkerScriptController.cpp:158: ASSERT(isContextInitialized()); On 2014/05/09 10:03:22, haraken wrote: > > I ...
6 years, 7 months ago (2014-05-09 10:22:00 UTC) #3
haraken
Sorry for being late. LGTM.
6 years, 7 months ago (2014-05-09 13:57:35 UTC) #4
horo
The CQ bit was checked by horo@chromium.org
6 years, 7 months ago (2014-05-12 04:52:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/270873005/60001
6 years, 7 months ago (2014-05-12 04:52:36 UTC) #6
commit-bot: I haz the power
6 years, 7 months ago (2014-05-12 06:15:26 UTC) #7
Message was sent while issue was closed.
Change committed as 173851

Powered by Google App Engine
This is Rietveld 408576698