Closed
Bug 273438
Opened 20 years ago
Closed 20 years ago
createInstance of calIEvent returns the same object if called twice
Categories
(Calendar :: Internal Components, defect)
Calendar
Internal Components
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mvl, Assigned: shaver)
Details
testcase (for xpcshell):
var e1 =
Components.classes["@mozilla.org/calendar/event;1"].createInstance(Components.interfaces.calIEvent);
var e2 =
Components.classes["@mozilla.org/calendar/event;1"].createInstance(Components.interfaces.calIEvent);
dump(e1==e2?"Failed":"Passed"); dump("\n");
I get 'Failed', but think it should say 'Passed'
The result is that if you set the id of one event, the id of the other one is
changed as well.| Assignee | ||
Comment 1•20 years ago
|
||
It should indeed say passed. I just checked in a fix that now WFM. Nice catch; we clearly need some more test suites. =)
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
QA Contact: vladimir → base
You need to log in
before you can comment on or make changes to this bug.
Description
•