[Webkit-unassigned] [Bug 10782] Classes should not override JSObject::toString(ExecState *)

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Sep 8 05:08:27 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10782





------- Comment #1 from opendarwin.org at mitzpettel.com  2006-09-08 05:08 PDT -------
Created an attachment (id=10454)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=10454&action=view)
Test matrix for an HTML element

This table shows the value of several expressions that (should) invoke
ToString, ToPrimitive, [[DefaultValue]], and possibly toString and valueOf.

The table shows that, assuming it follows the spec, Firefox overrides
[[DefaultValue]] so that when it's called without a hint, it does not invoke
valueOf.

Classes that currently override JSObject::toString() are DOMObject, DOMNode,
JSHTMLElement, Window, FrameArray, Location, Selection and History.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list