v8/test/inspector/sessions
Benedikt Meurer b1f5eeabe5 Reland "[inspector] Report [[Prototype]] as internal property."
This is a reland of 2b94e5677f

Original change's description:
> [inspector] Report [[Prototype]] as internal property.
>
> Previously the inspector was trying to add a special `__proto__`
> property to every JSObject, which looked and behaved like a real
> data property on the object. But this is confusing to developers
> since `__proto__` is not a real data property, but usually an
> accessor property on the `Object.prototype`.
>
> Additionally all other internal properties are reported using the
> [[Name]] notation, with the [[Prototype]] having been the strange
> outlier.
>
> Drive-by-cleanup: Use an ArrayList to collect the name/value pairs
> inside Runtime::GetInternalProperties(), which makes this function
> more readable and easier to add things.
>
> Bug: chromuium:1162229
> Fixed: chromium:1197019
> Screenshot: https://imgur.com/a/b7TZ32s.png
> Change-Id: Ic4c1e35e2e65f90619fcc12bf3a72806cadb0794
> Doc: http://doc/1Xetnc9s6r0yy4LnPbqeCwsnsOtBlvJsV4OCdXMZ1wCM
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2814565
> Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
> Reviewed-by: Yang Guo <yangguo@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#73881}

Bug: chromuium:1162229, chromium:1197019
Screenshot: https://imgur.com/a/b7TZ32s.png
Doc: http://doc/1Xetnc9s6r0yy4LnPbqeCwsnsOtBlvJsV4OCdXMZ1wCM
Change-Id: Ie1e2276b385b18a5f865fdae583d1ce0101157c0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2820970
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73899}
2021-04-12 08:44:13 +00:00
..
create-session-expected.txt DevTools: add support for system-unique execution context ids 2020-12-23 05:15:47 +00:00
create-session.js
debugger-stepping-and-breakpoints-expected.txt [inspector] do not resume on agent disable if there is other agents 2018-05-03 06:23:12 +00:00
debugger-stepping-and-breakpoints.js [inspector] do not resume on agent disable if there is other agents 2018-05-03 06:23:12 +00:00
pause-on-console-assert-expected.txt [inspector] forEachSession iterates in predictable order 2017-08-10 15:39:06 +00:00
pause-on-console-assert.js
runtime-command-line-api-expected.txt Revert "[inspector] RemoteObject.description should be empty for primitive type" 2018-05-31 18:52:08 +00:00
runtime-command-line-api.js
runtime-console-api-called-expected.txt WIP: [parser] Fix arrow function name inferring 2019-01-08 08:10:03 +00:00
runtime-console-api-called.js
runtime-evaluate-exception-expected.txt WIP: [parser] Fix arrow function name inferring 2019-01-08 08:10:03 +00:00
runtime-evaluate-exception.js Use Isolate::GetEnteredOrMicrotaskContext instead of GetEnteredContext 2018-11-13 13:58:00 +00:00
runtime-evaluate-expected.txt Revert "[inspector] RemoteObject.description should be empty for primitive type" 2018-05-31 18:52:08 +00:00
runtime-evaluate.js
runtime-remote-object-expected.txt Reland "[inspector] Report [[Prototype]] as internal property." 2021-04-12 08:44:13 +00:00
runtime-remote-object.js