Bug 115800
Summary: | Web Inspector: console.log alternates between object & element representations on refresh | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tim McEwan <tim> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | bburg, joepeck, tim, timothy, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Mac (Intel) | ||
OS: | OS X 10.8 | ||
URL: | http://tjmcewan.github.io/wtfkit/ |
Tim McEwan
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
Moving to the right component.
Radar WebKit Bug Importer
<rdar://problem/15796879>
Blaze Burg
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.