Closed Bug 838228 Opened 11 years ago Closed 11 years ago

toString on an Xray for an interface object should stringify like Function.prototype.toString

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: peterv, Assigned: peterv)

Details

Attachments

(1 file)

      No description provided.
Attached patch v1Splinter Review
Attachment #710256 - Flags: review?(bzbarsky)
Ugh, I also added:

+  // The value to return for toString() on this interface or interface prototype
+  // object.
   const char* mToString;
Comment on attachment 710256 [details] [diff] [review]
v1

r=me, but please add a test?
Attachment #710256 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/0c9b624f525f
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: