[Webkit-unassigned] [Bug 20141] New: Cannot call pointer to function console.log

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 23 06:20:48 PDT 2008


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

           Summary: Cannot call pointer to function console.log
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: will_wk at hamstersoup.com


I'm trying to do cross-browser logging, so I set the variable 'log' to point to
the browser-specific log function, in WebKit's case, console.log:

var log = console.log;
log('ff');
--> TypeError: Type error 

console.log() works fine, but log() is broken.


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