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

Issue 2516973003: [inspector] Expose scopes for suspended generator objects (Closed)

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

Description

[inspector] Expose scopes for suspended generator objects This exposes scopes for suspended generator objects by adding a [[Scopes]] internal property to generator objects, similar to how scopes for functions currently not on the stack are handled. BUG=chromium:667286 Committed: https://crrev.com/f0d3cf5baeb9df05c29dafa1b1840eb0595d7abc Cr-Commit-Position: refs/heads/master@{#41244}

Patch Set 1 #

Patch Set 2 : Add test #

Total comments: 2

Patch Set 3 : Address comments #

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -4 lines) Patch
M src/inspector/debugger-script.js View 1 chunk +28 lines, -0 lines 0 comments Download
M src/inspector/debugger_script_externs.js View 1 chunk +9 lines, -0 lines 0 comments Download
M src/inspector/v8-debugger.h View 1 chunk +11 lines, -0 lines 0 comments Download
M src/inspector/v8-debugger.cc View 3 chunks +32 lines, -4 lines 0 comments Download
A test/inspector/debugger/suspended-generator-scopes.js View 1 2 3 1 chunk +78 lines, -0 lines 0 comments Download
A test/inspector/debugger/suspended-generator-scopes-expected.txt View 1 2 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (19 generated)
jgruber
This exposes suspended generator scopes similar to how scopes for function variables are exposed. Ideally, ...
4 years, 1 month ago (2016-11-21 15:03:57 UTC) #6
kozy
Please mark as NeedsManualRebaseline inspector/sources/debugger-ui/function-generator-details.html test before landing. And could you add inspector test? We ...
4 years, 1 month ago (2016-11-21 16:13:16 UTC) #7
dgozman
On 2016/11/21 16:13:16, kozyatinskiy wrote: > Please mark as NeedsManualRebaseline > inspector/sources/debugger-ui/function-generator-details.html test before > ...
4 years, 1 month ago (2016-11-21 17:26:58 UTC) #8
kozy
On 2016/11/21 17:26:58, dgozman wrote: > On 2016/11/21 16:13:16, kozyatinskiy wrote: > > Please mark ...
4 years, 1 month ago (2016-11-21 17:50:07 UTC) #9
Yang
On 2016/11/21 17:50:07, kozyatinskiy wrote: > On 2016/11/21 17:26:58, dgozman wrote: > > On 2016/11/21 ...
4 years, 1 month ago (2016-11-22 09:29:49 UTC) #10
jgruber
On 2016/11/21 16:13:16, kozyatinskiy wrote: > Please mark as NeedsManualRebaseline > inspector/sources/debugger-ui/function-generator-details.html test before > ...
4 years, 1 month ago (2016-11-22 14:53:25 UTC) #11
jgruber
https://codereview.chromium.org/2516973003/diff/20001/test/inspector/debugger/suspended-generator-scopes.js File test/inspector/debugger/suspended-generator-scopes.js (right): https://codereview.chromium.org/2516973003/diff/20001/test/inspector/debugger/suspended-generator-scopes.js#newcode58 test/inspector/debugger/suspended-generator-scopes.js:58: InspectorTest.logMessage(scopes); If we attempt to get the properties of ...
4 years, 1 month ago (2016-11-22 14:57:32 UTC) #14
kozy
https://codereview.chromium.org/2516973003/diff/20001/test/inspector/debugger/suspended-generator-scopes.js File test/inspector/debugger/suspended-generator-scopes.js (right): https://codereview.chromium.org/2516973003/diff/20001/test/inspector/debugger/suspended-generator-scopes.js#newcode58 test/inspector/debugger/suspended-generator-scopes.js:58: InspectorTest.logMessage(scopes); On 2016/11/22 14:57:32, jgruber wrote: > If we ...
4 years, 1 month ago (2016-11-22 19:26:37 UTC) #17
jgruber
On 2016/11/22 19:26:37, kozyatinskiy wrote: > https://codereview.chromium.org/2516973003/diff/20001/test/inspector/debugger/suspended-generator-scopes.js > File test/inspector/debugger/suspended-generator-scopes.js (right): > > https://codereview.chromium.org/2516973003/diff/20001/test/inspector/debugger/suspended-generator-scopes.js#newcode58 > ...
4 years ago (2016-11-23 08:58:59 UTC) #22
kozy
thanks! lgtm.
4 years ago (2016-11-23 15:55:01 UTC) #25
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/2516973003/60001
4 years ago (2016-11-24 07:30:38 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-24 07:32:32 UTC) #30
commit-bot: I haz the power
4 years ago (2016-11-24 07:32:47 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f0d3cf5baeb9df05c29dafa1b1840eb0595d7abc
Cr-Commit-Position: refs/heads/master@{#41244}

Powered by Google App Engine
This is Rietveld 408576698