RESOLVED FIXED 18540
console.log('multiple', 'strings') quotes all strings after the first
https://bugs.webkit.org/show_bug.cgi?id=18540
Summary console.log('multiple', 'strings') quotes all strings after the first
Adam Roben (:aroben)
Reported 2008-04-16 13:20:53 PDT
console.log('multiple', 'strings') quotes all strings after the first one. For example: console.log('here', 'are', 'some', 'strings') Inspector's output: here "are" "some" "strings" Firebug's output: here are some strings We should match Firebug here.
Attachments
fix (1.44 KB, patch)
2008-07-10 01:07 PDT, Keishi Hattori
aroben: review+
Keishi Hattori
Comment 1 2008-07-10 01:07:05 PDT
Created attachment 22197 [details] fix Should I have written Object.type(parameters[i], InspectorController.inspectedWindow()) === "string" instead of typeof parameters[i] === "string" like on line 49 of Console.js? I kind of feel using Object.type is an overkill for detecting string.
Adam Roben (:aroben)
Comment 2 2008-07-10 08:07:01 PDT
Comment on attachment 22197 [details] fix It would be great to add a testcase just for this particular problem (though the issue can already be seen in existing testcases) r=me even without a testcase
Mark Rowe (bdash)
Comment 3 2008-07-26 22:14:27 PDT
Landed in r35383.
Note You need to log in before you can comment on or make changes to this bug.