DevTools: show names of all formatted non-array array-subtypes
Objects such as 'NodeList', 'HTMLAllCollection', and 'Arguments' are all 'array'-subtype, and require the same formatting logic as normal arrays. However, unlike normal Arrays, they should print their name as part of their result. For example, 'NodeList(5) [...]' instead of '(5) [...]'. Screenshot: https://imgur.com/a/I41jb Bug: 769998 Change-Id: I898e4e2be6c9a1bc5f05c341ab2bcc83e57deb2d Reviewed-on: https://chromium-review.googlesource.com/691355 Commit-Queue: Erik Luo <luoe@chromium.org> Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#505873}
Showing
Please register or sign in to comment