WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
17931
Incorrect decompilation with |new|
https://bugs.webkit.org/show_bug.cgi?id=17931
Summary
Incorrect decompilation with |new|
Jesse Ruderman
Reported
2008-03-18 18:21:31 PDT
> f = (function () { new (a.b()).c })
function () { new a.b().c; }
> eval("(" + f + ")")
function () { (new a.b()).c; } At some point, the function changed meaning... This bug exists in Safari 3.1 and in ToT testkjs.
Attachments
Test case
(2.17 KB, patch)
2008-06-08 22:19 PDT
,
Cameron Zwarich (cpst)
oliver
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2008-03-18 18:59:48 PDT
<
rdar://problem/5806713
>
Cameron Zwarich (cpst)
Comment 2
2008-06-08 22:19:06 PDT
Created
attachment 21589
[details]
Test case This is trivially fixed by SquirrelFish, because it uses the original source. Here's a test case so we can close the bug.
Cameron Zwarich (cpst)
Comment 3
2008-06-08 22:21:51 PDT
Landed in
r34462
.
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