Bug 141635

Summary: Web Inspector: Improved Console Support for Bound Functions
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix timothy: review+

Description Joseph Pecoraro 2015-02-16 00:10:36 PST
* SUMMARY
Improved Console Support for Bound Functions

Bound functions have internal state that would be useful to show in the Inspector:

Table 28 — Internal Slots of Exotic Bound Function Objects

[[BoundTargetFunction]]
  - Callable Object
  - The wrapped function object.

[[BoundThis]]
  - Any
  - The value that is always passed as the this value when calling the wrapped function.

[[BoundArguments]]
  - List of Any
  - A list of values whose elements are used as the first arguments to any call to the wrapped function.
Comment 1 Radar WebKit Bug Importer 2015-02-16 00:11:34 PST
<rdar://problem/19843167>
Comment 2 Joseph Pecoraro 2015-02-16 14:07:06 PST
Created attachment 246681 [details]
[PATCH] Proposed Fix
Comment 3 Joseph Pecoraro 2015-02-17 12:18:27 PST
http://trac.webkit.org/changeset/180236