[Webkit-unassigned] [Bug 9815] JavaScript TypeError loading Dean Edwards' JS compressor/obfuscator

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 28 08:32:44 PST 2007


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





------- Comment #4 from ddkilzer at webkit.org  2007-01-28 08:32 PDT -------
It appears that assigning new Function() to a variable does not set it's
prototype, while assigning an anonymous function does.  Thus if you change this
line:

  ICommon.valueOf = new Function("return this");

to this:

  ICommon.valueOf = function(){ return this; };

the test case will work.


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