[Webkit-unassigned] [Bug 30962] Use Object#toString to render object name in console and object tree
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 3 09:47:10 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=30962
--- Comment #2 from Dan Dean <danwdean at gmail.com> 2009-11-03 09:47:09 PDT ---
(In reply to comment #1)
> We could do this. Right now we avoid it since some default toString methods are
> less than desirable (string, array to name a couple.)
I agree with you on the native types. I think the current behavior should
remain for String, Array, Number, Boolean and RegExp objects. Probably a couple
others too, like HTMLElement...
This functionality is very useful for custom objects, though I understand how
the implementation could be rather complex.
--
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