Bug 59105

Summary: Web Inspector: fix calls to WebInspector.ObjectPropertiesSection constructor
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch pfeldman: review+

Andrey Kosyakov
Reported 2011-04-21 08:24:00 PDT
Many calls to WebInspector.ObjectPropertiesSection() are missing one of the arguments (apparently, empty placeholder). This results in "true" being shown for objects with no properties (i.e. in case when object's __proto__ === null).
Attachments
patch (4.01 KB, patch)
2011-04-21 09:05 PDT, Andrey Kosyakov
pfeldman: review+
Andrey Kosyakov
Comment 1 2011-04-21 09:05:18 PDT
Pavel Feldman
Comment 2 2011-04-21 09:08:52 PDT
Comment on attachment 90544 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=90544&action=review > Source/WebCore/inspector/front-end/ConsoleView.js:600 > + elem.appendChild(new WebInspector.ObjectPropertiesSection(obj, obj.description, null, null, false).element); Just trim the call site here and in all changes below.
Andrey Kosyakov
Comment 3 2011-04-21 09:57:27 PDT
Note You need to log in before you can comment on or make changes to this bug.