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

Issue 2139443002: [DevTools] Allow modifying instrumenting agents while iterating. (Closed)

Created:
4 years, 5 months ago by dgozman
Modified:
4 years, 5 months ago
Reviewers:
caseq
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_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] Allow modifying instrumenting agents while iterating. In this case we stop iteration early (possibly loosing instrumentation call though). This can happen if during instrumentation call we paused the execution, entered nested message loop and detached from there (thus removing agent from the list). BUG=none Committed: https://crrev.com/a0206e7e8481b0bd171beb9fc895bd55201eff6e Cr-Commit-Position: refs/heads/master@{#404694}

Patch Set 1 #

Total comments: 10

Patch Set 2 : addressed review comments #

Total comments: 9

Patch Set 3 : more comments addressed #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -8 lines) Patch
A + third_party/WebKit/LayoutTests/inspector-protocol/debugger/detach-when-paused-in-instrumentation.html View 1 chunk +2 lines, -5 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector-protocol/debugger/detach-when-paused-in-instrumentation-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py View 1 2 3 4 chunks +69 lines, -3 lines 0 comments Download

Messages

Total messages: 50 (25 generated)
dgozman
Take a look please.
4 years, 5 months ago (2016-07-08 23:43:58 UTC) #2
caseq
https://codereview.chromium.org/2139443002/diff/1/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py File third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py (right): https://codereview.chromium.org/2139443002/diff/1/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py#newcode107 third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py:107: class CORE_EXPORT AgentList { drop CORE_EXPORT https://codereview.chromium.org/2139443002/diff/1/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py#newcode110 third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py:110: class ...
4 years, 5 months ago (2016-07-09 00:37:52 UTC) #5
dgozman
PTAL https://codereview.chromium.org/2139443002/diff/1/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py File third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py (right): https://codereview.chromium.org/2139443002/diff/1/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py#newcode107 third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py:107: class CORE_EXPORT AgentList { On 2016/07/09 00:37:52, caseq ...
4 years, 5 months ago (2016-07-09 00:50:41 UTC) #8
caseq
lgtm https://codereview.chromium.org/2139443002/diff/20001/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py File third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py (right): https://codereview.chromium.org/2139443002/diff/20001/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py#newcode119 third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py:119: bool operator==(const Iterator& other) { return isEnd() && ...
4 years, 5 months ago (2016-07-09 01:18:34 UTC) #11
dgozman
https://codereview.chromium.org/2139443002/diff/20001/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py File third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py (right): https://codereview.chromium.org/2139443002/diff/20001/third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py#newcode119 third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py:119: bool operator==(const Iterator& other) { return isEnd() && other.isEnd() ...
4 years, 5 months ago (2016-07-09 02:00:21 UTC) #12
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/2139443002/40001
4 years, 5 months ago (2016-07-09 02:00:40 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
4 years, 5 months ago (2016-07-09 04:01:28 UTC) #17
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/2139443002/40001
4 years, 5 months ago (2016-07-09 04:35:26 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
4 years, 5 months ago (2016-07-09 06:36:04 UTC) #21
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/2139443002/40001
4 years, 5 months ago (2016-07-09 13:59:38 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
4 years, 5 months ago (2016-07-09 16:00:11 UTC) #25
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/2139443002/40001
4 years, 5 months ago (2016-07-09 18:14:09 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/189901)
4 years, 5 months ago (2016-07-09 19:37:52 UTC) #29
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/2139443002/40001
4 years, 5 months ago (2016-07-09 20:02:53 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/189928)
4 years, 5 months ago (2016-07-09 22:54:26 UTC) #33
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/2139443002/40001
4 years, 5 months ago (2016-07-09 22:59:08 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/189938)
4 years, 5 months ago (2016-07-10 01:53:33 UTC) #37
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/2139443002/40001
4 years, 5 months ago (2016-07-10 01:57:40 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/189943)
4 years, 5 months ago (2016-07-10 04:51:52 UTC) #41
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/2139443002/60001
4 years, 5 months ago (2016-07-11 17:19:05 UTC) #44
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-11 18:30:53 UTC) #45
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-11 18:31:04 UTC) #46
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/a0206e7e8481b0bd171beb9fc895bd55201eff6e Cr-Commit-Position: refs/heads/master@{#404694}
4 years, 5 months ago (2016-07-11 18:35:03 UTC) #48
dgozman
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2143053004/ by dgozman@chromium.org. ...
4 years, 5 months ago (2016-07-12 20:43:29 UTC) #49
pfeldman
4 years, 5 months ago (2016-07-12 22:53:13 UTC) #50
Message was sent while issue was closed.
Do we need that much code to fix it?

Powered by Google App Engine
This is Rietveld 408576698