[Webkit-unassigned] [Bug 62367] New: Web Inspector: Make it obvious where command line functions come from

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 9 04:35:01 PDT 2011


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

           Summary: Web Inspector: Make it obvious where command line
                    functions come from
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cb at google.com
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    paul.irish at gmail.com, loislo at chromium.org


At the moment, if you log $ to the console, you get the quite cryptic response:

bound: function ()
{
return document.getElementById.apply(document, arguments)
}

I spent a while wondering where it came from! It should be more obvious that this function is scoped to the console and not actually in the page.

Adding a comment to the toString (http://trac.webkit.org/browser/trunk/Source/WebCore/inspector/InjectedScriptSource.js) like:

// Command Line API support

would be great.

-- 
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