[Webkit-unassigned] [Bug 17229] Inspector should show properties of all JS objects in Console

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 31 06:56:30 PST 2008


kkaefer at gmail.com changed:

           What    |Removed                     |Added
  Attachment #26310|0                           |1
        is obsolete|                            |
  Attachment #26335|                            |review?
               Flag|                            |

------- Comment #12 from kkaefer at gmail.com  2008-12-31 06:56 PDT -------
Created an attachment (id=26335)
 --> (https://bugs.webkit.org/attachment.cgi?id=26335&action=view)
updated patch with code style fixes

> > -                formattedResult.appendChild(formatForConsole(parameters[i]));
> > +                formattedResult.appendChild(WebInspector.console._format(parameters[i]));
> Why this change? The formatForConsole function just calls
> WebInspector.console._format.

formatForConsole() passes the parameter true for inline, but that is not what
we want in all cases. The attached patch fixes that and does treat
"console.log(window, document)" as inline again (thus they won't be
expnadable). Doing a "console.log(document)" (i.e. with only one element) will
now trigger the expandable mode.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list