Bug 94533
| Summary: | [JSC] expose object inner properties to debugger | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Peter Rybin <prybin> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | fpizlo, ggaren, mark.lam |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Peter Rybin
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Peter Rybin
Date object also has primitive value, but its type is unspecified and that's why this bug doesn't require it.
Peter Rybin
Fully implemented by https://bugs.webkit.org/show_bug.cgi?id=94397
Timothy Hatcher
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();
}
Peter Rybin
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();
> }