[Webkit-unassigned] [Bug 48739] New: Web Inspector: [JSC] use constructor.name as a display name for objects that are non-DOM bindings..
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 31 15:14:16 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=48739
Summary: Web Inspector: [JSC] use constructor.name as a display
name for objects that are non-DOM bindings..
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: pfeldman at chromium.org
CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
pmuellr at yahoo.com, joepeck at webkit.org,
pfeldman at chromium.org, yurys at chromium.org,
bweinstein at apple.com, apavlov at chromium.org,
loislo at chromium.org
Evaluating
function FooBar() {}; var fooBar = new FooBar(); fooBar;
in console gives
> Object
should give
> FooBar
Problem is that InjectedScript._className is wrong. It uses Object.prototype.toString unconditionally for JSC, whereas it could use constructor.name for non-DOM binding objects.
--
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