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

Issue 2499273003: [inspector] introduced Script::TYPE_INSPECTOR (Closed)

Created:
4 years, 1 month ago by kozy
Modified:
4 years, 1 month ago
Reviewers:
dgozman, Yang
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] introduced Script::TYPE_INSPECTOR Inspector uses this type for all internal scripts, e.g. injected-script-source.js. Scripts with new type are not reported by remote debugging protocol, frames from them are ignored. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel BUG=none R=yangguo@chromium.org,dgozman@chromium.org Committed: https://crrev.com/6808ec1f83435c365db196313370c35e5f51147d Cr-Commit-Position: refs/heads/master@{#41056}

Patch Set 1 #

Total comments: 4

Patch Set 2 : added a test #

Patch Set 3 : explicit context scope #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -105 lines) Patch
M src/accessors.cc View 1 1 chunk +4 lines, -5 lines 0 comments Download
M src/api.cc View 1 2 3 2 chunks +28 lines, -0 lines 0 comments Download
M src/compiler.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/debug/debug-interface.h View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M src/frames.cc View 1 chunk +1 line, -4 lines 0 comments Download
M src/globals.h View 1 chunk +6 lines, -1 line 0 comments Download
M src/inspector/debugger-script.js View 1 2 3 1 chunk +0 lines, -11 lines 0 comments Download
M src/inspector/debugger_script_externs.js View 1 2 3 3 chunks +0 lines, -30 lines 0 comments Download
M src/inspector/v8-debugger.cc View 1 2 3 1 chunk +6 lines, -14 lines 0 comments Download
M src/inspector/v8-inspector-impl.h View 1 chunk +3 lines, -4 lines 0 comments Download
M src/inspector/v8-inspector-impl.cc View 1 2 3 1 chunk +16 lines, -19 lines 0 comments Download
M src/inspector/v8-runtime-agent-impl.cc View 3 chunks +16 lines, -12 lines 0 comments Download
M src/objects.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
A test/inspector/debugger/script-parsed-for-runtime-evaluate.js View 1 1 chunk +49 lines, -0 lines 0 comments Download
A test/inspector/debugger/script-parsed-for-runtime-evaluate-expected.txt View 1 1 chunk +101 lines, -0 lines 0 comments Download
M test/inspector/runtime/call-function-on-async.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (14 generated)
kozy
Yang, please take a look. I introduced new Script::Type to address your comments in https://codereview.chromium.org/2499093003/. ...
4 years, 1 month ago (2016-11-15 20:02:14 UTC) #3
dgozman
https://codereview.chromium.org/2499273003/diff/1/src/inspector/v8-inspector-impl.cc File src/inspector/v8-inspector-impl.cc (right): https://codereview.chromium.org/2499273003/diff/1/src/inspector/v8-inspector-impl.cc#newcode122 src/inspector/v8-inspector-impl.cc:122: return unboundScript->BindToCurrentContext()->Run(context); I think we have to enter context ...
4 years, 1 month ago (2016-11-15 23:19:57 UTC) #8
kozy
All done. https://codereview.chromium.org/2499273003/diff/1/src/inspector/v8-inspector-impl.cc File src/inspector/v8-inspector-impl.cc (right): https://codereview.chromium.org/2499273003/diff/1/src/inspector/v8-inspector-impl.cc#newcode122 src/inspector/v8-inspector-impl.cc:122: return unboundScript->BindToCurrentContext()->Run(context); On 2016/11/15 23:19:57, dgozman wrote: ...
4 years, 1 month ago (2016-11-16 00:10:50 UTC) #9
Yang
On 2016/11/16 00:10:50, kozyatinskiy wrote: > All done. > > https://codereview.chromium.org/2499273003/diff/1/src/inspector/v8-inspector-impl.cc > File src/inspector/v8-inspector-impl.cc (right): ...
4 years, 1 month ago (2016-11-16 07:36:03 UTC) #10
dgozman
lgtm
4 years, 1 month ago (2016-11-16 19:48:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2499273003/60001
4 years, 1 month ago (2016-11-17 03:33:49 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-17 04:39:38 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:37:21 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6808ec1f83435c365db196313370c35e5f51147d
Cr-Commit-Position: refs/heads/master@{#41056}

Powered by Google App Engine
This is Rietveld 408576698