WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
115800
Web Inspector: console.log alternates between object & element representations on refresh
https://bugs.webkit.org/show_bug.cgi?id=115800
Summary
Web Inspector: console.log alternates between object & element representation...
Tim McEwan
Reported
2013-05-08 07:15:18 PDT
If an element is logged using `console.log()`, it may appear in the console as a list of attributes (an object representation; the same as `console.dir()` shows), or it may appear as a clickable element. Refreshing the page appears to consistently switch between the two. The attached HTML file (and web address above) compares the output of `console.log()` and `console.dir()` to illustrate the issue. The behaviour is consistent across Chrome, Chrome Canary, Safari 6.0.4, and Webkit Nightly (537+).
Attachments
Add attachment
proposed patch, testcase, etc.
Timothy Hatcher
Comment 1
2014-01-10 15:37:15 PST
Moving to the right component.
Radar WebKit Bug Importer
Comment 2
2014-01-10 15:40:54 PST
<
rdar://problem/15796879
>
Blaze Burg
Comment 3
2016-12-08 13:11:04 PST
When you reload the page, the old page's elements are no longer available. So we have to switch to using cached properties instead of live information.
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