Bug 141635 - Web Inspector: Improved Console Support for Bound Functions
Summary: Web Inspector: Improved Console Support for Bound Functions
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-02-16 00:10 PST by Joseph Pecoraro
Modified: 2015-02-17 12:18 PST (History)
7 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (7.96 KB, patch)
2015-02-16 14:07 PST, Joseph Pecoraro
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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