Closed
Bug 553106
Opened 16 years ago
Closed 10 years ago
Allow "duck typing" on COWs
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: mrbkap, Unassigned)
Details
Attachments
(1 file)
|
205 bytes,
text/html
|
Details |
It would be useful to allow content to do duck typing or capabilities type tests:
if (cow.feature) {
...cow.feature()...
}
right now, the test throws... These properties should return undefined and not be "in" the cow (i.e. "nonExposedFeature in cow" should return false).
| Reporter | ||
Comment 1•15 years ago
|
||
This testcase should do toSource.
| Reporter | ||
Comment 2•10 years ago
|
||
All the COWs went to the slaughterhouse.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•