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

Issue 1786243002: [DevTools] Move restartFrame and setCallFrameVariableValue to V8DebuggerAgent (Closed)

Created:
4 years, 9 months ago by kozy
Modified:
4 years, 9 months ago
Reviewers:
dgozman, pfeldman
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, kinuko+watch, sergeyv+blink_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@dgozman-patch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Move restartFrame and setCallFrameVariableValue to V8DebuggerAgent Methods are moved from InjectedScriptSource.js to native implementation in V8DebuggerAgent. Removed setVariableValue by function object. R=dgozman@crhomium.org BUG=595206 Committed: https://crrev.com/c71d2197b5bec2f76d5b8850f2e3a716b4899ded Cr-Commit-Position: refs/heads/master@{#381400}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -406 lines) Patch
D third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setVariableValue.html View 1 2 1 chunk +0 lines, -181 lines 0 comments Download
D third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setVariableValue-expected.txt View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDebuggerAgent.cpp View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/protocol.json View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp View 1 2 3 2 chunks +31 lines, -55 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js View 1 2 3 1 chunk +0 lines, -46 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp View 1 2 3 2 chunks +44 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp View 1 2 3 2 chunks +0 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8JavaScriptCallFrame.cpp View 1 2 3 2 chunks +0 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/injected_script_externs.js View 1 2 3 2 chunks +0 lines, -22 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
kozy
ptal
4 years, 9 months ago (2016-03-11 21:58:26 UTC) #1
pfeldman
https://codereview.chromium.org/1786243002/diff/20001/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp File third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp (right): https://codereview.chromium.org/1786243002/diff/20001/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp#newcode1016 third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp:1016: if (!injectedScript->resolveCallArgument(errorString, newValueArgument.get()).ToLocal(&newValue)) Can you extract resolving of the ...
4 years, 9 months ago (2016-03-11 22:04:44 UTC) #3
kozy
all done. ptal. https://codereview.chromium.org/1786243002/diff/20001/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp File third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp (right): https://codereview.chromium.org/1786243002/diff/20001/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp#newcode1016 third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp:1016: if (!injectedScript->resolveCallArgument(errorString, newValueArgument.get()).ToLocal(&newValue)) On 2016/03/11 22:04:44, ...
4 years, 9 months ago (2016-03-11 23:55:17 UTC) #6
pfeldman
https://codereview.chromium.org/1786243002/diff/40001/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setVariableValue.html File third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setVariableValue.html (left): https://codereview.chromium.org/1786243002/diff/40001/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setVariableValue.html#oldcode3 third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setVariableValue.html:3: <script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script> You are removing this test, but ...
4 years, 9 months ago (2016-03-12 01:23:26 UTC) #7
kozy
https://codereview.chromium.org/1786243002/diff/40001/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setVariableValue.html File third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setVariableValue.html (left): https://codereview.chromium.org/1786243002/diff/40001/third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setVariableValue.html#oldcode3 third_party/WebKit/LayoutTests/inspector-protocol/debugger/debugger-setVariableValue.html:3: <script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script> On 2016/03/12 01:23:26, pfeldman wrote: > ...
4 years, 9 months ago (2016-03-12 01:30:15 UTC) #8
kozy
ping?
4 years, 9 months ago (2016-03-15 17:19:12 UTC) #9
pfeldman
lgtm https://codereview.chromium.org/1786243002/diff/40001/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp File third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp (right): https://codereview.chromium.org/1786243002/diff/40001/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp#newcode481 third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp:481: value = "Number(" + value + ")"; What ...
4 years, 9 months ago (2016-03-15 19:12:23 UTC) #10
kozy
All done. https://codereview.chromium.org/1786243002/diff/40001/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp File third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp (right): https://codereview.chromium.org/1786243002/diff/40001/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp#newcode481 third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp:481: value = "Number(" + value + ")"; ...
4 years, 9 months ago (2016-03-16 02:15:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1786243002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1786243002/60001
4 years, 9 months ago (2016-03-16 02:15:28 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/157445)
4 years, 9 months ago (2016-03-16 02:25:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1786243002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1786243002/60001
4 years, 9 months ago (2016-03-16 02:53:53 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-16 05:28:22 UTC) #21
commit-bot: I haz the power
4 years, 9 months ago (2016-03-16 05:30:29 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c71d2197b5bec2f76d5b8850f2e3a716b4899ded
Cr-Commit-Position: refs/heads/master@{#381400}

Powered by Google App Engine
This is Rietveld 408576698