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

Issue 1622213002: DevTools: make InjectedScript heap-allocated. (Closed)

Created:
4 years, 11 months ago by pfeldman
Modified:
4 years, 11 months ago
Reviewers:
sof, dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, shans, rjwright, blink-reviews-animation_chromium.org, darktears, 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, Eric Willigers, 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: make InjectedScript heap-allocated. BUG=580337 Committed: https://crrev.com/d54c4689d9ef1d3a6844c695d473304b6ca4080f Cr-Commit-Position: refs/heads/master@{#371436}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : assertion fixed #

Patch Set 4 : fixed protocol tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -135 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ScriptState.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp View 1 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScript.h View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScript.cpp View 9 chunks +1 line, -10 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScriptManager.h View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp View 4 chunks +15 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp View 1 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp View 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp View 2 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp View 1 3 chunks +11 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp View 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.cpp View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp View 1 17 chunks +40 lines, -40 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.cpp View 6 chunks +15 lines, -15 lines 0 comments Download

Messages

Total messages: 29 (13 generated)
pfeldman
https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp (right): https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp#newcode195 third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp:195: jsonObj->setExecutionContextId(scriptState->contextIdInDebugger()); This is a change to the semantics - ...
4 years, 11 months ago (2016-01-24 07:34:19 UTC) #1
pfeldman
4 years, 11 months ago (2016-01-24 07:34:46 UTC) #3
sof
https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/core/inspector/InjectedScript.h File third_party/WebKit/Source/core/inspector/InjectedScript.h (left): https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/core/inspector/InjectedScript.h#oldcode53 third_party/WebKit/Source/core/inspector/InjectedScript.h:53: DISALLOW_NEW(); USING_FAST_MALLOC(InjectedScript); ?
4 years, 11 months ago (2016-01-24 08:05:32 UTC) #4
dgozman
lgtm https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/bindings/core/v8/ScriptState.h File third_party/WebKit/Source/bindings/core/v8/ScriptState.h (right): https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/bindings/core/v8/ScriptState.h#newcode92 third_party/WebKit/Source/bindings/core/v8/ScriptState.h:92: int contextIdInDebugger(); Let's comment this may only be ...
4 years, 11 months ago (2016-01-25 18:28:17 UTC) #5
pfeldman
On 2016/01/25 18:28:17, dgozman wrote: > lgtm > > https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/bindings/core/v8/ScriptState.h > File third_party/WebKit/Source/bindings/core/v8/ScriptState.h (right): > ...
4 years, 11 months ago (2016-01-25 18:56:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1622213002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1622213002/1
4 years, 11 months ago (2016-01-25 18:57:58 UTC) #8
sof
https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/core/inspector/InjectedScript.h File third_party/WebKit/Source/core/inspector/InjectedScript.h (left): https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/core/inspector/InjectedScript.h#oldcode53 third_party/WebKit/Source/core/inspector/InjectedScript.h:53: DISALLOW_NEW(); On 2016/01/24 08:05:32, sof wrote: > USING_FAST_MALLOC(InjectedScript); ? ...
4 years, 11 months ago (2016-01-25 18:59:12 UTC) #10
pfeldman
On 2016/01/25 18:59:12, sof wrote: > https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/core/inspector/InjectedScript.h > File third_party/WebKit/Source/core/inspector/InjectedScript.h (left): > > https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/core/inspector/InjectedScript.h#oldcode53 > ...
4 years, 11 months ago (2016-01-25 19:00:11 UTC) #12
pfeldman
https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/core/inspector/InjectedScript.h File third_party/WebKit/Source/core/inspector/InjectedScript.h (left): https://codereview.chromium.org/1622213002/diff/1/third_party/WebKit/Source/core/inspector/InjectedScript.h#oldcode53 third_party/WebKit/Source/core/inspector/InjectedScript.h:53: DISALLOW_NEW(); I absolutely have to! Why allocating this rare ...
4 years, 11 months ago (2016-01-25 19:02:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1622213002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1622213002/20001
4 years, 11 months ago (2016-01-25 19:06:32 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/13068) cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 11 months ago (2016-01-25 19:26:01 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1622213002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1622213002/40001
4 years, 11 months ago (2016-01-25 20:27:40 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/170907)
4 years, 11 months ago (2016-01-25 21:43:31 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1622213002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1622213002/60001
4 years, 11 months ago (2016-01-26 01:33:30 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-26 03:12:46 UTC) #27
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 03:13:47 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d54c4689d9ef1d3a6844c695d473304b6ca4080f
Cr-Commit-Position: refs/heads/master@{#371436}

Powered by Google App Engine
This is Rietveld 408576698