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

Issue 1811853002: [DevTools] Move evaluateOnCallFrame to native (Closed)

Created:
4 years, 9 months ago by kozy
Modified:
4 years, 9 months ago
Reviewers:
dgozman
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, blink-reviews-bindings_chromium.org, sergeyv+blink_chromium.org, kinuko+watch, pfeldman, 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] Move evaluateOnCallFrame to native Method evaluateOnCallFrame was moved to V8DebuggerAgentImpl. While evaluatiom on call frame for command line API support, method based on V8WindowCustom binding is used instead existing scope_extension argument. In consequent callFrame was removed from CommandLineLineAPI constructor. Introduced InjectScopeExtensionByName helper class. BUG=595206 R=dgozman@chromium.org TBR=pfeldman@chromium.org Committed: https://crrev.com/fd40284be4bdc04e68401e25af2fbfb658a95a8b Cr-Commit-Position: refs/heads/master@{#381834}

Patch Set 1 : #

Total comments: 42

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -218 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp View 1 4 chunks +6 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/DebuggerScript.js View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h View 1 2 2 chunks +18 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp View 1 2 8 chunks +80 lines, -40 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.h View 1 1 chunk +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.cpp View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js View 8 chunks +23 lines, -85 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.cpp View 1 1 chunk +2 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp View 1 2 4 chunks +40 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8JavaScriptCallFrame.cpp View 2 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.h View 1 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp View 1 2 6 chunks +19 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/injected_script_externs.js View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/public/V8Debugger.h View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (12 generated)
kozy
Dmitry, please take a look!
4 years, 9 months ago (2016-03-17 07:28:08 UTC) #1
dgozman
https://codereview.chromium.org/1811853002/diff/100001/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp File third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp (right): https://codereview.chromium.org/1811853002/diff/100001/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp#newcode286 third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp:286: static bool installScopeExtensionIfNeeded(Frame* frame, v8::Local<v8::Name> name, const AtomicString& nameString, ...
4 years, 9 months ago (2016-03-17 19:16:12 UTC) #7
kozy
All done! https://codereview.chromium.org/1811853002/diff/100001/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp File third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp (right): https://codereview.chromium.org/1811853002/diff/100001/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp#newcode286 third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp:286: static bool installScopeExtensionIfNeeded(Frame* frame, v8::Local<v8::Name> name, const ...
4 years, 9 months ago (2016-03-17 20:48:57 UTC) #8
dgozman
lgtm https://codereview.chromium.org/1811853002/diff/120001/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h File third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h (right): https://codereview.chromium.org/1811853002/diff/120001/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h#newcode108 third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h:108: v8::TryCatch&, const? https://codereview.chromium.org/1811853002/diff/120001/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.cpp File third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.cpp (right): https://codereview.chromium.org/1811853002/diff/120001/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.cpp#newcode190 third_party/WebKit/Source/platform/v8_inspector/InjectedScriptManager.cpp:190: ...
4 years, 9 months ago (2016-03-17 20:56:12 UTC) #9
kozy
Thanks! All done! https://codereview.chromium.org/1811853002/diff/120001/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h File third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h (right): https://codereview.chromium.org/1811853002/diff/120001/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h#newcode108 third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h:108: v8::TryCatch&, On 2016/03/17 20:56:11, dgozman wrote: ...
4 years, 9 months ago (2016-03-17 21:05:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811853002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811853002/140001
4 years, 9 months ago (2016-03-17 21:06:12 UTC) #13
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/158238)
4 years, 9 months ago (2016-03-17 21:18:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1811853002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1811853002/140001
4 years, 9 months ago (2016-03-17 21:20:55 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:140001)
4 years, 9 months ago (2016-03-17 23:29:23 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 23:30:34 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fd40284be4bdc04e68401e25af2fbfb658a95a8b
Cr-Commit-Position: refs/heads/master@{#381834}

Powered by Google App Engine
This is Rietveld 408576698