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

Issue 1636223002: DevTools: remove ScriptState/Value from the InjectedScript APIs. (Closed)

Created:
4 years, 11 months ago by pfeldman
Modified:
4 years, 11 months ago
CC:
chromium-reviews, caseq+blink_chromium.org, shans, rjwright, tfarina, 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: remove ScriptState/Value from the InjectedScript APIs. BUG=580337 Committed: https://crrev.com/e8de841b2e6e94acdaf9c4762e81d9e0410cc5d1 Cr-Commit-Position: refs/heads/master@{#371825}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 19

Patch Set 4 : review comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -124 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/custom/V8InjectedScriptManager.cpp View 3 chunks +13 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScript.h View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScript.cpp View 1 2 4 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScriptHost.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScriptHost.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScriptManager.h View 3 chunks +3 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp View 1 2 3 2 chunks +8 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp View 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp View 1 2 3 3 chunks +11 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp View 1 2 3 3 chunks +11 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.cpp View 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/MainThreadDebugger.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/ThreadDebugger.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.cpp View 1 2 3 7 chunks +15 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8DebuggerClient.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.cpp View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgent.h View 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.h View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.cpp View 1 2 3 3 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
pfeldman
4 years, 11 months ago (2016-01-27 01:51:11 UTC) #2
pfeldman
PTAL
4 years, 11 months ago (2016-01-27 02:09:13 UTC) #3
dgozman
lgtm https://codereview.chromium.org/1636223002/diff/40001/third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp File third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp (right): https://codereview.chromium.org/1636223002/diff/40001/third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp#newcode126 third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp:126: v8::HandleScope handles(context->GetIsolate()); Not needed. https://codereview.chromium.org/1636223002/diff/40001/third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp#newcode127 third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp:127: v8::Context::Scope scope(context); ...
4 years, 11 months ago (2016-01-27 02:36:37 UTC) #4
tfarina
Pavel, could you add to the CL description why ScriptState/Value has to be removed from ...
4 years, 11 months ago (2016-01-27 09:11:29 UTC) #5
pfeldman
On 2016/01/27 09:11:29, tfarina wrote: > Pavel, could you add to the CL description why ...
4 years, 11 months ago (2016-01-27 16:48:08 UTC) #6
pfeldman
https://codereview.chromium.org/1636223002/diff/40001/third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp File third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp (right): https://codereview.chromium.org/1636223002/diff/40001/third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp#newcode126 third_party/WebKit/Source/core/inspector/InjectedScriptManager.cpp:126: v8::HandleScope handles(context->GetIsolate()); On 2016/01/27 02:36:37, dgozman wrote: > Not ...
4 years, 11 months ago (2016-01-27 16:56:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1636223002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1636223002/60001
4 years, 11 months ago (2016-01-27 17:04:59 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-27 18:36:11 UTC) #14
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/e8de841b2e6e94acdaf9c4762e81d9e0410cc5d1 Cr-Commit-Position: refs/heads/master@{#371825}
4 years, 11 months ago (2016-01-27 18:37:29 UTC) #16
tfarina
On Wednesday, January 27, 2016, <pfeldman@chromium.org> wrote: > On 2016/01/27 09:11:29, tfarina wrote: > >> ...
4 years, 11 months ago (2016-01-27 21:22:04 UTC) #17
tfarina
4 years, 11 months ago (2016-01-27 21:22:04 UTC) #18
Message was sent while issue was closed.
On Wednesday, January 27, 2016, <pfeldman@chromium.org> wrote:

> On 2016/01/27 09:11:29, tfarina wrote:
>
>> Pavel, could you add to the CL description why ScriptState/Value has to be
>> removed from InjectedScript APIs? Without looking at the bug it is not
>> clear.
>>
>
> @tfarina: I usually try to tell what the CL does rather than why - that
> way it
> is easier to navigate the log of changes. When the context of the CL is
> large /
> high level, I'd like to keep it to the bug database. That's why changes
> and the
> bugs go hand in hand.
>
> I disagree. Commit messages are really meant to describe why changes are
being made to the source code. I imagine when bug tracker is gone and you
won't be able to access it anymore. While if you have the source then  you
can check why the change was made. I don't think hurt too much giving a
little more context.


> https://codereview.chromium.org/1636223002/
>


-- 
Thiago Farina

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698