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

Issue 1648463002: DevTools: migrate injectedscript from ScriptValue to v8::Global. (Closed)

Created:
4 years, 11 months ago by pfeldman
Modified:
4 years, 11 months ago
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, 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: migrate injectedscript from ScriptValue to v8::Global. BUG=580337 Committed: https://crrev.com/4a24b64212ecd63bc9defcbc9fb212898e5738ee Cr-Commit-Position: refs/heads/master@{#371952}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 16

Patch Set 4 : review comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -97 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/custom/V8InjectedScriptManager.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScript.h View 4 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScript.cpp View 1 2 3 22 chunks +66 lines, -51 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScriptHost.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScriptHost.cpp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScriptManager.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp View 1 2 3 chunks +10 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp View 3 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/MainThreadDebugger.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp View 1 2 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/PageDebuggerAgent.cpp View 1 2 3 2 chunks +13 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp View 2 chunks +7 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8DebuggerClient.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8DebuggerImpl.h View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.cpp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
pfeldman
4 years, 11 months ago (2016-01-27 21:05:40 UTC) #2
dgozman
https://codereview.chromium.org/1648463002/diff/40001/third_party/WebKit/Source/core/inspector/InjectedScript.cpp File third_party/WebKit/Source/core/inspector/InjectedScript.cpp (right): https://codereview.chromium.org/1648463002/diff/40001/third_party/WebKit/Source/core/inspector/InjectedScript.cpp#newcode125 third_party/WebKit/Source/core/inspector/InjectedScript.cpp:125: m_context.SetWeak(this, &weakCallback, v8::WeakCallbackType::kParameter); You can pass context here as ...
4 years, 11 months ago (2016-01-27 22:05:47 UTC) #3
pfeldman
https://codereview.chromium.org/1648463002/diff/40001/third_party/WebKit/Source/core/inspector/InjectedScript.cpp File third_party/WebKit/Source/core/inspector/InjectedScript.cpp (right): https://codereview.chromium.org/1648463002/diff/40001/third_party/WebKit/Source/core/inspector/InjectedScript.cpp#newcode125 third_party/WebKit/Source/core/inspector/InjectedScript.cpp:125: m_context.SetWeak(this, &weakCallback, v8::WeakCallbackType::kParameter); On 2016/01/27 22:05:47, dgozman wrote: > ...
4 years, 11 months ago (2016-01-27 22:15:45 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648463002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648463002/60001
4 years, 11 months ago (2016-01-27 22:17:36 UTC) #6
dgozman
lgtm
4 years, 11 months ago (2016-01-27 23:22:32 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-28 00:34:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648463002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648463002/60001
4 years, 11 months ago (2016-01-28 01:11:05 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-28 01:20:33 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2016-01-28 01:21:36 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4a24b64212ecd63bc9defcbc9fb212898e5738ee
Cr-Commit-Position: refs/heads/master@{#371952}

Powered by Google App Engine
This is Rietveld 408576698