v8/test/inspector
Ruben Bridgewater 74571c80a9 Fix preview of set entries
Set entries return an array with the value as first and second entry.
As such these are considered key value pairs to align with maps
entries iterator.
So far the return value was identical to the values iterator and that
is misleading.

This also adds tests to verify the results and improves the coverage
a tiny bit by testing different iterators.

Refs: https://github.com/nodejs/node/issues/24629

R=yangguo@chromium.org

Change-Id: I669a724bb4afaf5a713e468b1f51691d22c25253
Reviewed-on: https://chromium-review.googlesource.com/c/1350790
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59311}
2019-02-03 19:35:11 +00:00
..
console Revert "[inspector] RemoteObject.description should be empty for primitive type" 2018-05-31 18:52:08 +00:00
cpu-profiler [parser] Allow declaring variables without a proxy 2019-01-25 09:10:59 +00:00
debugger Fix preview of set entries 2019-02-03 19:35:11 +00:00
heap-profiler [heap profiler] Plumb samples through the protocol. 2018-10-23 00:12:01 +00:00
runtime Fix preview of set entries 2019-02-03 19:35:11 +00:00
sessions WIP: [parser] Fix arrow function name inferring 2019-01-08 08:10:03 +00:00
type-profiler [test] Remove dead flags from some tests. 2018-10-15 10:00:12 +00:00
BUILD.gn reland: inspector: move injected script source to native 2018-10-31 17:47:58 +00:00
DEPS [inspector] introduce limit for amount of stored async stacks 2016-12-18 17:04:40 +00:00
inspector-test.cc Reland "[builtins] Support embedded builtins in nosnapshot builds" 2018-11-15 13:56:25 +00:00
inspector.status [nojit] Add a few flag implications based on --jitless 2019-01-15 11:20:19 +00:00
isolate-data.cc Use Isolate::GetEnteredOrMicrotaskContext instead of GetEnteredContext 2018-11-13 13:58:00 +00:00
isolate-data.h [wasm] fix clear context group for wasm 2018-11-06 22:27:17 +00:00
json-parse-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
json-parse.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
OWNERS Add COMPONENT tags to OWNERS files where appropriate 2017-05-22 10:15:28 +00:00
protocol-test.js [wasm] fix clear context group for wasm 2018-11-06 22:27:17 +00:00
task-runner.cc Cleanup: Use std::atomic<T> instead of base::AtomicNumber<T> in TaskRunner. 2018-07-12 07:22:06 +00:00
task-runner.h [cleanup] Refactor inspector to use default members. 2018-09-18 09:13:59 +00:00
testcfg.py reland: inspector: move injected script source to native 2018-10-31 17:47:58 +00:00