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

Issue 2841053002: [inspector] Add some context scopes to inspector code (Closed)

Created:
3 years, 8 months ago by Jens Widell
Modified:
3 years, 7 months ago
Reviewers:
kozy, dgozman
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] Add some context scopes to inspector code Currently, the external API (e.g. v8::Object::Get()) will enter the context passed to it automatically. This is incorrect and causes some trouble for Blink, so we want to change that. It then becomes a potential problem to call the external API without first entering a context, which the inspector code does in some places. This patch aims to correct this. BUG=v8:6307 Review-Url: https://codereview.chromium.org/2841053002 Cr-Commit-Position: refs/heads/master@{#44917} Committed: https://chromium.googlesource.com/v8/v8/+/c9ab660ebdb2246b6a45c857ae4c875cf6147b53

Patch Set 1 #

Total comments: 2

Patch Set 2 : Drop unnecessary scope #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M src/inspector/v8-function-call.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/inspector/v8-regex.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Jens Widell
PTAL I've located these places to add context scopes by running layout tests with extra ...
3 years, 8 months ago (2017-04-26 12:24:18 UTC) #2
dgozman
+kozy FYI https://codereview.chromium.org/2841053002/diff/1/src/inspector/injected-script.cc File src/inspector/injected-script.cc (right): https://codereview.chromium.org/2841053002/diff/1/src/inspector/injected-script.cc#newcode178 src/inspector/injected-script.cc:178: v8::Context::Scope contextScope(context); I don't think this is ...
3 years, 8 months ago (2017-04-26 15:52:49 UTC) #4
Jens Widell
https://codereview.chromium.org/2841053002/diff/1/src/inspector/injected-script.cc File src/inspector/injected-script.cc (right): https://codereview.chromium.org/2841053002/diff/1/src/inspector/injected-script.cc#newcode178 src/inspector/injected-script.cc:178: v8::Context::Scope contextScope(context); On 2017/04/26 15:52:49, dgozman wrote: > I ...
3 years, 8 months ago (2017-04-26 15:57:13 UTC) #5
Jens Widell
On 2017/04/26 15:57:13, Jens Widell wrote: > https://codereview.chromium.org/2841053002/diff/1/src/inspector/injected-script.cc > File src/inspector/injected-script.cc (right): > > https://codereview.chromium.org/2841053002/diff/1/src/inspector/injected-script.cc#newcode178 ...
3 years, 8 months ago (2017-04-26 16:05:08 UTC) #6
dgozman
lgtm
3 years, 8 months ago (2017-04-26 19:37:48 UTC) #7
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/2841053002/20001
3 years, 7 months ago (2017-04-27 08:25:46 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 08:48:46 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/c9ab660ebdb2246b6a45c857ae4c875cf61...

Powered by Google App Engine
This is Rietveld 408576698