[Webkit-unassigned] [Bug 10207] New: REGRESSION: function foo() { null.bar() = 1; } results in parse error

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Aug 2 05:11:24 PDT 2006


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

           Summary: REGRESSION: function foo() { null.bar() = 1; } results
                    in parse error
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: Regression
          Severity: normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: opendarwin.org at bdash.net.nz


function foo() { null.bar() = 1; } throws a parse error meaning that scripts
around it are not executed, even though the null.bar() = 1; statement is only
erroneous if executed.  This bug was pointed out by a user of the Google Web
Toolkit, as for some strange reason it generates code of this style.

WebKit 418.8 parses the code fine, as does Firefox.


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