[Webkit-unassigned] [Bug 14102] New: eval() to create an anonymous function.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 12 13:38:45 PDT 2007


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

           Summary: eval() to create an anonymous function.
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh Intel
               URL: http://nacu.ca/brokenjavascript.html
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Blocker
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gregorynacu at mac.com


In previous versions of Safari, and in Firefox I've used (sparingly, and
seemingly necessary) an eval() to create an anonymous function that references
the object creating the function, then it attaches that anonymous function to
the onclick of some other element on the page.  In the 2007-06-12 build of
WebKit and in Safari 3 beta, if you eval('function() {alert("test")};') you get
a parse error on "line 1"


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