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

Issue 1838683002: [DevTools] Debugger::currentCallFrames returns array instead linked list (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, sergeyv+blink_chromium.org, kinuko+watch, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@wrap-with-corrrect-injected-script
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Debugger::currentCallFrames returns array instead linked list We can return array instead linked list since V8JavaScriptCallFrame wrapper was removed. Method callFrameByIndex was removed because we can use currentCallFrames instead: cached when DevTools is paused and with getter when we check stack trace for DOM breakpoint. BUG=595206 R=dgozman@chromium.org Committed: https://crrev.com/e87c79ce6ef4baa6e78b3eb8d9d7627a89a44885 Cr-Commit-Position: refs/heads/master@{#383448}

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Patch Set 4 : rebased #

Total comments: 4

Patch Set 5 : #

Messages

Total messages: 13 (3 generated)
kozy
Dmitry, please take a look!
4 years, 9 months ago (2016-03-26 00:14:12 UTC) #1
dgozman
https://codereview.chromium.org/1838683002/diff/1/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp File third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp (right): https://codereview.chromium.org/1838683002/diff/1/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp#newcode488 third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp:488: m_currentCallFrames = debugger().currentCallFrames(); m_pausedCallFrames https://codereview.chromium.org/1838683002/diff/1/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp#newcode506 third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp:506: bool V8DebuggerAgentImpl::isTopCallFrameBlackboxed() isTopPausedFrameBlackboxed ...
4 years, 9 months ago (2016-03-26 00:49:21 UTC) #2
kozy
All done! https://codereview.chromium.org/1838683002/diff/1/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp File third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp (right): https://codereview.chromium.org/1838683002/diff/1/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp#newcode488 third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp:488: m_currentCallFrames = debugger().currentCallFrames(); On 2016/03/26 00:49:20, dgozman ...
4 years, 9 months ago (2016-03-26 01:11:17 UTC) #3
dgozman
https://codereview.chromium.org/1838683002/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/1838683002/diff/20001/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp#newcode512 third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp:512: bool V8DebuggerAgentImpl::isCallFrameBlackboxed(JavaScriptCallFrame* callFrame) This is redundant. https://codereview.chromium.org/1838683002/diff/20001/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp#newcode1367 third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp:1367: for ...
4 years, 9 months ago (2016-03-26 01:48:24 UTC) #4
kozy
All done! https://codereview.chromium.org/1838683002/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/1838683002/diff/20001/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp#newcode512 third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp:512: bool V8DebuggerAgentImpl::isCallFrameBlackboxed(JavaScriptCallFrame* callFrame) On 2016/03/26 01:48:24, dgozman ...
4 years, 9 months ago (2016-03-26 02:00:42 UTC) #5
dgozman
lgtm https://codereview.chromium.org/1838683002/diff/60001/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h File third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h (right): https://codereview.chromium.org/1838683002/diff/60001/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h#newcode71 third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h:71: typedef Vector<OwnPtr<JavaScriptCallFrame>> JavaScriptCallFrames; style: using Type = Definition; ...
4 years, 9 months ago (2016-03-26 02:20:24 UTC) #6
kozy
All done! https://codereview.chromium.org/1838683002/diff/60001/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h File third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h (right): https://codereview.chromium.org/1838683002/diff/60001/third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h#newcode71 third_party/WebKit/Source/platform/v8_inspector/JavaScriptCallFrame.h:71: typedef Vector<OwnPtr<JavaScriptCallFrame>> JavaScriptCallFrames; On 2016/03/26 02:20:23, dgozman ...
4 years, 9 months ago (2016-03-26 02:22:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838683002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838683002/80001
4 years, 9 months ago (2016-03-26 02:22:27 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-26 05:48:19 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-26 05:50:11 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e87c79ce6ef4baa6e78b3eb8d9d7627a89a44885
Cr-Commit-Position: refs/heads/master@{#383448}

Powered by Google App Engine
This is Rietveld 408576698