[Webkit-unassigned] [Bug 19874] Inspector should support inspect() in the command line

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 19 05:14:12 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=19874


Keishi Hattori <casey.hattori at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33039|                            |review?
               Flag|                            |




--- Comment #2 from Keishi Hattori <casey.hattori at gmail.com>  2009-07-19 05:14:12 PDT ---
Created an attachment (id=33039)
 --> (https://bugs.webkit.org/attachment.cgi?id=33039)
Patch

inspect(document.body) jumps to the Elements panel and selects the node in the
dom tree
inspect(db) jumps to the Databases panel and selects the database
inspect(window.localStorage) jumps to the Databases panel and selects the
domStorage

For other objects, like inspect("foo"), there is no appropriate panel so it
fallsback to console.log
Firebug shows "foo" in the DOM tab.

inspect() with no arguments is ignored.
Firebug shows window in the DOM tab.
Is that better?

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



More information about the webkit-unassigned mailing list