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

Issue 1679133002: [DevTools] Remove isRunRequired, replace autoConnectToWorkers with setWaitForDebuggerOnStart. (Closed)

Created:
4 years, 10 months ago by dgozman
Modified:
4 years, 9 months ago
Reviewers:
pfeldman
CC:
chromium-reviews, kinuko+worker_chromium.org, caseq+blink_chromium.org, lushnikov+blink_chromium.org, falken, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, pfeldman, devtools-reviews_chromium.org, blink-reviews, horo+watch_chromium.org, sergeyv+blink_chromium.org, blink-worker-reviews_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Remove isRunRequired, replace autoConnectToWorkers with setWaitForDebuggerOnStart. In addition encapsulated InspectorInstrumentation calls in WorkerInspectorProxy and make it responsible for "pause on start" decisions. Attempt #2. First one was reverted due to crash during termination, which was fixed recently. BUG=none Committed: https://crrev.com/48a0e0eea44c193e7a5eb2e1e2e7a8c7d2a5cbdc Cr-Commit-Position: refs/heads/master@{#379324}

Patch Set 1 #

Patch Set 2 : workerInspectorProxy #

Patch Set 3 : rebaselined tests #

Total comments: 5

Patch Set 4 : fixed review comments #

Patch Set 5 : rebased #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -148 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/debugger/suspend-setTimeout-on-pause-in-dedicated-worker.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/profiler/agents-disabled-check-expected.txt View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.h View 1 2 3 4 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.cpp View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h View 1 2 3 4 2 chunks +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.cpp View 1 2 3 4 8 chunks +14 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/WorkerInspectorController.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerGlobalScopeProxy.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h View 1 2 3 4 3 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp View 1 2 3 4 1 chunk +10 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerMessagingProxy.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/WorkerManager.js View 1 2 3 3 chunks +19 lines, -45 lines 0 comments Download
M third_party/WebKit/Source/devtools/protocol.json View 1 2 3 4 3 chunks +2 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 35 (19 generated)
dgozman
Take a look please.
4 years, 10 months ago (2016-02-09 01:40:13 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1679133002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1679133002/20001
4 years, 10 months ago (2016-02-09 01:46:04 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/171075)
4 years, 10 months ago (2016-02-09 03:08:18 UTC) #7
pfeldman
lgtm https://codereview.chromium.org/1679133002/diff/40001/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html File third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html (right): https://codereview.chromium.org/1679133002/diff/40001/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html#newcode40 third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html:40: InspectorTest.sendCommand("Worker.setPauseWorkersOnStart", { "value": true }); Worker.setWaitForDebuggerOnStart https://codereview.chromium.org/1679133002/diff/40001/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp File ...
4 years, 10 months ago (2016-02-09 22:42:56 UTC) #8
dgozman
https://codereview.chromium.org/1679133002/diff/40001/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html File third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html (right): https://codereview.chromium.org/1679133002/diff/40001/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html#newcode40 third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-step-into-dedicated-worker.html:40: InspectorTest.sendCommand("Worker.setPauseWorkersOnStart", { "value": true }); On 2016/02/09 22:42:56, pfeldman ...
4 years, 10 months ago (2016-02-09 23:45:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1679133002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1679133002/60001
4 years, 10 months ago (2016-02-09 23:46:25 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/177693)
4 years, 10 months ago (2016-02-10 01:24:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1679133002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1679133002/60001
4 years, 10 months ago (2016-02-11 18:57:03 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-11 21:09:56 UTC) #19
dgozman
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1692813002/ by dgozman@chromium.org. ...
4 years, 10 months ago (2016-02-12 01:09:40 UTC) #20
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/4e76e5c83f49b8584981635d4040cabf76b41ebf Cr-Commit-Position: refs/heads/master@{#374985}
4 years, 10 months ago (2016-02-16 22:38:02 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1679133002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1679133002/80001
4 years, 9 months ago (2016-03-04 16:11:02 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/140401) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 9 months ago (2016-03-04 16:14:21 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1679133002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1679133002/100001
4 years, 9 months ago (2016-03-04 17:38:44 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-04 19:02:58 UTC) #33
commit-bot: I haz the power
4 years, 9 months ago (2016-03-04 19:04:33 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/48a0e0eea44c193e7a5eb2e1e2e7a8c7d2a5cbdc
Cr-Commit-Position: refs/heads/master@{#379324}

Powered by Google App Engine
This is Rietveld 408576698