Bug 94533 - [JSC] expose object inner properties to debugger
Summary: [JSC] expose object inner properties to debugger
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-20 15:00 PDT by Peter Rybin
Modified: 2012-10-11 16:41 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Rybin 2012-08-20 15:00:39 PDT
In JavaScript several objects have hidden properties, namely: Boolean, Number and String have "[[PrimitiveValue]]" and bound function has "[[BoundThis]]", "[[TargetFunction]]" and "[[BoundArgs]]". While the language doesn't provide any explicit access to this properties, debugger should expose it as it might be a valuable piece of data.
In debug API there should be a way to access this inner context.
Comment 1 Peter Rybin 2012-08-20 15:00:57 PDT
Date object also has primitive value, but its type is unspecified and that's why this bug doesn't require it.
Comment 2 Peter Rybin 2012-10-10 10:35:00 PDT
Fully implemented by https://bugs.webkit.org/show_bug.cgi?id=94397
Comment 3 Timothy Hatcher 2012-10-10 12:37:21 PDT
Wrong, this is the [JSC] version of that bug. Note the FIXME in the patch attached to the bug you linked:

JSValue JSInjectedScriptHost::getInternalProperties(ExecState*) 
{ 
    // FIXME: implement this. https://bugs.webkit.org/show_bug.cgi?id=94533 
    return jsUndefined(); 
}
Comment 4 Peter Rybin 2012-10-11 10:08:48 PDT
Thanks a lot Timothy. I completely overlooked [JSC] marker and I took it for the real obsolete bug I used to have about it.

(In reply to comment #3)
> Wrong, this is the [JSC] version of that bug. Note the FIXME in the patch attached to the bug you linked:
> 
> JSValue JSInjectedScriptHost::getInternalProperties(ExecState*) 
> { 
>     // FIXME: implement this. https://bugs.webkit.org/show_bug.cgi?id=94533 
>     return jsUndefined(); 
> }