Bug 20487 - REGRESSION(r35834): Impossible to assign values in the console
Summary: REGRESSION(r35834): Impossible to assign values in the console
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P1 Normal
Assignee: Nobody
Depends on:
Reported: 2008-08-22 10:31 PDT by Anthony Ricaud
Modified: 2008-08-22 13:37 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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.