Bug 20487

Summary: REGRESSION(r35834): Impossible to assign values in the console
Product: WebKit Reporter: Anthony Ricaud <rik>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Severity: Normal CC: aroben, timothy
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   

Description Anthony Ricaud 2008-08-22 10:31:42 PDT
Steps to reproduce:
1) Go to http://webkit.org
2) Open the console
3) Enter "foo = 42;" or "var foo=42"

Actual results:
SyntaxError: Parse error 

Expected results:
42 (result of the assignation)

"foo=42" (without ;) works...
Comment 1 Anthony Ricaud 2008-08-22 11:52:18 PDT
http://trac.webkit.org/changeset/35834 is certainly the suspect.
Comment 2 Timothy Hatcher 2008-08-22 13:37:34 PDT
Rolled out the problem change in r35895. Maybe there is a way to fix bug 20428 and not have this side affect. But bug 20428 was not that critical. The user can always add the parenthesis if they want.