Changeset 46886 in webkit
- Timestamp:
- Aug 6, 2009, 10:51:45 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r46885 r46886 1 2009-08-06 Joseph Pecoraro <joepeck02@gmail.com> 2 3 Reviewed by Timothy Hatcher. 4 5 Inspector: NodeLists Don't Display Well in the Console 6 https://bugs.webkit.org/show_bug.cgi?id=28061 7 8 * inspector/front-end/ConsoleView.js: 9 (WebInspector.ConsoleView.prototype._format): Specific check if the object is a NodeList, display as an "array" 10 1 11 2009-08-06 Yusuke Sato <yusukes@chromium.org> 2 12 -
trunk/WebCore/inspector/front-end/ConsoleView.js
r46732 r46886 437 437 _format: function(output, forceObjectFormat) 438 438 { 439 var type = (forceObjectFormat ? "object" : Object.type(output, InspectorController.inspectedWindow())); 439 var inspectedWindow = InspectorController.inspectedWindow(); 440 if (forceObjectFormat) 441 var type = "object"; 442 else if (output instanceof inspectedWindow.NodeList) 443 var type = "array"; 444 else 445 var type = Object.type(output, inspectedWindow); 440 446 441 447 // We don't perform any special formatting on these types, so we just
Note:
See TracChangeset
for help on using the changeset viewer.