[Webkit-unassigned] [Bug 142322] Web Inspector: Better Console Previews for Arrays / Small Objects
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 4 20:01:02 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=142322
--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org> ---
The way this worked before, is if an array was printed to the console it would auto-fetch one level deep and print that as an object. Currently, we drop the second level fetch and just go with the Preview, which for non-object data gets us less information.
Things we may want to try:
- do a second level fetch for Arrays like we used to
-> handles most of the cases above and is pretty straightforward
- do a "n-deep" level fetch for Arrays/Objects that are simple
- simple defined as: (arrays of length < 2, objects with less then 2 properties, non-cyclical)
-> handles all cases above, but is more complex
- proactively send out better previews for Arrays based on either of the above strategies
- more complete snapshots instead of second level fetch where the objects could change
- won't work with legacy backends since this would require InjectedScript changes
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150305/60cc02fe/attachment-0002.html>
More information about the webkit-unassigned
mailing list