WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
94533
[JSC] expose object inner properties to debugger
https://bugs.webkit.org/show_bug.cgi?id=94533
Summary
[JSC] expose object inner properties to debugger
Peter Rybin
Reported
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Peter Rybin
Comment 1
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.
Peter Rybin
Comment 2
2012-10-10 10:35:00 PDT
Fully implemented by
https://bugs.webkit.org/show_bug.cgi?id=94397
Timothy Hatcher
Comment 3
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(); }
Peter Rybin
Comment 4
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(); > }
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug