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

Issue 2030453002: [DevTools] Support CommandLineAPI in workers and Node.js (Closed)

Created:
4 years, 6 months ago by kozy
Modified:
4 years, 6 months ago
Reviewers:
dgozman, pfeldman
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, 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] Support CommandLineAPI in workers and Node.js CommandLineAPI injection is moved to v8_inspector in this CL. CommandLineAPI methods are installed to global object as non enumerable, replaceble properties. Method can be overriden during evaluation and doesn't override existing property if it's presented. BUG=607748, 595206 R=dgozman@chromium.org, pfeldman@chromium.org Committed: https://crrev.com/3bba4159d276c9513d8ba25d742ceb32a0c8075e Cr-Commit-Position: refs/heads/master@{#399560}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 #

Patch Set 6 #

Patch Set 7 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+483 lines, -109 lines) Patch
A third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-clear-of-command-line-api.html View 1 2 3 4 1 chunk +127 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-clear-of-command-line-api-expected.txt View 1 2 3 4 5 1 chunk +144 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-command-line-api-can-be-overriden.html View 1 2 1 chunk +78 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-command-line-api-can-be-overriden-expected.txt View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp View 1 2 3 3 chunks +0 lines, -40 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/MainThreadDebugger.h View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp View 1 2 3 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/ThreadDebugger.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp View 1 2 3 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp View 1 2 3 2 chunks +3 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8Console.h View 1 2 3 2 chunks +19 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp View 1 2 3 2 chunks +86 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/public/V8Debugger.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 44 (21 generated)
kozy
Dmitry, please take a look!
4 years, 6 months ago (2016-06-01 00:35:06 UTC) #5
dgozman
https://codereview.chromium.org/2030453002/diff/40001/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp File third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp (right): https://codereview.chromium.org/2030453002/diff/40001/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp#newcode705 third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp:705: static void setterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) Why do we need ...
4 years, 6 months ago (2016-06-01 01:25:40 UTC) #6
kozy
Dmitry, please take a look. https://codereview.chromium.org/2030453002/diff/40001/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp File third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp (right): https://codereview.chromium.org/2030453002/diff/40001/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp#newcode705 third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp:705: static void setterCallback(const v8::FunctionCallbackInfo<v8::Value>& ...
4 years, 6 months ago (2016-06-01 18:49:23 UTC) #7
dgozman
https://codereview.chromium.org/2030453002/diff/60001/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp File third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp (right): https://codereview.chromium.org/2030453002/diff/60001/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp#newcode725 third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp:725: DCHECK(!scope); DCHECK(scope) https://codereview.chromium.org/2030453002/diff/60001/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp#newcode733 third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp:733: if (isCommandLineAPIGetter(toProtocolStringWithTypeCheck(name)) && value->IsFunction()) { ...
4 years, 6 months ago (2016-06-01 19:41:28 UTC) #8
kozy
All done. please take a look! https://codereview.chromium.org/2030453002/diff/60001/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp File third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp (right): https://codereview.chromium.org/2030453002/diff/60001/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp#newcode725 third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp:725: DCHECK(!scope); On 2016/06/01 ...
4 years, 6 months ago (2016-06-02 00:50:43 UTC) #9
dgozman
lgtm
4 years, 6 months ago (2016-06-02 22:42:36 UTC) #10
pfeldman
lgtm
4 years, 6 months ago (2016-06-02 23:10:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2030453002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2030453002/80001
4 years, 6 months ago (2016-06-02 23:11:54 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/238311)
4 years, 6 months ago (2016-06-03 00:42:37 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2030453002/140001
4 years, 6 months ago (2016-06-10 18:28:08 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/237248)
4 years, 6 months ago (2016-06-10 22:52:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2030453002/140001
4 years, 6 months ago (2016-06-10 23:11:41 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/237520)
4 years, 6 months ago (2016-06-11 02:19:44 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2030453002/140001
4 years, 6 months ago (2016-06-11 02:20:43 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/237615)
4 years, 6 months ago (2016-06-11 06:13:36 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2030453002/140001
4 years, 6 months ago (2016-06-11 06:25:05 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/237623)
4 years, 6 months ago (2016-06-11 10:30:08 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2030453002/140001
4 years, 6 months ago (2016-06-11 14:49:19 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/237665)
4 years, 6 months ago (2016-06-11 18:47:10 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2030453002/160001
4 years, 6 months ago (2016-06-13 18:28:05 UTC) #39
commit-bot: I haz the power
Committed patchset #7 (id:160001)
4 years, 6 months ago (2016-06-13 21:53:49 UTC) #41
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-13 21:53:55 UTC) #42
commit-bot: I haz the power
4 years, 6 months ago (2016-06-13 21:56:05 UTC) #44
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/3bba4159d276c9513d8ba25d742ceb32a0c8075e
Cr-Commit-Position: refs/heads/master@{#399560}

Powered by Google App Engine
This is Rietveld 408576698