Bug 145661

Summary: Web Inspector: Class constructor appearing as Object Tree property does not include parameters
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: DoNotImportToRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Joseph Pecoraro
Reported 2015-06-04 14:43:58 PDT
* SUMMARY Class constructor appearing as Object Tree property does not include parameters. * TEST <script> var MyClass = class MyClass { constructor(name) {} }; console.dir(new MyClass); </script> * STEPS TO REPRODUCE 1. Inspect test page 2. Expand MyClass's prototype => "constructor" should show "function(name)" instead shows just "function()"
Attachments
[PATCH] Proposed Fix (11.00 KB, patch)
2015-06-04 14:48 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2015-06-04 14:48:41 PDT
Created attachment 254302 [details] [PATCH] Proposed Fix
WebKit Commit Bot
Comment 2 2015-06-04 21:34:02 PDT
Comment on attachment 254302 [details] [PATCH] Proposed Fix Clearing flags on attachment: 254302 Committed r185237: <http://trac.webkit.org/changeset/185237>
WebKit Commit Bot
Comment 3 2015-06-04 21:34:05 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.