[Webkit-unassigned] [Bug 15194] New: Invalid return statement in two layout tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 12 14:59:46 PDT 2007


           Summary: Invalid return statement in two layout tests
           Product: WebKit
           Version: 522+ (nightly)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: johneseif at gmail.com

I've been trying out some of the plugin layout tests, and have noticed that
these two have invalid js:


The problem is that there's a return statement that's not in a function.  Only
KJS seems to handle this fine, Firefox/IE choke.  I'll attach a reduced test
case.  ECMA-262, section 12.9, page 67 states that an EMCAScript program is
considered syntactically incorrect if it contains a return statement that is
not within the body of a function.

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