WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
18888
REGRESSION (
r32731
): console.log always prints "undefined"
https://bugs.webkit.org/show_bug.cgi?id=18888
Summary
REGRESSION (r32731): console.log always prints "undefined"
Matt Lilek
Reported
2008-05-04 13:44:52 PDT
Load the URL on this bug and open the Inspector's console and click the button in the testcase. The inspector incorrectly shows it as "undefined" while the alert() shows it properly as "[object HTMLBodyElement]". I'm not sure whether this is a bug in the inspector or JSCore or elsewhere, but it is a regression from Safari 3.1.1.
Attachments
patch v1 with ChangeLog
(2.37 KB, patch)
2008-05-14 14:05 PDT
,
Adam Roben (:aroben)
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Matt Lilek
Comment 1
2008-05-14 11:24:26 PDT
This is actually a bug in the inspector
Timothy Hatcher
Comment 2
2008-05-14 13:10:44 PDT
This affects logging any object. Try console.log({}) and it gives undefined.
Adam Roben (:aroben)
Comment 3
2008-05-14 14:05:55 PDT
Created
attachment 21136
[details]
patch v1 with ChangeLog
Adam Roben (:aroben)
Comment 4
2008-05-14 14:16:15 PDT
Committed in
r33454
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