[Webkit-unassigned] [Bug 10891] New: REGRESSION: eval("return 1") no longer works

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Sep 16 13:23:06 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10891

           Summary: REGRESSION: eval("return 1") no longer works
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: javascript:alert(eval("return 1"))
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: HasReduction, Regression
          Severity: normal
          Priority: P1
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: ap at nypop.com
                CC: timothy at hatcher.name


Evaluating a return statement (see bug URL) now results in an error:
---------------------------------
SyntaxError: Invalid return statement.
undefined
---------------------------------

This causes many AppleScripts to fail, e.g.

tell application "Safari" to do JavaScript "return 'qwerty';" in document 1


-- 
Configure bugmail: http://bugzilla.opendarwin.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