[Webkit-unassigned] [Bug 28666] New: Inspector: REGRESSION Formatting Function in Console is Abbreviated Too Often
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Aug 23 00:25:18 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28666
Summary: Inspector: REGRESSION Formatting Function in Console
is Abbreviated Too Often
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: joepeck at webkit.org
CC: timothy at hatcher.name, aroben at apple.com,
pfeldman at chromium.org
Current Behavior:
> Math.sin
function sin() {
> var o = { a: Math.sin }
undefined
> o
Object
a: function sin() {
> o.a
function sin() {
Expected Behavior: (From Safari 4.0.3)
> Math.sin
function sin() {
[native code]
}
> var o = { a: Math.sin }
undefined
> o
Object
a: function sin() {
> o.a
function sin() {
[native code]
}
The current behavior abbreviates too often (in fact all the time).
Specifically when setting the "description" in
InjectedScript.createProxyObject. Changing the Object.describe() call inside
createProxyObject makes all of the examples above the unabbreviated style.
Should abbreviation move out of Object.describe() and instead be used right
before showing in the UI?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list