[Webkit-unassigned] [Bug 18990] New: SquirrelFish: Function.toString loses new lines, no longer pretty prints

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 10 20:06:18 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18990

           Summary: SquirrelFish: Function.toString loses new lines, no
                    longer pretty prints
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: SquirrelFish
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: oliver at apple.com
                CC: mjs at apple.com, ggaren at apple.com, cwzwarich at uwaterloo.ca


Regardless of formatting Function.toString now appears to actively strip
formatting, try

createPkg=function(_1){
var _2=_1.split("."),len=_2.length;
var _3=this.global;
for(var i=0;i<len-1&&_3&&_2[i];i++){
_3=(_3[_2[i]])?_3[_2[i]]:_3[_2[i]]={};
}
return {pkg:_3,className:(len>0)?_2[len-1]:""};
};

in the inspector, and cry at the out put.


-- 
Configure bugmail: http://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