[Webkit-unassigned] [Bug 26130] New: debug = console.log; debug('something'); results in TypeError

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 1 21:49:53 PDT 2009


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

           Summary: debug = console.log; debug('something'); results in
                    TypeError
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: engored at ya.ru


I've done this:
 debug = console.log;
And then I tried to actually debug() something.
It works just fine in Firefox 3.0.10 with Firebug 1.3.3, but in webkit-based
browsers it comes with the error.

To reproduce:
open console, type
 debug = console.log;
 debug // to be sure it is [native code]
 debug('something');

This bug was reproduces on:
WinXP, Google Chrome 1.0.145.65 and 2.0.172.28: results in 'TypeError: Illegal
invocation';
Arch Linux, Midori-git using libwebkit 1.1.7 and 1.1.8 from official tarballs:
results in 'TypeError: Type error';

I guess it's related to closed Bug 19153.


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