[Webkit-unassigned] [Bug 18053] Can't eval() an anonymous function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 21 12:04:59 PST 2008


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





------- Comment #9 from sorccu at gmail.com  2008-12-21 12:04 PDT -------
(In reply to comment #8)
> This used to fail in IE, which is why we didn't implement it. It passes in IE7,
> though, so we should probably copy the behavior.
> 

You may or may not be aware of this, but it works just fine if you make it an
expression - for example, eval('(function() { alert("PASSED") })')().


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