Bug 144355

Summary: Web Inspector: Poor view in Console of Attr object (elem.attributes.name)
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: graouts, inspector-bugzilla-changes, jonowells, karlcow, webkit-bug-importer
Priority: P2 Keywords: EasyFix, GoodFirstBug, InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Joseph Pecoraro 2015-04-28 13:45:38 PDT
* SUMMARY
Poor view in Console of Attr object (elem.attributes.name).

* STEPS TO REPRODUCE
1. js> var div = document.createElement("div"); div.id = "foo"; div.attributes.id
  => Get a DOMNode which is kind of weird

Not urgent, since I would imagine these types of objects are very rare to log in the console.
Comment 1 Radar WebKit Bug Importer 2015-04-28 13:46:02 PDT
<rdar://problem/20733660>
Comment 2 Karl Dubost 2024-04-10 01:06:46 PDT
This currently displays: id="foo"
which is not a DOMNode.
Configuration changed?