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

Issue 2672213002: [inspector] introduced v8::debug::EntriesPreview for inspector (Closed)

Created:
3 years, 10 months ago by kozy
Modified:
3 years, 10 months ago
CC:
v8-reviews_googlegroups.com, Yang, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] introduced v8::debug::EntriesPreview for inspector - entries preview available even if debugger agent is disabled, - less deprecated mirrors usage in debugger-script.js - no usage of debugger context - zero probability of leaking it. - better test coverage. BUG=v8:5510 R=yangguo@chromium.org,jgruber@chromium.org,alph@chromium.org,luoe@chromium.org Review-Url: https://codereview.chromium.org/2672213002 Cr-Commit-Position: refs/heads/master@{#42978} Committed: https://chromium.googlesource.com/v8/v8/+/6e17719e7963b7ab56a57a1425e6e8c40bad9831

Patch Set 1 #

Patch Set 2 : nullify proto #

Patch Set 3 : better output for map iterators #

Patch Set 4 : a #

Patch Set 5 : ready for review #

Patch Set 6 : rebased tests #

Total comments: 5

Patch Set 7 : addressed comments #

Total comments: 2

Patch Set 8 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1323 lines, -234 lines) Patch
M src/api.cc View 1 2 3 4 5 6 5 chunks +84 lines, -24 lines 0 comments Download
M src/debug/debug-interface.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/inspector/debugger-script.js View 1 chunk +0 lines, -18 lines 0 comments Download
M src/inspector/debugger_script_externs.js View 2 chunks +0 lines, -50 lines 0 comments Download
M src/inspector/v8-debugger.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/inspector/v8-debugger.cc View 1 2 3 4 5 6 7 5 chunks +52 lines, -75 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 1 chunk +34 lines, -0 lines 0 comments Download
M src/runtime/runtime-collections.cc View 1 2 3 4 5 6 2 chunks +2 lines, -46 lines 0 comments Download
M test/inspector/debugger/object-preview-internal-properties-expected.txt View 2 chunks +13 lines, -19 lines 0 comments Download
A test/inspector/runtime/internal-properties.js View 1 2 3 4 1 chunk +52 lines, -0 lines 0 comments Download
A test/inspector/runtime/internal-properties-entries.js View 1 2 1 chunk +65 lines, -0 lines 0 comments Download
A test/inspector/runtime/internal-properties-entries-expected.txt View 1 2 3 4 5 1 chunk +691 lines, -0 lines 0 comments Download
A test/inspector/runtime/internal-properties-expected.txt View 1 2 3 4 1 chunk +324 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (31 generated)
kozy
please take a look!
3 years, 10 months ago (2017-02-06 08:09:18 UTC) #1
kozy
FYI: https://codereview.chromium.org/2674143003/ - related change in layout tests expectations.
3 years, 10 months ago (2017-02-06 08:10:04 UTC) #2
Yang
lgtm with comments. https://codereview.chromium.org/2672213002/diff/120001/src/runtime/runtime-collections.cc File src/runtime/runtime-collections.cc (right): https://codereview.chromium.org/2672213002/diff/120001/src/runtime/runtime-collections.cc#newcode259 src/runtime/runtime-collections.cc:259: RUNTIME_FUNCTION(Runtime_GetWeakMapEntries) { Can we move that ...
3 years, 10 months ago (2017-02-06 10:41:30 UTC) #16
jgruber
Very nice, lgtm. https://codereview.chromium.org/2672213002/diff/120001/src/runtime/runtime-collections.cc File src/runtime/runtime-collections.cc (right): https://codereview.chromium.org/2672213002/diff/120001/src/runtime/runtime-collections.cc#newcode259 src/runtime/runtime-collections.cc:259: RUNTIME_FUNCTION(Runtime_GetWeakMapEntries) { On 2017/02/06 10:41:30, Yang ...
3 years, 10 months ago (2017-02-06 12:40:39 UTC) #17
kozy
I generalized and moved GetEntries for WeakSet and WeakMap to JSWeakCollection. Alexey or Erik, please ...
3 years, 10 months ago (2017-02-06 18:39:26 UTC) #18
luoe
Why do we allow entryPreviews to be shown when debugger agent is disabled, but not ...
3 years, 10 months ago (2017-02-06 22:38:50 UTC) #23
kozy
On 2017/02/06 22:38:50, luoe wrote: > Why do we allow entryPreviews to be shown when ...
3 years, 10 months ago (2017-02-06 22:58:35 UTC) #24
kozy
https://codereview.chromium.org/2672213002/diff/140001/src/inspector/v8-debugger.cc File src/inspector/v8-debugger.cc (right): https://codereview.chromium.org/2672213002/diff/140001/src/inspector/v8-debugger.cc#newcode69 src/inspector/v8-debugger.cc:69: if (!entries->Get(context, i + 1).ToLocal(&value)) continue; On 2017/02/06 22:38:50, ...
3 years, 10 months ago (2017-02-06 22:58:41 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/2672213002/160001
3 years, 10 months ago (2017-02-07 00:53:45 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-07 02:54:14 UTC) #34
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/2672213002/160001
3 years, 10 months ago (2017-02-07 02:55:44 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-07 04:56:07 UTC) #38
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/2672213002/160001
3 years, 10 months ago (2017-02-07 05:30:27 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-07 07:31:02 UTC) #42
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/2672213002/160001
3 years, 10 months ago (2017-02-07 07:43:24 UTC) #44
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 07:46:29 UTC) #47
Message was sent while issue was closed.
Committed patchset #8 (id:160001) as
https://chromium.googlesource.com/v8/v8/+/6e17719e7963b7ab56a57a1425e6e8c40ba...

Powered by Google App Engine
This is Rietveld 408576698