[Webkit-unassigned] [Bug 11703] New: JavaScript does not allow function names in function expressions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 28 01:43:10 PST 2006


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

           Summary: JavaScript does not allow function names in function
                    expressions
           Product: WebKit
           Version: 419.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cabo at tzi.org


// See ECMA-262, clause 13

  alert(function anameisallowedhere(){});

// This is not accepted by Safari Version 2.0.4 (419.3):
// SyntaxError - Parse error
// file:///tmp/safari-functionexpression-bug.html


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