WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
17548
JavaScriptCore print(a, b) differs from Spidermonkey Behavior
https://bugs.webkit.org/show_bug.cgi?id=17548
Summary
JavaScriptCore print(a, b) differs from Spidermonkey Behavior
Brent Fulgham
Reported
2008-02-25 23:29:22 PST
Spidermonkey allows comma-separated arguments to print. These values are printed with a space inbetween. This: print ("foo", "bar") Produces: foo bar In JavaScriptCore it produces: foo
Attachments
Proposed patch
(1.36 KB, patch)
2008-06-07 14:04 PDT
,
Cameron Zwarich (cpst)
no flags
Details
Formatted Diff
Diff
Revised proposed patch
(1.20 KB, patch)
2008-06-07 14:51 PDT
,
Cameron Zwarich (cpst)
eric
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Cameron Zwarich (cpst)
Comment 1
2008-06-07 14:04:35 PDT
Created
attachment 21565
[details]
Proposed patch Here is a patch. It uses indices instead of iterators because our iterators don't have a distance function.
Cameron Zwarich (cpst)
Comment 2
2008-06-07 14:51:27 PDT
Created
attachment 21566
[details]
Revised proposed patch Includes some changes suggested by Eric.
Eric Seidel (no email)
Comment 3
2008-06-07 14:52:40 PDT
Comment on
attachment 21566
[details]
Revised proposed patch Looks great! (I think I even wrote work-around code in some test cases instead of fixing this once.)
Cameron Zwarich (cpst)
Comment 4
2008-06-07 14:58:09 PDT
Landed in
r34429
.
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