[Webkit-unassigned] [Bug 30962] New: Use Object#toString to render object name in console and object tree
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 30 13:43:37 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30962
Summary: Use Object#toString to render object name in console
and object tree
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: danwdean at gmail.com
I find it very useful that Firebug uses the toString method of an object to
render the identifier of an object in all JS object inspections. I would love
to see this bit of functionality in the WebKit Web Inspector.
Example:
console.log({
toString: function() {
return "[object MyAwesomeObject]";
}
});
Firebug Console:
--> MyAwesomeObject
WebKit Console:
--> Object
--
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