WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
10207
REGRESSION: function foo() { null.bar() = 1; } results in parse error (Google Web Toolkit)
https://bugs.webkit.org/show_bug.cgi?id=10207
Summary
REGRESSION: function foo() { null.bar() = 1; } results in parse error (Google...
Mark Rowe (bdash)
Reported
2006-08-02 05:11:24 PDT
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.
Attachments
Reduced test case
(416 bytes, text/html)
2006-08-02 05:15 PDT
,
Mark Rowe (bdash)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2006-08-02 05:15:16 PDT
Created
attachment 9817
[details]
Reduced test case
Kimmo Kinnunen
Comment 2
2007-05-19 12:25:36 PDT
This seems to work now (
r21600
).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug