WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
18707
SQUIRRELFISH: eval always performs toString() on its argument
https://bugs.webkit.org/show_bug.cgi?id=18707
Summary
SQUIRRELFISH: eval always performs toString() on its argument
Cameron Zwarich (cpst)
Reported
2008-04-23 22:06:33 PDT
The following JavaScriptCore tests fail because eval always performs toString() on its argument, instead of returning the argument verbatim if it is not a string: ecma/GlobalObject/15.1.2.1-1.js ecma/NativeObjects/15-2.js ecma/Number/15.7.3.1-2.js ecma/ObjectObjects/15.2.3-1.js
Attachments
Proposed patch
(1.03 KB, patch)
2008-04-23 22:19 PDT
,
Cameron Zwarich (cpst)
mjs
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Cameron Zwarich (cpst)
Comment 1
2008-04-23 22:19:59 PDT
Created
attachment 20785
[details]
Proposed patch Here is a patch that fixes the problem. It shows no difference on SunSpider.
Maciej Stachowiak
Comment 2
2008-04-23 22:27:30 PDT
Comment on
attachment 20785
[details]
Proposed patch r=me
Cameron Zwarich (cpst)
Comment 3
2008-04-23 22:35:52 PDT
Committed in
r32459
.
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