| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for fixing this! I like the new split here, just one nit/question.
Sorry, something went wrong.
Sorry, something went wrong.
|
The way these three commits are organized, the first commit adds a test that fails. This will break git bisect. Can you either move that commit to the end, or else squash the three commits together? |
Sorry, something went wrong.
|
@Trott I squashed them into the one. |
Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
oy... rather than a long chain of thens... can we convert this into an async function with awaits please?
Sorry, something went wrong.
There was a problem hiding this comment.
@jasnell done 3f21ce57a3b5f9047203b1a581a91309ae27e4f5
Sorry, something went wrong.
Sorry, something went wrong.
|
I think debugger-* test should be in test/sequential/. |
Sorry, something went wrong.
Most of them are. Maybe this one should be too. The ones in parallel should either not open a port or open a system-provided arbitrary port. |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
PR-URL: #42423 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #42423 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #42423 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #42423 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #42423 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: nodejs/node#42423 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
| Back | FazBrowse Home | New Git URL |
Fixed #42405
The output string of exec command is from RemoteObject[customInspectSymbol], but currently it doesn't support some object types such as Map and Set, which leads to invalid string representations (#42405).
This PR implemented string representations when RemoteObject.subtype is set and map. RemoteObject has their abbreviation as ObjectPreview in RemoteObject.preview, which means we can construct their string representation from ObjectPreview.
For example, new Set([ {a: 1}, new Set([1]) ]) is a RemoteObject that has two ObjectPreviews ({a: 1} and new Set([1])).
String representation of ObjectPreview {a: 1} will be {a: 1} and new Set([1]) will be Set(1) { ... }. (Note that ObjectPreview treats an object nested in two or more layers as overflow, so overflowed object is converted to { ... })
1d0da48886f132b362bae680e07cf3b33627a883 added test cases for object type RemoteObject
7820dd4b2542cabb5ea6581be93f5c0d35b7e50a added ObjectPreview and PropertyPreview. And current string representation logics are ported to them.
5a4f767130e50002c98e214382a4dc74ab29f74a fixed string representations of Map and Set.