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

Issue 2878933003: Makes WorkerInspectorProxy work with ExecutionContext instead of Document (Closed)

Created:
3 years, 7 months ago by kinuko
Modified:
3 years, 7 months ago
Reviewers:
falken, dgozman
CC:
chromium-reviews, kinuko+worker_chromium.org, caseq+blink_chromium.org, lushnikov+blink_chromium.org, shimazu+worker_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, horo+watch_chromium.org, falken+watch_chromium.org, blink-worker-reviews_chromium.org, kozyatinskiy+blink_chromium.org, nhiroki
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Makes WorkerInspectorProxy work with ExecutionContext instead of Document As a part of efforts to make {Shared,Service}Workers independent from Frame and Document. BUG=538751 Review-Url: https://codereview.chromium.org/2878933003 Cr-Commit-Position: refs/heads/master@{#472838} Committed: https://chromium.googlesource.com/chromium/src/+/3e527f87b33591975570c2e71487ac8d6d0480f1

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : more fixes #

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : cast #

Patch Set 6 : . #

Patch Set 7 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -45 lines) Patch
M third_party/WebKit/Source/core/frame/FrameConsole.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameConsole.cpp View 1 2 3 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp View 1 2 3 4 5 6 1 chunk +5 lines, -2 lines 1 comment Download
M third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h View 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp View 1 2 4 chunks +19 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp View 1 2 3 4 5 3 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 50 (40 generated)
kinuko
PTL falken@ for worker part (cc-ing nhiroki, who's ooo) dgozman@ for inspector
3 years, 7 months ago (2017-05-15 02:15:10 UTC) #11
falken
lgtm https://codereview.chromium.org/2878933003/diff/20001/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp File third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp (right): https://codereview.chromium.org/2878933003/diff/20001/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp#newcode72 third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp:72: // workerStartMode right before. seems there is no ...
3 years, 7 months ago (2017-05-15 06:09:35 UTC) #12
kinuko
Thanks! Updated, and also removed AddMessageFromWorker from FrameConsole. https://codereview.chromium.org/2878933003/diff/20001/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp File third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp (right): https://codereview.chromium.org/2878933003/diff/20001/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp#newcode72 third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp:72: // ...
3 years, 7 months ago (2017-05-15 07:26:56 UTC) #17
dgozman
lgtm with a comment https://codereview.chromium.org/2878933003/diff/60001/third_party/WebKit/Source/core/inspector/InspectedFrames.cpp File third_party/WebKit/Source/core/inspector/InspectedFrames.cpp (right): https://codereview.chromium.org/2878933003/diff/60001/third_party/WebKit/Source/core/inspector/InspectedFrames.cpp#newcode27 third_party/WebKit/Source/core/inspector/InspectedFrames.cpp:27: return context->GetProbeSink() == root_->InstrumentingAgents(); This ...
3 years, 7 months ago (2017-05-15 16:39:56 UTC) #21
kinuko
Thanks! I have one question I wanted to ask you/inspector folks: https://codereview.chromium.org/2878933003/diff/60001/third_party/WebKit/Source/core/inspector/InspectedFrames.cpp File third_party/WebKit/Source/core/inspector/InspectedFrames.cpp (right): ...
3 years, 7 months ago (2017-05-15 20:09:34 UTC) #22
dgozman
On 2017/05/15 20:09:34, kinuko wrote: > Thanks! I have one question I wanted to ask ...
3 years, 7 months ago (2017-05-16 00:13:01 UTC) #23
kinuko
> I think a lot of DevTools code should not be run for workers, like ...
3 years, 7 months ago (2017-05-18 14:41:41 UTC) #43
kinuko
I'm landing this now (no inspected frames changes), but please feel free to un-CQ if ...
3 years, 7 months ago (2017-05-18 14:42:27 UTC) #44
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/2878933003/180001
3 years, 7 months ago (2017-05-18 14:43:24 UTC) #47
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 16:27:38 UTC) #50
Message was sent while issue was closed.
Committed patchset #7 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/3e527f87b33591975570c2e71487...

Powered by Google App Engine
This is Rietveld 408576698